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:
Marc 2023-04-13 22:02:37 -04:00
parent cab7505672
commit 4343402a04
Signed by: marc
GPG key ID: 048E042F22B5DC79
2 changed files with 6 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
#!/usr/bin/bash
nvm use && corepack enable && yarn