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
Yaroslav Serhieiev
9d95d786fa
feat(theme-classic): allow stylizing doc paginator arrows ( #6053 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-21 15:55:24 +01:00
Joshua Chen
e07ebadf6c
fix: make Docusaurus PnP strict mode compatible ( #6047 )
...
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2021-12-08 14:26:24 +01:00
Joshua Chen
fb6393fdce
chore: clean up dev dependency declarations ( #6055 )
...
* chore: clean up dev dependency declarations
* Fix prettier version
2021-12-05 23:07:34 +08:00
Sébastien Lorber
cfae5d0933
feat(content-docs): sidebar category linking to document or auto-generated index page ( #5830 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Armano <armano2@users.noreply.github.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-12-03 14:44:59 +01:00
Joshua Chen
40e4ce0e68
chore: upgrade prettier; rename prettier scripts as format ( #6010 )
2021-12-01 12:33:22 +01:00
Joshua Chen
33de0cdf99
chore: upgrade netlify-cli ( #6031 )
2021-11-30 10:02:31 +08:00
Ludovico Fischer
5678911555
chore: update @svgr/webpack to version 6 ( #5958 )
...
* chore: update @svgr/webpack to version 6
* svgr changelog https://github.com/gregberge/svgr/releases
* SVGO 2 changelog https://github.com/svg/svgo/releases/tag/v2.0.0
* depend on maintained svgo version
* although svgr 6 is in alpha, it fixes a few issues
with webpack 5 (https://github.com/gregberge/svgr/commit/1a8cc98 )
and React (https://github.com/gregberge/svgr/commit/3700aba )
* see also https://github.com/facebook/docusaurus/pull/5703
* Fix config
* fix e2e test
* Fix again
* Update to stable
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-29 15:12:18 +08:00
Alexey Pyltsyn
b31044dc8a
chore: upgrade webpack-dev-server to v4.5.0 ( #5998 )
...
* chore: upgrade webpack-dev-server to v4.5.0
* Fixes after review
* remove type assertion
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-24 17:41:34 +08:00
Joshua Chen
36b2220f87
chore(plugin-pwa): change core-js version in package.json to v3 ( #5995 )
2021-11-23 20:20:27 +08:00
Armano
411b9aa977
chore: cleanup dependency declaration in package.json ( #5985 )
...
* deps: add/move dependencies and treat types as dev
* chore: fix merge conflict
* Update package.json
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-23 13:59:28 +08:00
Sébastien Lorber
668f3c2506
refactor(website): polish on Showcase page ( #5969 )
2021-11-20 18:31:20 +01:00
chima ilo
3f18c928bb
feat(website): redesign of showcase page ( #5742 )
...
* feat: redesign of showcase page
* redesign of showcase card
* improved card design
* create Tooltip component, Svg component
* Add popper.js to dependency
* fixed netlify deploy issues
* fixed netlify deploy issues
* fixed netlify deploy issues
* Make things work
* Relock
* Refactor
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix linter errors
* Make animation shorter
* Refactors
* Do not make entire link clickable
* fixed linting and netlify deploy issues
* enhanced styles and fix deploy issues
* Polishing
* improved contrast for selected tags
* Refactors
* Make each component standalone
* Fix operator on first render
* Color coding!
* fix SSR
* More elegant impl
* Do not show source if there is not one
* Fix
* custom on-focus styling for focusable elements with default outlinline && highlight filter toggle on focus.
* fix lint issues
* restore highlight coloring
* Use state instead of ref
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Visual seperator
* Refactors
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor fix with dev server
* Paletter improvement
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-18 22:22:26 +08:00
Joshua Chen
0374426ce3
chore: upgrade TypeScript & other ESLint related deps ( #5963 )
...
* chore: upgrade ESLint related deps
* Upgrade TS
* Fix lock
* Bump Babel
* Update config
2021-11-18 21:15:37 +08:00
duanwilliam
1e725a158e
refactor(remark-plugin-npm2yarn): migrate package to TS ( #5931 )
...
* refactor(remark-plugin-npm2yarn): migrate package to TS
* fix(remark-plugin-npm2yarn): type as unified Plugin
* refactor(remark-plugin-npm2yarn): standardize code style with remark plugins in mdx-loader
* Use unist-util-visit
* Use export =
* Remove unneeded includes option
* Fix tests
* Migrate test to TS
* Make output look better
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-12 21:21:16 +08:00
Joshua Chen
0e5057bdb3
refactor(live-codeblock): migrate package to TS ( #5851 )
...
* refactor(live-codeblock): migrate package to TS
* Migrate test
2021-11-02 12:28:41 +08:00
Sébastien Lorber
3b66c68e92
feat: Support Node 17 ( #5814 )
2021-10-29 17:21:01 +02:00
Sébastien Lorber
157b41caee
chore: replace doc sample .pdf file by .xlsx to solve Crowdin issue ( #5823 )
2021-10-29 14:46:21 +02:00
Sébastien Lorber
0b2d3483a1
fix: use @docusaurus/react-loadable as package alias + include types ( #5819 )
2021-10-29 11:04:07 +02:00
Avi Vahl
96da25e422
feat(core): upgrade to webpack-dev-server@4 ( #5420 )
...
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-28 18:06:20 +02:00
Joshua Chen
68c970175a
refactor: migrate lqip-loader to TS, fix typing for Webpack Loaders ( #5779 )
2021-10-27 16:38:11 +02:00
Joshua Chen
72990726e5
refactor: fix a few type inconsistencies ( #5788 )
2021-10-27 11:53:08 +02:00