forked from Thinkmill/manypkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise package scope and publish config with instructions
publish instructions: `atlas packages permission grant -u {{staffid}}` `yarn preconstruct build` `cd packages/cli/` `npm version {{version}}` `npm publish`
- Loading branch information
Tim Keir
committed
Sep 24, 2024
1 parent
2034c99
commit ccc6e68
Showing
2 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### Publishing a new copy of our fork | ||
|
||
Note that for versioning we should retain the original OSS version and add a suffix for any customisations we make. | ||
|
||
* If you've just pulled in downstream changes then you'd publish a new suffixed version e.g. if the OSS version is `0.21.4` then we'd use `0.21.4-1`. | ||
* If you've made a new customisation then increment the suffixed version e.g. if the current version is `0.21.4-1` then you'd use `0.21.4-2` next. | ||
|
||
To publish this Atlassian fork run the following commands: | ||
|
||
1. `atlas packages permission grant -u {{staffid}}` to grant publishing writes within Artifactory | ||
2. `yarn preconstruct build` to generate the dist | ||
3. `cd packages/cli/` to navigate into the CLI workspace | ||
4. `npm version {{version}}` to increment the version | ||
5. `npm publish` to upload to artifactory | ||
6. Discard the git diff generated for `yarn.lock` and `package-lock.json`. | ||
7. Commit the updated version number within `packages/cli/package.json`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters