Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +08:00
Joshua Chen
f29bb73300
fix(core): make error boundary fallback a component instead of a callback ( #7368 )
2022-05-07 22:35:57 +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
53564f33ab
refactor(core): prefetch/preload refactor ( #7282 )
2022-05-02 12:56:58 +08:00
Joshua Chen
fa1ce230ea
refactor: capitalize comments ( #7188 )
...
* refactor: capitalize comments
* revert...
2022-04-17 16:39:11 +08:00
Joshua Chen
171927342f
feat(core): fail-safe global data fetching ( #7083 )
2022-04-08 11:08:22 +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
Joshua Chen
3f33e90704
chore: upgrade dependencies ( #7065 )
...
* chore: upgrade dependencies
* fix project words
2022-03-30 11:05:50 +08:00
Joshua Chen
77662260f8
refactor(core): refactor routes generation logic ( #7054 )
...
* refactor(core): refactor routes generation logic
* fixes
2022-03-29 16:37:29 +08:00
Joshua Chen
5fb09a2946
refactor(core): reorganize files ( #7042 )
...
* refactor(core): reorganize files
* fix types
2022-03-28 21:49:37 +08:00
Joshua Chen
c81d21a641
refactor: minor type improvements ( #7035 )
2022-03-28 11:15:37 +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
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
Sébastien Lorber
74f653dd82
refactor(theme-{classic,common}): change how site/page/search metadata is handled ( #6925 )
2022-03-18 18:53:00 +01:00
Sébastien Lorber
8a1421a938
feat(core,theme): useRouteContext + HtmlClassNameProvider ( #6933 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-18 10:57:32 +01:00
Joshua Chen
da9f38b748
refactor(client-redirects): migrate validation to validateOptions lifecycle ( #6924 )
2022-03-16 17:24:01 +01: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
Sébastien Lorber
8dbd656340
chore: prepare v2.0.0-beta.17 release ( #6829 )
2022-03-03 18:44:41 +01:00
Sébastien Lorber
124511f445
chore: prepare v2.0.0-beta.16 release ( #6760 )
2022-02-25 16:00:11 +01: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
Sébastien Lorber
ece7399d2e
fix(theme-classic): fix breadcrumb home link bug with new useHomePageRoute() hook ( #6749 )
2022-02-24 11:27:16 +01:00
Joshua Chen
0d14470d54
refactor: unify export directive style ( #6751 )
2022-02-24 17:25:17 +08:00
Joshua Chen
ddad9713e6
refactor: improve client modules types ( #6742 )
2022-02-23 15:45:23 +08:00
Joshua Chen
cfcc8b31f4
chore(module-type-aliases): add react as peer dependency ( #6741 )
2022-02-23 15:00:14 +08:00
Joshua Chen
c38200ba5b
refactor: declare all props as interfaces ( #6730 )
...
* refactor: declare all props as interfaces
* fix
* fix...
2022-02-21 11:52:11 +08:00
Joshua Chen
acf4ae8f96
refactor: reduce exported members of docusaurus router ( #6651 )
2022-02-11 12:16:13 +01:00
Joshua Chen
da9075105a
refactor(module-aliases): remove react-helmet dependency ( #6658 )
2022-02-11 13:08:08 +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
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
Sébastien Lorber
d6cff8c754
chore(v2): prepare v2.0.0-beta.15 release ( #6473 )
2022-01-26 19:28:16 +01:00
Joshua Chen
f0b08f493d
fix(module-type-aliases): fix type def for translate params ( #6469 )
2022-01-26 11:49:29 +08:00
Yaroslav Serhieiev
6f892e20b0
feat(core, theme-classic): allow overriding htmlLang ( #6371 )
2022-01-19 12:38:42 +01:00
Joshua Chen
6c0da3ee4b
refactor: clean up TODO comments ( #6399 )
2022-01-19 12:10:50 +08:00
Sébastien Lorber
8b7ab21d38
fix(core): error boundary should allow no children ( #6338 )
2022-01-14 10:39:24 +01: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
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
b4ec7ec011
refactor(core): fix types for client code ( #6064 )
2021-12-07 19:58:36 +01:00
FISH UP
7e955e2fa6
fix(module-type-aliases): add svg declaration ( #5945 )
...
* fix(module-type-aliases): add svg, scss, module.scss, module.sass
* fix(module-type-aliases): css should be declared after module.css
* fix(module-type-aliases): remove scss related declarations
* fix(module-type-aliases): correct svg declaration
Co-authored-by: FISH UP <MisterFISHUP@users.noreply.github.com>
2021-11-15 13:10:45 +08:00
Joshua Chen
ac88d979f1
refactor(ganalytics, gtag): move options out of themeConfig ( #5832 )
...
* refactor(ganalytics, gtag): move options out of themeConfig
* Forbid themeConfig options
* Add PR link
* Add key names to error message
* Fix?
* Doc updates
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-10 19:04:43 +08:00
Paden Clayton
fa6d15b35f
feat(core): Add React ErrorBoundary component + theme default boundaries ( #3104 )
...
Co-authored-by: Paden Clayton <paden.clayton@monkedia.com>
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-11-04 16:07:32 +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
0b2d3483a1
fix: use @docusaurus/react-loadable as package alias + include types ( #5819 )
2021-10-29 11:04:07 +02:00
Joshua Chen
4b2152a964
refactor: clear a few ESLint warnings ( #5808 )
...
* refactor: clear a few ESLint warnings
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix
2021-10-28 12:47:40 +08:00
Sébastien Lorber
68a116611f
chore: prepare v2.0.0-beta.8 release ( #5762 )
2021-10-21 18:52:17 +02:00
Joshua Chen
90098ca838
refactor(module-type-aliases): remove fallback aliases ( #5726 )
2021-10-20 15:27:16 +02:00
Alexey Pyltsyn
877373e108
chore: prepare v2.0.0-beta.7 release ( #5713 )
...
* chore: prepare v2.0.0-beta.7 release
* v2.0.0-beta.7
2021-10-15 16:31:01 +03:00