layoutit-grid icon indicating copy to clipboard operation
layoutit-grid copied to clipboard

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

Open krekosiewicz opened this issue 2 years ago • 0 comments

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 avatar Aug 22 '24 13:08 krekosiewicz