Skip to content

Commit 969beed

Browse files
committed
chore: Update TODOs to STRONGLY Encourage Automating NPM Publishing
1 parent aef21eb commit 969beed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

TODO.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99

1010
## Repository
1111

12-
- [ ] Consider adding `Releases` to GitHub and automating the publishing of NPM Packages. (Maybe for the _next_ version? Maybe?)
12+
- [ ] Consider automating the process of publishing NPM Packages (with [provenance](https://docs.npmjs.com/generating-provenance-statements)) using GitHub Releases.
13+
- Seriously. This seems super easy. You should _definitely_ do/try this the next time you release a new package version.
14+
- https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
15+
- https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions
16+
- For the `build-packages.js` script, you might need to conditionally copy GitHub CI's `.npmrc` file to all of the workspace folders. This logic would be added to the `addNPMFilesTo()` function. (The condition is that this should only happen on CI. You can check GitHub CI's `process.env.CI` environment variable for this.) Then you can try `npm publish --workspaces --provenance --access=public` (after running the build script). But if you're unsure about how reliable the `--workspaces` option is, perhaps you can try looping through the folders on CI instead? (Let's hope that `--workspaces` works just fine...)
1317
- [ ] Consider adding some badges to our Repository's homepage (e.g., Test Coverage).
1418

1519
## `FormValidityObserver`

0 commit comments

Comments
 (0)