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
77c93cbda6
misc: ignore some files during npm publish ( #6092 )
2021-12-17 11:38:26 +01:00
Joshua Chen
0c2765fb74
fix(create-docusaurus): make initial editUrl functional ( #6119 )
2021-12-17 10:47:58 +08:00
Joshua Chen
649f18d304
fix(create-docusaurus): give a clearer message when installation failed ( #6095 )
2021-12-15 18:03:38 +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
fd966b5395
refactor: add blank lines below all copyright headers ( #6071 )
2021-12-09 11:53:46 +08: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
Joshua Chen
fb6393fdce
chore: clean up dev dependency declarations ( #6055 )
...
* chore: clean up dev dependency declarations
* Fix prettier version
2021-12-05 23:07:34 +08:00
Fernando Maia
b366ba5603
feat: shorthands for themes/plugins/presets configuration ( #5930 )
...
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 18:23:12 +01:00
Joshua Chen
40e4ce0e68
chore: upgrade prettier; rename prettier scripts as format ( #6010 )
2021-12-01 12:33:22 +01:00
Ludovico Fischer
5678911555
chore: update @svgr/webpack to version 6 ( #5958 )
...
* chore: update @svgr/webpack to version 6
* svgr changelog https://github.com/gregberge/svgr/releases
* SVGO 2 changelog https://github.com/svg/svgo/releases/tag/v2.0.0
* depend on maintained svgo version
* although svgr 6 is in alpha, it fixes a few issues
with webpack 5 (https://github.com/gregberge/svgr/commit/1a8cc98 )
and React (https://github.com/gregberge/svgr/commit/3700aba )
* see also https://github.com/facebook/docusaurus/pull/5703
* Fix config
* fix e2e test
* Fix again
* Update to stable
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-29 15:12:18 +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
Afshin Mehrabani
54d0755493
feat(create-docusaurus): allow using local folder as template ( #3458 )
...
* feat(docusaurus-init): search the local ./templates folder during doc init
* Add docs
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-15 12:37:22 +08:00
William Poetra Yoga
f5732e7589
feat: allow GIT_USER env var to be unset if SSH is used ( #5840 )
...
* feat: allow GIT_USER env var to be unset if SSH is used
* fix: packages/docusaurus/src/commands/deploy.ts
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* feat: allow user to specify deploymentBranch property in docusaurus.config.js (#5841 )
* feat: allow user to specify deploymentBranch property in docusaurus.config.js
* docs: remove extra backtick
* docs: fix broken code block
* docs: fix i18n routes to feature requests (#5843 )
* docs: fix i18n routes to feature requests
* Add redirect rules
* feat: allow GIT_USER env var to be unset if SSH is used
* fix: packages/docusaurus/src/commands/deploy.ts
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* fix: avoid escaping hyphen in regex
* Refactor
* Update deployment.mdx
* Make SSH higher priority
* Only infer but not override
* Add tests
* Fix tests
* Fix
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-10 18:51:12 +08:00
Swalah Amani
c541e2d83c
misc: replace all "Metadatas" with "Metadata" ( #5871 )
...
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-09 19:46:10 +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
1ce6253cc1
chore: require Node 14 ( #5812 )
2021-10-28 17:11:25 +02:00
Ying Wang
075234851c
docs: fix typo ( #5792 )
...
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-10-27 11:42:01 +02:00
Sébastien Lorber
68a116611f
chore: prepare v2.0.0-beta.8 release ( #5762 )
2021-10-21 18:52:17 +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
Joshua Chen
8d92e9bcf5
refactor(content-docs): refactor sidebars, Joi validation, generator rework, expose config types ( #5678 )
2021-10-14 14:38:26 +02:00
Sébastien Lorber
f6ec757aa0
feat: npm init docusaurus, yarn create docusaurus ( #5635 )
...
* initial create-docusaurus impl
* cleanup
* @docusaurus/init renamed to create-docusaurus
* 0.0.6
* update lockfile
* fix lint
* remove npm2yarn for "npm init" because npm2yarn doesn't convert it and yarn result fails to execute
* prettier
* add correct version
* prettier
* prettier
* prettier
* prettier
* fix annoying --config .prettierrc issue
2021-10-07 16:06:42 +02:00