From 54514a9c3ebee705ff52cd6ffed6bd9fd26590e6 Mon Sep 17 00:00:00 2001 From: krekosiewicz Date: Thu, 22 Aug 2024 16:10:43 +0200 Subject: [PATCH] fix: Add .npmrc to enforce Node.js and pnpm versions, update: package.json, README.md --- .npmrc | 2 ++ README.md | 8 +++++++- package.json | 6 +++++- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..f6ffbc1 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +# .npmrc +engine-strict=true diff --git a/README.md b/README.md index ddec93b..89fd566 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ Read more about [learning CSS Grid visually with a generator here](https://css-t These instructions will get you a copy of the project up and running on your local machine for development +### Prerequisites +Ensure you have the following versions installed on your local machine: + +Node.js: >= 14.0.0 < 17.0.0 +pnpm: 6.x.x + ### Clone the repo Use ssh @@ -80,4 +86,4 @@ Your dev server will start and be running at ## Creators -Layoutit grid is crafted with love by [Leniolabs](https://www.leniolabs.com/services/team-augmentation/?utm_source=layoutit&utm_medium=banner&utm_campaign=leniolabs&utm_content=grid_github) and a growing community of contributors. We build digital experiences with your ideas. [Get in touch!](https://www.leniolabs.com/services/team-augmentation/?utm_source=layoutit&utm_medium=banner&utm_campaign=leniolabs&utm_content=grid_github) \ No newline at end of file +Layoutit grid is crafted with love by [Leniolabs](https://www.leniolabs.com/services/team-augmentation/?utm_source=layoutit&utm_medium=banner&utm_campaign=leniolabs&utm_content=grid_github) and a growing community of contributors. We build digital experiences with your ideas. [Get in touch!](https://www.leniolabs.com/services/team-augmentation/?utm_source=layoutit&utm_medium=banner&utm_campaign=leniolabs&utm_content=grid_github) diff --git a/package.json b/package.json index de8ed06..86009b4 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,10 @@ "test:open": "cypress open", "test": "cypress run" }, + "engines": { + "node": ">=14.0.0 <17.0.0", + "pnpm": "6.x.x" + }, "dependencies": { "@stackblitz/sdk": "^1.5.3", "@vueuse/core": "^6.0.0", @@ -64,4 +68,4 @@ "pre-commit": "lint-staged" } } -} \ No newline at end of file +}