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
|
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
|
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
|
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
|
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
|
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 |
|
Joshua Chen
|
3d7ba337c2
|
refactor(mdx-loader): use vfile.path to access Markdown file path (#6443)
|
2022-01-22 22:28:50 +08:00 |
|
Joshua Chen
|
217b62682d
|
feat(mdx-loader): preserve hash in image src; support GH themed images (#6323)
* feat(mdx-loader): preserve hash in image src; support GH themed images
* more refactor
|
2022-01-13 10:22:48 +08: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
|
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 |
|
Oliver Ullman
|
1366c31201
|
feat(core): allow sourcing from multiple static directories (#4095)
* [WIP] Implementaion of multiple directory static sourcing
* Move default to validation
* Update test
* Refactor
* Port to MDX loader
* Fix
* Move dogfooding assets
* Doc writeup
* Restore assets
* Support absolute paths
* Dogfood absolute path
* Fix
* More tests
* Fix snapshots
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
|
2021-11-18 22:26:26 +08:00 |
|
Joshua Chen
|
68c970175a
|
refactor: migrate lqip-loader to TS, fix typing for Webpack Loaders (#5779)
|
2021-10-27 16:38:11 +02:00 |
|
Joshua Chen
|
493225a3c6
|
feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396)
* Complete function
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* A lot of blank lines
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* More lenient validation
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Remove or
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Simpler logic
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Expand docs
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better docs
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Dogfood
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* More writeup
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Polish
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Polish
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Move mergeAuthorMap to authors.ts
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Unbreak relative assets
* Update docs
* Clarify in docs
* simplify feed authors
* rename authorMap -> authorsMap
* mergeAuthorsMap -> getBlogPostAuthors
* website => 5 blog posts per page
* improve authors map file
* Extract new theme authors components + display in row
* add comment for meta array syntaxes
* blog => getPathsToWatch should watch authorsMap file
* remove useless v1 blog FBID frontmatter
* keep older frontmatter syntax for now
* revert blog frontmatter
* Better console message
* better blog authors frontmatter impl
* add multi authors to beta blog post + fix some authors margins
* fix React key
* Refactor: mdx loader should support a more flexible assets system (poc, not documented yet)
* better display of blog post authors: adapt layout to authors count + add line clamp
* smaller local image
* fix blog feed tests
* fix blog frontmatter tests + improve validation schema
* add more frontmatter tests
* add tests for getAuthorsMapFilePath
* tests for validateAuthorsMapFile
* add tests for readAuthorsMapFile
* test getAuthorsMap
* exhaustive tests for getBlogPostAuthors
* fix remaining tests
* missing blog plugin author tests
* fix windows tests
* improve blog multi-author's doc
* Use new format in init template
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Improve error message
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* update feed snapshot
* blog authors: limit to 2 cols + fix margins for no authors
* minor doc improvements
* better init template blog posts, demonstrating Blog features
* replace the legacy blog author frontmatter in remaining places
* Prefer using clsx
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* cleanup getColClassName
* remove blog author name/title line-clamping
Co-authored-by: slorber <lorber.sebastien@gmail.com>
|
2021-08-26 12:21:58 +02:00 |
|
Joshua Chen
|
3fc47938a5
|
chore(mdx-loader): migrate package to TypeScript (#5347)
* Polish code style
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Partly done migration
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Complete typing
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix tests
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* A-ha
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Cleanup
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix error
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Cleanup
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
|
2021-08-12 14:55:14 +02:00 |
|