chore: add bootstrap script to facilitate startup (#20)
* chore: add bootstrap script to facilitate startup * docs: mention bootstrap in README
This commit is contained in:
parent
cab7505672
commit
4343402a04
2 changed files with 6 additions and 2 deletions
|
@ -22,6 +22,7 @@ can peek at the opinions baked into this [here](./DESIGN_DECISIONS.md).
|
||||||
|
|
||||||
## Development
|
## 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.
|
||||||
|
|
3
script/bootstrap
Normal file
3
script/bootstrap
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
nvm use && corepack enable && yarn
|
Reference in a new issue