juke-fr/.README.template.md

40 lines
908 B
Markdown
Raw Permalink Normal View History

## instructioms
![jinx the cat my beolved](components/assets/jinx.png)
2023-01-17 18:27:48 +01:00
### repository
2023-06-08 05:39:39 +02:00
the latest automatic release is always on https://juke.fr
2023-01-17 18:27:48 +01:00
```bash
$ git clone https://code.juke.fr/kay/juke-fr.git
2023-06-10 12:28:07 +02:00
$ npm i
2023-06-10 12:28:07 +02:00
$ npm run dev
```
### test suite
playwright is used for testing
```bash
2023-06-10 12:28:07 +02:00
$ npm run test:setup # only needed once to download the browsers
2023-06-10 12:28:07 +02:00
$ npm run test
2023-01-17 18:27:48 +01:00
```
playwright is cool because it gives you traces with screenshots you can go through step by step so yeah
### tested upgrade
the test suite can be used with npm-check-updates to mass upgrade the node modules and make sure stuff still (at least somewhat) works
2023-06-10 16:30:18 +02:00
might want to disable a couple browsers and only leave 1 for it to be faster
```bash
2023-06-10 12:28:07 +02:00
$ npm run tested-upgrade
```
2023-06-07 08:52:24 +02:00
it will upgrade all the packages then run the test and do them one by one incrementally if that fails and not do any of the ones that makes the tests fail