Joshua Chen
c7c0ee4e7c
chore: upgrade dependencies ( #7101 )
2022-04-02 08:32:26 +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
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
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
Joshua Chen
4957ec947b
refactor: fix a few places of path handling ( #7023 )
2022-03-26 22:49:50 +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
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
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
4536c20455
fix(content-blog): only create archive route if there are blog posts ( #6947 )
2022-03-21 12:27:56 +08:00
Felipe Santos
e19a4e23e7
fix(content-docs): warn when files are not tracked ( #6937 )
...
* fix(docs): warn when files are not tracked
* chore(devcontainer): use non-root user
* test: fix jest in vscode
* test(docs): improve existing test
* chore(devcontainer): fix jest error on startup
* chore: fix comments
* chore: remove "probably" from error message
2022-03-21 08:42:36 +08:00
Joshua Chen
cc0bceab9c
chore: tighten ESLint config ( #6931 )
...
* chore: tighten ESLint config
* more refactor
* refactor push
* fix
2022-03-17 17:59:41 +08:00
Joshua Chen
8d1c1954c1
refactor(content-blog): clean up type definitions; in-code documentation ( #6922 )
...
* refactor(content-blog): clean up type definitions; in-code documentation
* add doc
2022-03-16 19:36:57 +08:00
WonChul Heo
46b1027c4a
fix(content-blog): remove double leading slash in blog-only paginated view ( #6918 )
...
* fix(content-blog): Fix permalink function of paginateBlogPosts
* add test
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-15 16:45:05 +08:00
Joshua Chen
009d87cbd9
refactor(content-blog): improve error message of authors map validation ( #6909 )
2022-03-14 08:16:12 +08:00
Joshua Chen
8c1e518ba2
chore: do not print prototype in jest snapshot ( #6908 )
2022-03-13 19:34:50 +08:00
Joshua Chen
76cb012209
chore: spell-check test files ( #6903 )
2022-03-12 15:24:56 +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
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
Joshua Chen
23a34c1a07
refactor: prefer fs.outputFile to ensureDir + writeFile ( #6880 )
...
* refactor: prefer fs.outputFile to ensureDir + writeFile
* fix test
* fix
2022-03-09 17:50:33 +08:00
Joshua Chen
99b1fb90d5
chore: upgrade dependencies ( #6879 )
2022-03-09 07:34:35 +08:00
Joshua Chen
8e934450d8
refactor: remove unnecessary default values normalized during validation ( #6864 )
...
* refactor: remove unnecessary default values normalized during validation
* more
2022-03-07 19:23:30 +08:00
Joshua Chen
f763ac13a9
test: improve test coverage ( #6857 )
2022-03-06 17:55:21 +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
Sébastien Lorber
8dbd656340
chore: prepare v2.0.0-beta.17 release ( #6829 )
2022-03-03 18:44:41 +01:00
Joshua Chen
6cbc58943e
feat: allow blog authors email ( #6783 )
2022-03-02 16:28:17 +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
f903422617
refactor: unify error handling behavior ( #6755 )
...
* refactor: unify error handling behavior
* revert
* normalize paths
* test...
* change
* does this work...
* fix...
* maybe fix
* maybe fix
* fix
* fix...
2022-02-25 15:07:13 +08: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
c6d0d812eb
refactor: convert all fs methods to async ( #6725 )
...
* refactor: convert all fs methods to async
* fix snap
2022-02-20 10:21:33 +08:00
Joshua Chen
ea6ceaa371
refactor: ensure lodash is default-imported ( #6716 )
2022-02-19 18:15:02 +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
Felipe Santos
6996ed2f2f
feat(content-blog): infer blog post date from git history ( #6593 )
2022-02-09 17:18:32 +01:00
Joshua Chen
5db848f0e7
refactor: move module declarations for non-route components to theme-classic ( #6629 )
2022-02-07 20:17:41 +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
3fd99ad8d4
feat(content-blog): allow customizing blog archive component through option ( #6603 )
...
* feat(content-blog): allow customizing blog archive component through option
* fix
2022-02-04 18:56:09 +08:00
Muhammad Redho Ayassa
48f080ebca
feat(content-blog): Allow pagination for BlogTagsPostsPage ( #6221 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-03 18:33:13 +01:00
Joshua Chen
661bc32402
chore(deps): bump all dependencies; regenerate lockfile ( #6580 )
2022-02-02 13:00:31 +08:00
Joshua Chen
1cefb643dd
refactor: enforce named capture groups; clean up regexes ( #6524 )
...
* refactor: enforce named capture groups; clean up regexes
* fixes
* fix
2022-02-01 17:43:15 +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
Joshua Chen
76a8d5f38a
fix(content-blog): generate feed by reading build output ( #6454 )
2022-01-26 16:54:15 +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
Joshua Chen
456ffbd330
chore: remove some unused dependencies from package.json ( #6440 )
2022-01-22 19:47:35 +08:00