docusaurus/packages/create-docusaurus
Joshua Chen 7613ecb9ea
refactor: use TS project references instead of running tsc multiple times (#7437)
* refactor: use TS project references instead of running tsc multiple times

* deduplicate

* dedup

* eliminate --project

* add swc config

* add target
2022-05-17 15:21:44 +08:00
..
bin chore: enable import/order rule (#7418) 2022-05-14 23:39:50 +08:00
src chore: enable import/order rule (#7418) 2022-05-14 23:39:50 +08:00
templates chore: upgrade dependencies (#7436) 2022-05-17 13:11:20 +08:00
.npmignore refactor: use TS project references instead of running tsc multiple times (#7437) 2022-05-17 15:21:44 +08:00
package.json refactor: use TS project references instead of running tsc multiple times (#7437) 2022-05-17 15:21:44 +08:00
README.md feat: npm init docusaurus, yarn create docusaurus (#5635) 2021-10-07 16:06:42 +02:00
tsconfig.build.json refactor: use TS project references instead of running tsc multiple times (#7437) 2022-05-17 15:21:44 +08:00
tsconfig.json refactor: use TS project references instead of running tsc multiple times (#7437) 2022-05-17 15:21:44 +08:00

create-docusaurus

Create Docusaurus apps easily with simplified commands:

npm init docusaurus
yarn create docusaurus

Usage

Please see the installation documentation.

For maintainers

For Docusaurus maintainers, templates can be tested with:

cd `git rev-parse --show-toplevel` # Back to repo root
rm -rf test-website
yarn create-docusaurus test-website classic
cd test-website
yarn start

Note: test-website is not part of the workspace and use packages from npm.

Use the following to test the templates against local packages:

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 start