Joshua Chen
6b53d4263d
misc: make copyUntypedFiles work for watch mode ( #7445 )
2022-05-18 19:18:32 +08:00
Joshua Chen
a555fd1dcb
refactor: make each tsconfig explicitly declare module and include/exclude ( #7443 )
2022-05-18 12:48:28 +08:00
Joshua Chen
7613ecb9ea
refactor: use TS project references instead of running tsc multiple times ( #7437 )
...
* refactor: use TS project references instead of running tsc multiple times
* deduplicate
* dedup
* eliminate --project
* add swc config
* add target
2022-05-17 15:21:44 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +08:00
Sébastien Lorber
26df8c83ce
chore: prepare v2.0.0-beta.20 release ( #7347 )
2022-05-05 20:26:48 +02:00
Alexey Pyltsyn
6fa51890f0
chore: prepare v2.0.0-beta.19 release ( #7325 )
...
* chore: prepare v2.0.0-beta.19 release
* v2.0.0-beta.19
2022-05-04 18:38:45 +03:00
Joshua Chen
b49ae67521
refactor(types): move non-core, non-public types out of the types package ( #7293 )
2022-05-03 17:15:48 +08:00
Joshua Chen
242f2e780e
chore: upgrade dependencies ( #7232 )
2022-04-23 11:55:01 +08:00
Joshua Chen
9145ae88cc
chore: disable string escaping in snapshots ( #7131 )
2022-04-08 11:23:19 +08:00
Joshua Chen
1156be3f20
refactor(content-{blog,docs}): unify handling of tags ( #7117 )
2022-04-07 15:58:21 +02:00
Joshua Chen
24c205a835
refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type ( #7080 )
...
* refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type
* fix
2022-03-31 19:16:07 +08:00
Sébastien Lorber
73deaa8bf6
chore: prepare v2.0.0-beta.18 release ( #7001 )
2022-03-25 16:16:38 +01:00
Joshua Chen
f1bcdbff63
fix(validation): improve error messages for a few schemas ( #6997 )
...
* fix(validation): improve error messages for a few schemas
* kick CI
* fix test
2022-03-25 21:50:37 +08:00
Joshua Chen
87592bca03
refactor: ensure all types are using index signature instead of Record ( #6995 )
...
* refactor: ensure all types are using index signature instead of Record
* kick CI
2022-03-25 18:06:30 +08:00
Joshua Chen
2eeb0e46a2
feat(utils): JSDoc for all APIs ( #6980 )
...
* feat(utils): JSDoc for all APIs
* fix tests
2022-03-24 21:34:31 +08:00
Alois Klink
4d2ab826b8
fix(validation): allow non-object params to remark/rehype plugins ( #6977 )
...
Remark and Rehype plugins allow having options as a non-object type,
such as a string.
For instance, the official MDX docs even have an example of this:
See https://mdxjs.com/docs/extending-mdx/#using-plugins
The official plugin `remarkjs/remark-frontmatter` allows passing
a string, e.g. `"toml"` as the options arg, instead of an object.
2022-03-24 09:19:06 +08:00
Joshua Chen
6e2eb44964
refactor: unify how validateOptions is handled ( #6961 )
...
* refactor: unify how validateOptions is handled
* fix types
* fix again
2022-03-22 19:40:56 +08:00
Joshua Chen
ad88f5cc87
test: improve test coverage; multiple internal refactors ( #6912 )
2022-03-14 21:53:57 +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
aa5a2d4c04
test: enable a few jest eslint rules ( #6900 )
...
* test: enable a few jest eslint rules
* more
2022-03-12 08:43:09 +08:00
Joshua Chen
c9ee6e467c
refactor: import jest as global; unify import style of some modules ( #6898 )
...
* refactor: import jest as global
* fix react
2022-03-11 19:04:27 +08:00
Sébastien Lorber
8dbd656340
chore: prepare v2.0.0-beta.17 release ( #6829 )
2022-03-03 18:44:41 +01:00
Joshua Chen
a4dc03edee
chore: upgrade dependencies ( #6789 )
...
* chore: upgrade dependencies
* upgrade setup-node
2022-03-01 10:40:34 +08:00
Sébastien Lorber
124511f445
chore: prepare v2.0.0-beta.16 release ( #6760 )
2022-02-25 16:00:11 +01:00
Joshua Chen
9562a5d203
refactor: remove deprecated Webpack utils & validation escape hatch ( #6740 )
2022-02-23 11:40:58 +01:00
Joshua Chen
0c7e592d34
chore: upgrade dependencies ( #6660 )
...
* chore: upgrade dependencies
* fix types
2022-02-12 15:29:40 +08:00
Clement Demonchy
1cd4757828
feat: allow numbers in plugin ID ( #6656 )
...
* fix example for id that didn't respect regex
example for id don't work with version 2.0.0-beta.15:
ValidationError: "id" with value "docs1" fails to match the required pattern: /^[a-zA-Z_-]+$/
Error: Process completed with exit code 1.
* properly fix
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-02-11 11:57:58 +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
45f6f8b869
chore: fix ESLint warnings, restrict export all syntax ( #6605 )
...
* chore: fix ESLint warnings, forbid export all syntax
* fix...
* reorder
2022-02-04 21:57:10 +08:00
Joshua Chen
661bc32402
chore(deps): bump all dependencies; regenerate lockfile ( #6580 )
2022-02-02 13:00:31 +08:00
Joshua Chen
aa446b7a9c
chore: clean up ESLint config, enable a few rules ( #6514 )
...
* chore: clean up ESLint config, enable a few rules
* enable max-len for comments
* fix build
2022-01-31 10:31:24 +08:00
Matthew Ailes
d45f96fc83
fix: updating peerDependency fields for yarn berry ( #6498 )
2022-01-29 10:29:03 +08:00
Sébastien Lorber
d6cff8c754
chore(v2): prepare v2.0.0-beta.15 release ( #6473 )
2022-01-26 19:28:16 +01: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
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
Joshua Chen
a79c23bc45
test(utils, mdx-loader, core): improve coverage ( #6303 )
...
* test(utils, mdx-loader, core): improve coverage
* windows...
* fix
2022-01-10 15:00:51 +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
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
Sébastien Lorber
01b407011a
chore(v2): prepare v2.0.0-beta.14 release ( #6147 )
2021-12-21 17:15:04 +01:00
Joshua Chen
770418f8d2
refactor: unify log format with new logger utility ( #5994 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-20 17:24:59 +01:00
Joshua Chen
77c93cbda6
misc: ignore some files during npm publish ( #6092 )
2021-12-17 11:38:26 +01:00
Kristoffer K
b48c6defae
fix: declare missing dependencies ( #6097 )
...
* fix(utils-validation): add missing peer dependencies `react` and `react-dom`
* fix(theme-classic): add missing peer dependency `@docusaurus/core`
* ci: disable PnP fallbacks
* ci: link to the docs
* Update package.json
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-13 09:47:07 +08:00
Sébastien Lorber
ae9a12ff50
chore(v2): prepare v2.0.0-beta.13 release ( #6084 )
2021-12-10 16:56:00 +01:00
Sébastien Lorber
991c1b2832
chore(v2): prepare v2.0.0-beta.11 release ( #6081 )
2021-12-10 14:13:25 +01:00
Sébastien Lorber
43ac7d5da9
chore(v2): prepare v2.0.0-beta.10 release ( #6076 )
2021-12-09 13:32:23 +01:00
Joshua Chen
fd966b5395
refactor: add blank lines below all copyright headers ( #6071 )
2021-12-09 11:53:46 +08: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
Alexey Pyltsyn
91ec2509b7
chore: prepare v2.0.0-beta.9 release ( #5859 )
...
* chore: prepare v2.0.0-beta.9 release
* v2.0.0-beta.9
2021-11-02 20:40:01 +03:00
Sébastien Lorber
1ce6253cc1
chore: require Node 14 ( #5812 )
2021-10-28 17:11:25 +02:00
Sébastien Lorber
68a116611f
chore: prepare v2.0.0-beta.8 release ( #5762 )
2021-10-21 18:52:17 +02:00