Skip to content

Commit

Permalink
feat(infra): inform pnpm users “Gallium” runtime
Browse files Browse the repository at this point in the history
> If you want to prevent contributors of your project from adding new
> incompatible dependencies, use `node-version` and `engine-strict` in
> a `.npmrc` file at the root of the project.

Refs: https://pnpm.io/npmrc#node-version

This way, even if someone is using Node.js v18 runtime & toolchain,
they will not be able to install a new dependency that doesn't support
our Node.js v16.13.0 (“Gallium” runtime & toolchain).

Refs: OpenINF#64
  • Loading branch information
DerekNonGeneric authored Aug 25, 2022
1 parent 2a0b32a commit 83ebe7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
save-exact=true
node-version=16.13.0
engine-strict=true

0 comments on commit 83ebe7a

Please sign in to comment.