Joshua Chen
948271a0ff
test: improve test coverage; reorder theme-common files ( #6956 )
...
* test: improve test coverage; reorder theme-common files
* no need for this
2022-03-22 15:33:55 +08:00
Joshua Chen
d85cee576d
test: improve test coverage; properly test core client APIs ( #6905 )
...
* test: improve test coverage
* fix
2022-03-12 23:15:45 +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
Joshua Chen
4db0c620de
refactor: enable a few TS flags ( #6852 )
...
* refactor: enable a few TS flags
* refactor
* revert to working version
* fix
* better
* change
2022-03-06 13:09:10 +08:00
Joshua Chen
c387a177e8
refactor(theme-common): unify missing context errors ( #6826 )
...
* refactor(theme-common): unify missing context errors
* update test
* more robust
2022-03-03 22:26:56 +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
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
024f2bf49b
refactor: new @docusaurus/plugin-content-docs/client interface ( #6287 )
2022-01-07 17:04:21 +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
Joshua Chen
fd966b5395
refactor: add blank lines below all copyright headers ( #6071 )
2021-12-09 11:53:46 +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
Sébastien Lorber
098f210890
chore: Enable ESLint rules of hooks + fix new lint errors ( #5714 )
2021-10-20 16:09:52 +02:00
Joshua Chen
0a668366c2
refactor: properly type docs version ( #5284 )
...
* Type docs version
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Move non-null assertions
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Test again
2021-08-05 10:52:35 +02:00
Alexey Pyltsyn
41d9288e3d
refactor(v2): cleanup console output ( #4979 )
...
* refactor(v2): cleanup console output
* fix jest issue
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-16 11:37:28 +02:00
Armano
a39c62f644
refactor(v2): add missing theme-classic types ( #4385 )
2021-03-12 12:19:19 +01:00
Sébastien Lorber
abcd8cefd6
feat(v2): @docusaurus/theme-common ( #3775 )
...
* create base @docusaurus/theme-common package + fix Webpack client export aliases issue shadowing other theme-common package
* Move theme-classic/src/utils code to new @docusaurus/theme-common package
* add prettierignore
* fix bad test location for getDocusaurusAliases()
2020-11-18 16:00:51 +01:00