diff --git a/README.md b/README.md index 6a6dcb7..447f6c0 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ can peek at the opinions baked into this [here](./DESIGN_DECISIONS.md). ## Development -This uses `corepack`, which comes bundled with `node>=16` to manage which Yarn version to use. +This uses [Corepack](https://github.com/nodejs/corepack), which comes bundled with `node>=16` to manage which Yarn version to use. -To get started, just `corepack enable` before using `yarn` commands. +To get started, just `corepack enable` before using `yarn` commands. You can also jump in by running `. +script/bootstrap`, which will select the right version of Node, enable Corepack and install devDependencies. diff --git a/script/bootstrap b/script/bootstrap new file mode 100644 index 0000000..0163eed --- /dev/null +++ b/script/bootstrap @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +nvm use && corepack enable && yarn