From ef47cc5b6fd72ef643400012ea1245fefc7c028b Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 10 Oct 2022 20:07:59 +0800 Subject: [PATCH 1/2] chore: Add volta --- CONTRIBUTING.md | 6 ++++++ package.json | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e5a029b582..c0fbea5445 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,12 @@ Below link will help you making a copy of the repository in your local system. https://docs.github.com/en/get-started/quickstart/fork-a-repo +## Requirements + +- [volta](https://volta.sh/) to manage node versions. +- [Node.js](https://nodejs.org/en/). `volta install node` +- [pnpm](https://pnpm.io/) package manager. `volta install pnpm` + ## Development Installation ```bash diff --git a/package.json b/package.json index 166d23636d..c19028c529 100644 --- a/package.json +++ b/package.json @@ -151,5 +151,8 @@ "sideEffects": [ "**/*.css", "**/*.scss" - ] + ], + "volta": { + "node": "18.5.0" + } } From 1fea43e125092cb1bf10a504f378525efe910dfc Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 10 Oct 2022 20:10:23 +0800 Subject: [PATCH 2/2] chore: Set node v16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c19028c529..f7a538d3a9 100644 --- a/package.json +++ b/package.json @@ -153,6 +153,6 @@ "**/*.scss" ], "volta": { - "node": "18.5.0" + "node": "16.17.1" } }