chore: rename docusaurus-2-website package + refactor scripts (#5397)

This commit is contained in:
Sébastien Lorber 2021-08-20 18:11:13 +02:00 committed by GitHub
parent 8e1cde135c
commit 631c4685fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 38 additions and 38 deletions

View file

@ -57,7 +57,7 @@ yarn install
```sh
# This will build all the packages and publish them in a local Verdaccio npm registry
# and then initialize a new website in the `test-website` directory using those locally published packages
yarn test:build:v2
yarn test:build:website
# Now you can test the site in dev/prod mode
cd test-website
@ -103,7 +103,7 @@ yarn changelog --from v2.0.0-beta.0
### 4. Cut a new version of the docs
```sh
yarn workspace docusaurus-2-website docusaurus docs:version 2.0.0-beta.0
yarn workspace website docusaurus docs:version 2.0.0-beta.0
```
Test running the website with the new version locally.