You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project currently does not enforce a specific Node.js version or pnpm version. This can lead to inconsistencies when different developers or CI environments use different versions of Node.js or pnpm. Also it's worth to mention, in newest version of node/pnpm i'm unable to run it locally
Proposal
Add an engines field to the package.json to specify the Node.js and pnpm versions. Additionally, create a .npmrc file with engine-strict=true to enforce these versions.
Benefits
This will help ensure consistency across different environments and prevent issues that could arise from version mismatches.
The text was updated successfully, but these errors were encountered:
krekosiewicz
changed the title
Maintenance: Add .npmrc file to enforce Node.js and pnpm versions
fix: Add .npmrc file to enforce Node.js and pnpm versions
Aug 22, 2024
Summary
The project currently does not enforce a specific Node.js version or pnpm version. This can lead to inconsistencies when different developers or CI environments use different versions of Node.js or pnpm. Also it's worth to mention, in newest version of node/pnpm i'm unable to run it locally
Proposal
Add an
engines
field to thepackage.json
to specify the Node.js and pnpm versions. Additionally, create a.npmrc
file withengine-strict=true
to enforce these versions.Benefits
This will help ensure consistency across different environments and prevent issues that could arise from version mismatches.
The text was updated successfully, but these errors were encountered: