-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: replace npm in engine and deps with pnpm
- Loading branch information
mohanraj-r
committed
May 3, 2022
1 parent
a571abd
commit d050324
Showing
4 changed files
with
152 additions
and
176 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# https://docs.npmjs.com/cli/v8/using-npm/config | ||
# https://pnpm.io/npmrc | ||
|
||
# TODO: Can this be used instead of or in addition to nvm in CI and local dev | ||
# pnpm will automatically install the specified version of Node.js and use it for running pnpm run commands or the pnpm node command | ||
# use-node-version=16.13.0 | ||
|
||
# Save dependencies to package.json with an exact version rather than using npm's default semver range operator | ||
save-exact=true | ||
|
||
# Refuse to install (or even consider installing) any package that claims to not be compatible with the current Node.js version. | ||
engine-strict=true | ||
|
||
# If a package cannot be installed because of overly strict peerDependencies that collide, it provides a way to move forward resolving the situation. | ||
# TODO (debug): | ||
# npm ERR! While resolving: [email protected] | ||
# npm ERR! Found: @typescript-eslint/[email protected] | ||
legacy-peer-deps=true | ||
# local packages from the workspace are preferred over packages from the registry, even if there is a newer version of the package in the registry | ||
prefer-workspace-packages=true | ||
|
||
# Smaller on disk than lockfile version 2, but not interoperable with older npm versions. Ideal if all users are on npm version 7 and higher. | ||
lockfile-version=3 | ||
auto-install-peers=true |
This file contains 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
Oops, something went wrong.