Skip to content

Improve npm package installation security - #3

Draft
microbit-grace wants to merge 1 commit into
mainfrom
npm-update
Draft

Improve npm package installation security#3
microbit-grace wants to merge 1 commit into
mainfrom
npm-update

Conversation

@microbit-grace

Copy link
Copy Markdown
Contributor

.npmrc —added the security block (min-release-age 7 days with @microbit/* and @microbit-foundation/* excluded, allow-*=root, strict-allow-scripts, engine-strict).

package.json - Added allowScripts: { esbuild: true, fsevents: true }.

.github/workflows/build.yml — checkout@v7, setup-node@v6, node 24.x, added the global npm@11 install pinned to the public registry, replaced withmicrobit-foundation/npm-package-versioner-action@v3, and npm publish --allow-directory=all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant