Joshua Chen
e101acd132
chore: various internal fixes ( #6761 )
2022-02-25 23:18:08 +08:00
Joshua Chen
39b66d82ef
feat(core): rework swizzle CLI ( #6243 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-25 14:13:15 +01:00
Joshua Chen
dcbf9f644e
chore: upgrade docsearch-react to v3 stable, bump dependencies ( #6752 )
...
* chore: upgrade dependencies
* revert
* validation
* fix blog
* reformat
2022-02-24 19:39:32 +08:00
Joshua Chen
47c9a37c5f
chore: upgrade dependencies ( #6715 )
...
* chore: upgrade dependencies
* upgrade Node
2022-02-19 11:47:44 +08:00
Joshua Chen
67918e35e2
refactor: convert CLI entry points to ESM; migrate create-docusaurus to ESM ( #6661 )
...
* refactor: convert CLI entry points to ESM
* fix
* fix
* fix
* fix!
* create-docusaurus ESM
* fix lock
* final touchups
* fix lodash
* fix
* use lodash
* fix hasYarn
2022-02-16 23:00:35 +08:00
Joshua Chen
0c7e592d34
chore: upgrade dependencies ( #6660 )
...
* chore: upgrade dependencies
* fix types
2022-02-12 15:29:40 +08:00
Joshua Chen
da9075105a
refactor(module-aliases): remove react-helmet dependency ( #6658 )
2022-02-11 13:08:08 +08:00
Joshua Chen
d2574b287f
fix: remove more peer dependency warnings ( #6615 )
...
* fix: remove more peer dependency warnings
* fixes
* fixes
* fix
* remove more
2022-02-05 17:46:01 +08:00
Joshua Chen
919f1600c2
refactor: remove Babel plugins that are included in preset-env ( #6614 )
2022-02-05 16:55:40 +08:00
seyoon20087
a615ab3999
feat(core): use react-helmet-async ( #6306 )
...
* Use React Strict Mode
Even though Strict Mode is not required a WARNING icon now displays
on all components that do not use React.StrictMode on React DevTools extension.
Signed-off-by: Shinwon Elizabeth Yoon <24852454+seyoon20087@users.noreply.github.com>
* Utilize react-helmet-async instead of react-helmet
react-helmet is NOT thread safe, as explained in https://open.nytimes.com/the-future-of-meta-tag-management-for-modern-react-development-ec26a7dc9183#fdc2
Therefore, it's better if react-helmet-async is utilized instead of react-helmet.
Even though react-helmet-async is being utilized, most users will not require any code changes to @docusaurus/Head since it uses the same API as react-helmet.
Signed-off-by: Shinwon Elizabeth Yoon <24852454+seyoon20087@users.noreply.github.com>
* Include HelmetProvider inside client entry
I forgot to do this before.
Signed-off-by: Shinwon Elizabeth Yoon <24852454+seyoon20087@users.noreply.github.com>
* format
* fix TS
* address reviews
* Remove forked react-loadable package in favor of @react-loadable/revised
Both unforked react-loadable and @docusaurus/react-loadable uses legacy React APIs.
However, @react-loadable/revised (https://github.com/react-loadable/revised ) is actively maintained and widely used in production, thus replaced with this package.
Signed-off-by: Shinwon Elizabeth Yoon <24852454+seyoon20087@users.noreply.github.com>
* remove unused comma
* Address reviews from https://github.com/facebook/docusaurus/pull/6306#pullrequestreview-864745191
Signed-off-by: Shinwon Elizabeth Yoon <24852454+seyoon20087@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-02-02 14:52:44 +08:00
Joshua Chen
661bc32402
chore(deps): bump all dependencies; regenerate lockfile ( #6580 )
2022-02-02 13:00:31 +08:00
dependabot[bot]
d8eac86775
chore(deps-dev): bump lint-staged from 12.1.7 to 12.3.3 ( #6535 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 12.1.7 to 12.3.3.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v12.1.7...v12.3.3 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 11:53:10 +08:00
dependabot[bot]
83a4724e15
chore(deps): bump sitemap from 7.1.0 to 7.1.1 ( #6534 )
...
Bumps [sitemap](https://github.com/ekalinin/sitemap.js ) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/ekalinin/sitemap.js/releases )
- [Changelog](https://github.com/ekalinin/sitemap.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ekalinin/sitemap.js/compare/7.1.0...7.1.1 )
---
updated-dependencies:
- dependency-name: sitemap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 11:52:10 +08:00
dependabot[bot]
1c8005d99f
chore(deps): bump terser-webpack-plugin from 5.3.0 to 5.3.1 ( #6577 )
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.3.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: terser-webpack-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 11:48:56 +08:00
Joshua Chen
2553f1fb5a
refactor: improve internal typing ( #6507 )
...
* refactor: improve internal typing
* fix
* fix test
2022-01-29 22:58:40 +08:00
Joshua Chen
58e07a6796
test: add test for readOutputHTMLFile ( #6506 )
2022-01-29 18:10:46 +08:00
dependabot[bot]
9af7aae9e2
chore(deps): bump simple-get from 4.0.0 to 4.0.1 ( #6497 )
...
Bumps [simple-get](https://github.com/feross/simple-get ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases )
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: simple-get
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-29 11:35:10 +08:00
Nick Schonning
bcb15336bf
chore: fix Stylelint globs for editor support ( #6476 )
...
* chore: expand Stylelint globs
* uninstall plugins
* revert stylelint bump
* fix lock
* better ignore
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-28 12:02:16 +08:00
Joshua Chen
f6ff6474bc
feat(website): new plugin to load CHANGELOG and render as blog ( #6414 )
...
* feat(website): new plugin to load CHANGELOG and render as blog
* use CJS
* move footer links
* better design
* fixes
* correctly order posts
* add authors
* Add axios
* Update styles
* oops
* oops
* add expand button
* back to index page link
* fix styles
* add feed options
* fix
* fix
* Add fallback
* fix
* fixes
2022-01-27 23:17:31 +08:00
Joshua Chen
76a8d5f38a
fix(content-blog): generate feed by reading build output ( #6454 )
2022-01-26 16:54:15 +01:00
Joshua Chen
ebd5340205
chore: various improvements to repo setup ( #6471 )
...
* chore: various improvements to repo setup
* fix again
* fix
2022-01-26 14:24:15 +08:00
Joshua Chen
83fb3a825f
refactor: clean up dependencies ( #6470 )
2022-01-26 13:12:03 +08:00
Joshua Chen
59022c5eea
docs: add advanced guides ( #6296 )
...
* docs: add advanced guides
* complete
* fix link
* Create architecture
* use png
* explanations
* more text
* process.env.NODE_ENV
* typo
* Add image zoom
* nit
* nit
* reorganize
* fix links
* fix links
* reorganize
* elaborate on presets
* fix
* routing docs
* ssr section
* more content
* complete SSR guide
* pathname://
* improvements
* document executionenvironment
* reformat
* final tweaks!
* avoid slug
* oops
2022-01-25 11:29:18 +08:00
Nick Schonning
521eb119a7
chore: add cSpell for spell checking ( #6456 )
...
* chore: Add cSpell for spell checking
* chore: exclude map files and remove dups
* chore: exclude more binary files
* chore: remove MD headings
* Update .cspell.json
* fix a few spellings
* fix more
* fix
Signed-off-by: Joshua Chen <sidachen2003@gmail.com>
* fix a few
* oops
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-25 09:40:02 +08:00
Joshua Chen
e40cafccd5
chore: enable stylelint standard config ( #6442 )
...
* chore: enable stylelint standard config
* remove empty line
* fix
2022-01-22 21:26:35 +08:00
Joshua Chen
456ffbd330
chore: remove some unused dependencies from package.json ( #6440 )
2022-01-22 19:47:35 +08:00
Joshua Chen
e5801e49f6
feat(mdx-loader): read image dimensions when processing Markdown ( #6339 )
2022-01-19 12:45:14 +01:00
Joshua Chen
52db7320a6
chore: enable eslint-plugin-jest ( #6375 )
2022-01-16 15:53:23 +08:00
Joshua Chen
14bec7cf11
feat(stylelint-copyright): autofix, stricter config ( #6374 )
...
* feat(stylelint-copyright): autofix, stricter config
* revert TS
* oops
2022-01-16 11:34:10 +08:00
Nick Schonning
284c6166e7
chore: add baseline stylelint rules ( #6372 )
...
* chore: add baseline stylelint rules
Use the Prettier config so not to conflict with rules.
Add the Stylelint baseline recommended rules to catch additional lissues
* enable those two rules
* ooops
* refactor scripts
* revert script changes
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-16 09:42:58 +08:00
Nick Schonning
9f9a96dc80
chore: upgrade lint-staged and globs ( #6369 )
2022-01-15 16:33:09 +08:00
dependabot[bot]
051463fec9
chore(deps): bump querystring from 0.2.0 to 0.2.1 ( #6355 )
...
Bumps [querystring](https://github.com/Gozala/querystring ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/Gozala/querystring/releases )
- [Changelog](https://github.com/Gozala/querystring/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Gozala/querystring/compare/v0.2.0...v0.2.1 )
---
updated-dependencies:
- dependency-name: querystring
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 13:48:56 +08:00
dependabot[bot]
efd767be64
chore(deps): bump workbox-strategies from 5.1.4 to 6.4.2 ( #6362 )
...
Bumps [workbox-strategies](https://github.com/googlechrome/workbox ) from 5.1.4 to 6.4.2.
- [Release notes](https://github.com/googlechrome/workbox/releases )
- [Commits](https://github.com/googlechrome/workbox/compare/v5.1.4...v6.4.2 )
---
updated-dependencies:
- dependency-name: workbox-strategies
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 13:48:42 +08:00
dependabot[bot]
09a6ae2c40
chore(deps-dev): bump @types/node from 14.18.5 to 17.0.8 ( #6354 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.18.5 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 13:47:58 +08:00
dependabot[bot]
7512e4c0b3
chore(deps): bump copy-webpack-plugin from 9.1.0 to 10.2.0 ( #6350 )
...
* chore(deps): bump copy-webpack-plugin from 9.1.0 to 10.2.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin ) from 9.1.0 to 10.2.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v9.1.0...v10.2.0 )
---
updated-dependencies:
- dependency-name: copy-webpack-plugin
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix
* fix
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-15 13:47:39 +08:00
dependabot[bot]
95955ecfb0
chore(deps): bump css-loader from 5.2.7 to 6.5.1 ( #6353 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.7 to 6.5.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.7...v6.5.1 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 10:30:47 +08:00
dependabot[bot]
b048151a9b
chore(deps-dev): bump concurrently from 6.5.1 to 7.0.0 ( #6361 )
...
Bumps [concurrently](https://github.com/open-cli-tools/concurrently ) from 6.5.1 to 7.0.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases )
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.5.1...v7.0.0 )
---
updated-dependencies:
- dependency-name: concurrently
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 10:28:29 +08:00
dependabot[bot]
8afecb4254
chore(deps-dev): bump lerna from 3.22.1 to 4.0.0 ( #6359 )
...
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna ) from 3.22.1 to 4.0.0.
- [Release notes](https://github.com/lerna/lerna/releases )
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md )
- [Commits](https://github.com/lerna/lerna/commits/v4.0.0/core/lerna )
---
updated-dependencies:
- dependency-name: lerna
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 10:21:49 +08:00
dependabot[bot]
f09196adaa
chore(deps): remove hast-util-to-text from dependencies ( #6347 )
...
* chore(deps): bump hast-util-to-text from 2.0.1 to 3.1.1
Bumps [hast-util-to-text](https://github.com/syntax-tree/hast-util-to-text ) from 2.0.1 to 3.1.1.
- [Release notes](https://github.com/syntax-tree/hast-util-to-text/releases )
- [Commits](https://github.com/syntax-tree/hast-util-to-text/compare/2.0.1...3.1.1 )
---
updated-dependencies:
- dependency-name: hast-util-to-text
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* remove dep
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-15 10:13:04 +08:00
Joshua Chen
eaab20cd1a
chore: remove Intl polyfills for Jest ( #6364 )
...
* chore: remove Intl polyfills for Jest
* Add node versions
2022-01-15 09:56:10 +08:00
Sébastien Lorber
4004f5b68b
chore: regenerate yarn.lock ( #6341 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-14 15:52:12 +01:00
Pranab Das
4ebb1ca8c8
chore: upgrade rehype-katex with ESM support, update docs ( #6320 )
...
* chore: upgrade rehype-katex to latest version with ESM support and update the docs
* Update documentation to reflect ESM upgrade is currently optional
* rewording
* final tweaks
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-14 09:06:10 +08:00
dependabot[bot]
7e3db307ac
chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 ( #6332 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.5 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 15:26:27 +08:00
Nick Schonning
291a2d602e
chore: upgrade to Husky 7 ( #6304 )
...
- Upgrade to Husky 7
- Update install hook to "prepare"
- Remove parallel/CI packages
2022-01-10 17:41:02 +08:00
Joshua Chen
4fad1ce0cd
misc: convert all internal scripts to ESM ( #6286 )
...
* misc: convert all internal scripts to ESM
* fixes
* fix
* fixes
* fix!
* complete eslint
* more move
* fix!
* This looks better?
* Final ones
2022-01-08 12:59:28 +08:00
Reece Dunham
c08e247b56
refactor(core): use native types from webpack-dev-server ( #6279 )
...
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-01-06 23:05:03 +08:00
Joshua Chen
cb1aa30286
refactor: enforce type import specifiers ( #6230 )
...
* refactor: enforce type import specifiers
* fix
* Upgrade esbuild
* Fix (haha)
2021-12-31 21:17:09 +08:00
Joshua Chen
24d65d9bdd
refactor(utils): reorganize functions; move authors file resolution to utils ( #6229 )
...
* refactor(utils): reorganize functions; move authors file resolution to utils
* More refactor
2021-12-31 11:55:42 +08:00
Pranab Das
e4f9ab072c
chore: upgrade rehype-katex and katex stylesheet for website ( #6172 )
...
* chore: Update rehype-katex and katex stylesheet for doc website
* Reformat
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-23 14:24:56 +08:00
Sébastien Lorber
8f8aa65446
fix(core): update webpack-dev-server + fix deprecation warning ( #6168 )
2021-12-22 20:05:14 +01:00