Skip to content

Commit

Permalink
Add a note about manual tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
smashwilson authored and sadick254 committed Jun 3, 2021
1 parent 4446951 commit af6da3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rfcs/xxx-pretranspile.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Transpiling packages on _publish_ rather than _load_ will have great benefits fo

During the `apm publish` call, apm will invoke [`npm pack`](https://docs.npmjs.com/cli/pack) to run all standard npm lifecycle hooks and prepare a `.tar.gz` file. apm then uploads the `.tar.gz` file to atom.io, which uploads it to an S3 bucket.

The `npm version` call will still be skipped if the `--tag` is provided, so manual publishing with `apm publish --tag` will still work as it does today.

### Package installation

When a user installs a package from atom.io, atom.io first checks to see if it has a precompiled tarball in its S3 bucket. If one is found, the artifact's public URL is returned as the `dist` field in the [API response](https://flight-manual.atom.io/atom-server-side-apis/sections/atom-package-server-api/#get-apipackagespackage_nameversionsversion_name). Otherwise, the existing logic is used to return the GitHub tag tarball URL that's returned now.
Expand Down

0 comments on commit af6da3d

Please sign in to comment.