Commit graph

196 commits

Author SHA1 Message Date
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 (#7782) 2022-07-14 19:30:17 +02:00
Joshua Chen
07641ae53d
chore: upgrade dependencies (#7754) 2022-07-10 00:32:32 +08:00
Sébastien Lorber
f0f97f29f9
chore: prepare v2.0.0-beta.22 release (#7741) 2022-07-08 18:34:05 +02:00
Joshua Chen
fa22927250
chore: upgrade dependencies (#7684)
* chore: upgrade dependencies

* fix

* reupgrade

* downgrade
2022-07-04 19:36:43 +08:00
Joshua Chen
b4d93b9bd0
chore: upgrade to TS 4.7, compile with NodeNext (#7586)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-15 19:15:11 +02:00
JP
f25ee0cbf5
feat(live-codeblock): add support for noInline to interactive code blocks (#7514)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-06-02 10:34:20 +02:00
Sébastien Lorber
613d938cfc
chore: prepare v2.0.0-beta.21 release (#7513)
* add beta 21 version

* v2.0.0-beta.21

* typo
2022-05-27 18:29:11 +02:00
Joshua Chen
47a2cca17d
chore: require Node 16.14 (#7501) 2022-05-26 11:44:18 +02:00
Joshua Chen
624735bd92
refactor: fix more type-aware linting errors (#7479) 2022-05-24 19:19:24 +08:00
Joshua Chen
bf1513a3e3
refactor: fix a lot of errors in type-aware linting (#7477) 2022-05-24 15:40:26 +08:00
Joshua Chen
3666a2ede5
refactor: remove a lot of implicit anys (#7468) 2022-05-23 15:40:53 +08:00
Joshua Chen
ba0d94d02b
chore: normalize naming of admin scripts (#7448) 2022-05-18 21:34:34 +08:00
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
Elias Papavasileiou
3b1170eb44
feat: Docusaurus ESLint plugin to enforce best Docusaurus practices (#7206)
* feat: add eslint plugin

* refactor

* add tests

* fixups!

* fix(no-dynamic-i18n-messages): make translate() recognize template literals

* refactor: rename rule no-dynamic-i18n-messages --> string-literal-i18n-messages

* feat: add ignoreStrings option and refactor

* docs: migrate docs to /docs/api/plugins

* docs: fix anchor links in README.md

* fix: add some ignored strings

* docs: update eslint-plugin docs

* fix: update README link

* docs: various updates

- Reorder sidebar entries
- Fix title size
- Use Markdown file paths
- Simplify relative links

* address reviews

* wording polish

* add npmignore

* fix all internal warnings

* doc improvements

* fix test

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-30 00:04:25 +08:00
Joshua Chen
242f2e780e
chore: upgrade dependencies (#7232) 2022-04-23 11:55:01 +08:00
Joshua Chen
7f06857e46
fix: fix a lot of declaration semantic errors (#7194) 2022-04-17 23:44:20 +08:00
Joshua Chen
b154318c28
chore: upgrade dependencies (#7193) 2022-04-17 17:32:41 +08:00
Joshua Chen
e5bf59fd9b
refactor: mark a few client-side packages as side-effect-free (#7085)
* refactor: mark a few client-side packages as side-effect-free

* fix

* fix again

* fix...

* revert sideeffect

* revert

* fix again...

* properly fix

* fix

* properly fix
2022-04-09 09:08:18 +08:00
Joshua Chen
9145ae88cc
chore: disable string escaping in snapshots (#7131) 2022-04-08 11:23:19 +08: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
2bcac29cd4
refactor(content-docs): deduplicate types, JSDoc for some APIs (#7027)
* refactor(content-docs): deduplicate types, JSDoc for some APIs

* little refactor
2022-03-27 12:57:15 +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
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
68aaf9201f
feat(core): allow plugin lifecycles to return relative paths (#6921)
* feat(core): resolve plugin lifecycles returning relative paths

* fix typo

* fix tests

* revert

* rename path -> entryPath
2022-03-16 20:47:15 +08:00
Joshua Chen
76cb012209
chore: spell-check test files (#6903) 2022-03-12 15:24:56 +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
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
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
0d14470d54
refactor: unify export directive style (#6751) 2022-02-24 17:25:17 +08:00
Joshua Chen
0c7e592d34
chore: upgrade dependencies (#6660)
* chore: upgrade dependencies

* fix types
2022-02-12 15:29:40 +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
250d9c8cf5
refactor(live-codeblock): migrate theme to TS (#6583)
* refactor(live-codeblock): migrate theme to TS

* Don't make it visible
2022-02-02 17:48:06 +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
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
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
Sébastien Lorber
f87a3ead46
refactor: move @theme/hooks to @docusaurus/theme-common (#6289) 2022-01-07 19:19:35 +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
Joshua Chen
77c93cbda6
misc: ignore some files during npm publish (#6092) 2021-12-17 11:38:26 +01:00
Joshua Chen
e57929c114
chore: add missing dependencies on tslib (#6094) 2021-12-11 18:18:25 +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
Pranab Das
fbf04ed556
fix: move docusaurus core back to hard dependencies (#6078)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-10 11:05:21 +01:00