Skip to content

Commit

Permalink
Merge pull request #23709 from johnhunter/volta-corepack-incompatibility
Browse files Browse the repository at this point in the history
#23708 Add volta pin settings and duplicate packageManager setting
  • Loading branch information
ndelangen authored Aug 7, 2023
2 parents 80754e3 + 4967cf1 commit 2ccaa7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Getting started

- Ensure you have node version 16 installed (suggestion: v16.5).
Storybook is developed against a specific node version. We recommend using [Volta](https://volta.sh/) as it will automatically install the correct node and yarn version when you first use the repo. If you chose not to use Volta please ensure you you have node version 16 installed (suggestion: v16.5)

- Ensure if you are using Windows to use the Windows Subsystem for Linux (WSL).
- Run `yarn start` in the root directory to run a basic test Storybook "sandbox".

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"test": "cd code; yarn test",
"upload-bench": "cd scripts; yarn upload-bench"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"volta": {
"node": "16.20.1",
"yarn": "3.5.1"
}
}

0 comments on commit 2ccaa7d

Please sign in to comment.