feat: create official TypeScript base config @docusaurus/tsconfig (#9050)

This commit is contained in:
Sébastien Lorber 2023-06-09 15:21:46 +02:00 committed by GitHub
parent 6102a5a671
commit 012b285805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 63 additions and 18 deletions

View file

@ -35,5 +35,18 @@ cd `git rev-parse --show-toplevel` # Back to repo root
rm -rf test-website-in-workspace
yarn create-docusaurus test-website-in-workspace classic
cd test-website-in-workspace
yarn build
yarn start
```
For the TypeScript template:
```bash
cd `git rev-parse --show-toplevel` # Back to repo root
rm -rf test-website-in-workspace
yarn create-docusaurus test-website-in-workspace classic --typescript
cd test-website-in-workspace
yarn typecheck
yarn build
yarn start
```