Skip to content

Improve npm package installation hygiene - #3

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

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

Conversation

@microbit-grace

Copy link
Copy Markdown
Contributor

.npmrc:

  • min-release-age=7 (cooldown; @microbit/* and @microbit-foundation/* exempt) allow-git/remote/file/directory=root (block - transitive non-registry deps) strict-allow-scripts=true + engine-strict=true

package.json:

  • targetted allowScripts policy (swiftlint, fsevents)

CI workflows:

  • bump GitHub-provided actions (checkout v7, setup-node v6) grab latest v11 npm directly after setup-node
  • add npm publish cludge

.npmrc:

min-release-age=7 (cooldown; @microbit/* and @microbit-foundation/* exempt)
allow-git/remote/file/directory=root (block transitive non-registry deps)
strict-allow-scripts=true + engine-strict=true

package.json:

targetted allowScripts policy (swiftlint, fsevents)

CI workflows:

bump GitHub-provided actions (checkout v7, setup-node v6)
grab latest v11 npm directly after setup-node
Add npm publish cludge
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.

2 participants