build: use pnpm instead of yarn

This commit is contained in:
Johannes Loher 2023-03-23 00:47:54 +01:00
parent 5ee63fbadc
commit 4ad1b6a75e
29 changed files with 4798 additions and 8657 deletions

View file

@ -25,10 +25,10 @@ https://git.f3l.de/dungeonslayers/ds4/-/releases/permalink/latest/downloads/syst
### Prerequisites
In order to build this system, recent versions of `node` and `yarn` are
required. Most likely using `npm` also works but only `yarn` is officially
supported. We recommend using the latest lts version of `node`. If you use `nvm`
to manage your `node` versions, you can simply run
In order to build this system, recent versions of `node` and `pnpm` are
required. Most likely using `npm` or `yarn` also works but only `pnpm` is
officially supported. We recommend using the latest lts version of `node`. If
you use `nvm` to manage your `node` versions, you can simply run
```
nvm install
@ -39,7 +39,7 @@ in the project's root directory.
You also need to install the project's dependencies. To do so, run
```
yarn install
pnpm install
```
### Building
@ -47,13 +47,13 @@ yarn install
You can build the project by running
```
yarn build
pnpm build
```
Alternatively, you can run
```
yarn watch
pnpm watch
```
to watch for changes and automatically build as necessary.
@ -76,7 +76,7 @@ On platforms other than Linux you need to adjust the path accordingly.
Then run
```
yarn link-package
pnpm link-package
```
### Running the tests
@ -84,7 +84,7 @@ yarn link-package
You can run the tests with the following command:
```
yarn test
pnpm test
```
## Contributing