add npte for new packages

This commit is contained in:
Felix Roos 2022-08-14 18:05:08 +02:00
parent 0522996b7f
commit bdf2047ea1

View File

@ -34,7 +34,6 @@ Use one of the Communication Channels listed above.
If you find some weak spots in the [tutorial](https://strudel.tidalcycles.org/), If you find some weak spots in the [tutorial](https://strudel.tidalcycles.org/),
you are welcome to improve them by editing [this file](https://github.com/tidalcycles/strudel/blob/main/tutorial/tutorial.mdx). you are welcome to improve them by editing [this file](https://github.com/tidalcycles/strudel/blob/main/tutorial/tutorial.mdx).
This will even work without setting up a development environment, only a github account is required. This will even work without setting up a development environment, only a github account is required.
## Propose a Feature ## Propose a Feature
@ -52,11 +51,11 @@ Please check that it has not been reported before.
To fix a bug that has been reported, To fix a bug that has been reported,
1. check that nobody else is already fixing it and respond to the issue to let people know you're on it 1. check that nobody else is already fixing it and respond to the issue to let people know you're on it
3. fork the repository 2. fork the repository
4. make sure you've setup the project (see below) 3. make sure you've setup the project (see below)
5. hopefully fix the bug 4. hopefully fix the bug
6. make sure the tests pass 5. make sure the tests pass
7. send a pull request 6. send a pull request
## Write Tests ## Write Tests
@ -105,9 +104,18 @@ which allows developing multiple packages at the same time
To publish all packages that have been changed since the last release, run: To publish all packages that have been changed since the last release, run:
```sh ```sh
npm login
npx lerna publish npx lerna publish
``` ```
### New Packages
To add a new package, you have to publish it manually the first time, using:
```sh
cd packages/<package-name> && npm publish --access public
```
## Have Fun ## Have Fun
Remember to have fun, and that this project is driven by the passion of volunteers! Remember to have fun, and that this project is driven by the passion of volunteers!