docusaurus/website/docs
Jadon N 19d2a18817
docs: npm run tsc -> npx tsc (#6978)
* Correct npm run tsc to npm run typecheck

According to this page, you should run `npm run tsc` to run `tsc` and do a type check. However, in the package.json file for Docusaurus version 2.0.0-beta.17 the command is actually `npm run typecheck`, which runs `tsc`.

This update only replaces `tsc` with `typecheck` so the npm script will run correctly.

* Recommend npx tsc for type-checking

Based on feedback for the original change to replace `npm run tsc` with `npm run typecheck`, a better solution that was suggested was to use npx to run tsc instead of an npm script. `npx tsc` should work regardless of the template/presets you installed when you installed Docusaurus.
2022-03-24 11:14:09 +08:00
..
advanced docs: editorial fixes (#6889) 2022-03-10 13:43:22 +08:00
api refactor(theme-{classic,common}): refactor ColorModeToggle + useColorMode() hook (#6930) 2022-03-18 15:28:35 +01:00
assets
guides refactor(theme-{classic,common}): change how site/page/search metadata is handled (#6925) 2022-03-18 18:53:00 +01:00
i18n
migration chore: upgrade dependencies (#6916) 2022-03-15 13:16:21 +08:00
blog.mdx feat: allow blog authors email (#6783) 2022-03-02 16:28:17 +01:00
browser-support.md
cli.md docs(cli): add info about development on github codespaces (#6883) 2022-03-10 11:22:21 +08:00
configuration.md
deployment.mdx docs: fix broken links (#6817) 2022-03-03 07:02:57 +08:00
docusaurus-core.md
installation.md docs: editorial fixes (#6889) 2022-03-10 13:43:22 +08:00
introduction.md
playground.mdx
search.md
seo.md refactor(theme-{classic,common}): change how site/page/search metadata is handled (#6925) 2022-03-18 18:53:00 +01:00
static-assets.md
styling-layout.md docs: editorial fixes (#6889) 2022-03-10 13:43:22 +08:00
swizzling.md feat(core): rework swizzle CLI (#6243) 2022-02-25 14:13:15 +01:00
typescript-support.md docs: npm run tsc -> npx tsc (#6978) 2022-03-24 11:14:09 +08:00
using-plugins.md feat(core): rework swizzle CLI (#6243) 2022-02-25 14:13:15 +01:00