Repository navigation
feat(copy-github-files): publish to npm - #236
Merged
Merged
Conversation
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(copy-github-files): publish to npm
Makes
@streetsidesoftware/copy-github-filespublic: removesprivateand "-- Private until verified", sets itsrelease-asto1.0.0, updates its row in the rootREADME.mdpackages table, and records it instatic/published.jsonas waiting for publication ({ "trustedPublishing": false }).This PR stays as it is while it's open, so commits pushed to its branch are kept. To rebuild it from
main, close it and run the workflow. To never publish the package, set its entry instatic/published.jsononmaintofalseand close this PR.1. Check out this branch
Either command creates a local branch that tracks this PR, or resets one left over from an earlier PR:
Or with git:
2. Publish the first version by hand
From the repo root:
dist/is gitignored and must be there:pnpm install pnpm run build pnpm run build:readme cd packages/copy-github-files pnpm pack --out package.tgzpnpm trusted-publishingdoesn't ask again:npm publish package.tgz --tag alpha --provenance=false rm package.tgz pnpm exec trusted-publishing3. Commit the Trusted Publishing status
static/published.json:4. Merge this PR
Then merge the release PR. The Publish to NPM workflow publishes
1.0.0through Trusted Publishing. Then merge the PR that the Update Release Please Config workflow opens to removerelease-as.Summary