* feat(v2): Support swizzling TypeScript components
* Add tsc --noEmit to tsc script in theme-classic
Now everything can pass the type checker! (although still a lot of any)
* Add tsconfig and types.d.ts to website
Improve developer experience.
As an example, I converted NotFound to tsx
* Apply type annotation suggestions
* Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined
* Fix tsc
* Add module declaration for @theme-original/*
* Move babel cli to root package.json
* improve markdown parsing errors by adding file path to error
* typo commit
* Add default nav item position to right (as v1)
* improve error when sidebar references unexisting document
* parseMarkdownFile: improve errors by providing hint about using "" to avoid parsing errors, if using special characters
* improve subcategory migration error for Unknown sidebar item type
* improve unrecognizedFields error
* typo
* fix inline snapshots
* improve the migration docs
* improve the migration docs
* improve migration doc
* Update migrating-from-v1-to-v2.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* wip embed metadata to content
* embed metadata in blog as well
* refactor
* update test
* yarn lock
* avoid overwriting file everytime we run new nodejs process
* nits
* perf(v2): reduce bundle size significantly with super short chunk name and registry
* changelog
* use hash:8 as id for better long term caching
* even shorter filename. slice contenthash
* refactor(v2): add typing for docusaurus/core
* wip: last working
* refactor(v2): add typing for @docusaurus/core
* prettier
* dont run in parallel otherwise some are uncompiled
* nits
* more typing
* more typing
* nits
* type commands
* nits
* refactor(v2): blog data revamp
* fix(v2): fix incorrect blog total count
* misc: remove console.log
* feat(v2): export frontMatter as an object within MDX file (#1451)
* refactor. Don't confuse metadata & frontmatter
* export frontMatter in content itself
* nits
* nits name
* dont truncate first four lines in blog
* feat(v2): meta description
* add description for blog as well
* fix non-descriptive text link
* remove font awesome
* switch front-matter -> gray-matter
* v2(feat): convert blog to view-driven content queries
* feat(v2): port blog to use ContentRenderer
* misc(v2): fix test and change ContentRenderer url
* avoid chunkName collision
* avoid chunkname collision more
* fix(v2): fix content-renderer ssr problem (#1367)
* wip
* avoid chunk names collision
* ContentRenderer is a wrapper for Loadable
* convert docs and pages
* nits and rename
* rename routeModules -> modules
* remove lodash from component creator
* resolve chunk not being picked up correctly
* add comment for explanation
* small refactoring