Joshua Chen
19942f990a
chore: migrate Jest and website to SWC ( #6944 )
...
* chore: migrate Jest and website to SWC
* ignore template
2022-03-19 20:56:30 +08:00
Joshua Chen
ff1b7168ba
chore: upgrade dependencies ( #6916 )
2022-03-15 13:16:21 +08:00
Joshua Chen
3a4b9b4c30
refactor: install eslint-plugin-regexp ( #6906 )
...
* refactor: install eslint-plugin-regexp
* simplify
* simplify
* fix
2022-03-13 18:32:17 +08:00
Joshua Chen
f6baaa6b75
test(theme-common): improve test coverage ( #6902 )
...
* test(theme-common): improve test coverage
* revert
2022-03-12 13:17:21 +08:00
Joshua Chen
99b1fb90d5
chore: upgrade dependencies ( #6879 )
2022-03-09 07:34:35 +08:00
Joshua Chen
a4dc03edee
chore: upgrade dependencies ( #6789 )
...
* chore: upgrade dependencies
* upgrade setup-node
2022-03-01 10:40:34 +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
0c7e592d34
chore: upgrade dependencies ( #6660 )
...
* chore: upgrade dependencies
* fix types
2022-02-12 15:29:40 +08:00
Joshua Chen
919f1600c2
refactor: remove Babel plugins that are included in preset-env ( #6614 )
2022-02-05 16:55:40 +08:00
Joshua Chen
661bc32402
chore(deps): bump all dependencies; regenerate lockfile ( #6580 )
2022-02-02 13:00:31 +08:00
Joshua Chen
58e07a6796
test: add test for readOutputHTMLFile ( #6506 )
2022-01-29 18:10:46 +08: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
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
2f4b2e1790
misc: fix stylelint erroring when lint-staged passed ignored file ( #6441 )
2022-01-22 20:33:06 +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]
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]
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
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
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
Nayan Patel
1c7b0d1353
docs: update showcase images; remove GraphQL Code Generator site ( #6231 )
...
* Showcase: Update images
* Showcase: Remove sites that are not working, and have not been working since yesterday.
* Suspected no longer using docusaurus (please confirm)
* Revert "Showcase: Remove sites that are not working, and have not been working since yesterday."
This reverts commit c963f120e9
.
* add notices
* test screen resolution
* all of them
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-07 16:35:46 +08:00
Armano
4578b8b4c4
fix(website): resize showcase images, tighten CI check ( #6043 )
...
* fix(website): resize images to width 640
* revert changes first...
* resize images
* final changes
* Add to CI
* refactor tests
* Fix script
* fix script
* Final fixes
* Oops
* relax
* fix
* crop
* Optimize
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-07 14:03:43 +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
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
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
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
William Poetra Yoga
895c848065
fix: allow project directory name to be an invalid npm package name ( #5842 )
2021-11-01 17:07:54 +08: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
Sébastien Lorber
1ce6253cc1
chore: require Node 14 ( #5812 )
2021-10-28 17:11:25 +02:00
Joshua Chen
1c8b8362f7
fix(live-codeblock): render static codeblock server-side ( #5754 )
...
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-10-21 17:17:03 +02:00
Joshua Chen
c8739ec28e
polish(theme-classic): guard against potential definition mistakes in Tabs ( #5674 )
2021-10-14 15:47:03 +02:00
Sébastien Lorber
f6ec757aa0
feat: npm init docusaurus, yarn create docusaurus ( #5635 )
...
* initial create-docusaurus impl
* cleanup
* @docusaurus/init renamed to create-docusaurus
* 0.0.6
* update lockfile
* fix lint
* remove npm2yarn for "npm init" because npm2yarn doesn't convert it and yarn result fails to execute
* prettier
* add correct version
* prettier
* prettier
* prettier
* prettier
* fix annoying --config .prettierrc issue
2021-10-07 16:06:42 +02:00
Sébastien Lorber
a0c2c52829
chore: remove unused Bootstrap theme ( #5634 )
...
* remove package
* remove bootstrap from doc
* remove bootstrap init template + examples
* remove bootstrap preset
* remaining bootstrap refs
* update lockfile
2021-10-01 17:44:34 +02:00
Bharat Middha
09550b0535
feat: properly type-check the Docusaurus config of new sites ( #5589 )
...
* fix: makes types DocusaurusConfig optional to match docs
* add UserDocusaurusConfig with required keys for user config
* convert UserDocusaurusConfig to use util type
* Docusaurus website config should be type-checked by CI + fix all existing issues
* add doc for config typechecking
* Update template configs for TS autocompletion
* fix last config typechecking bugs
* reapply prettier
* reapply prettier-docs
* Fix TS doc: add missing ()
* fix some docu plugin types
* add "const config" for simpler jsdoc annotation
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-30 17:49:44 +02:00
Joshua Chen
3f1f8255a2
chore: upgrade Prettier + regenerate lock file ( #5611 )
...
* Bump deps
* Run prettier
* Format docs
* Minor refactor
* Collapse objects
* Fix type
* Update lock file
2021-09-30 12:54:17 +02:00