Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add .npmrc file to enforce Node.js and pnpm versions #115

Open
krekosiewicz opened this issue Aug 22, 2024 · 0 comments
Open

fix: Add .npmrc file to enforce Node.js and pnpm versions #115

krekosiewicz opened this issue Aug 22, 2024 · 0 comments

Comments

@krekosiewicz
Copy link

krekosiewicz commented 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 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.

@krekosiewicz 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
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

No branches or pull requests

1 participant