- Added .pnpmrc for pnpm 10 configuration, enabling peer dependencies and lifecycle scripts. - Updated package.json to reflect pnpm version change to 10.11.1 and added onlyBuiltDependencies. - Update pipelines to reflect pnpm version update to 10.11.1 ## Upgrading your pnpm version Now to upgrade your `pnpm` version you can run `pnpm migrate-to-pnpm-version 10`. Which would upgrade your `pnpm` and it will run the upgrade script. Later on if you want to upgrade to pnpm v11 you can run `pnpm migrate-to-pnpm-version 11`. Additionally, if you just want to upgrade to the version that is inside of `package.json` you would run `pnpm migrate-to-pnpm-version` without passing in a major version.
13 lines
474 B
Plaintext
13 lines
474 B
Plaintext
# Enable pre/post-install which are disabled by default. Installing peer deps which is also disabled by default
|
|
auto-install-peers=true
|
|
enable-pre-post-scripts=true
|
|
|
|
# Enable lifecycle scripts for specific packages that require them (like post-install)
|
|
enable-scripts=@napi-rs/canvas,sharp,@swc/core,@swc/cli,@swc-node/register,esbuild
|
|
|
|
# Compatibility
|
|
strict-peer-dependencies=false
|
|
lockfile-version-strict=false
|
|
|
|
# Consistency across environments
|
|
use-node-version=20.19.0 |