Commit graph

15 commits

Author SHA1 Message Date
Sébastien Lorber
1aae05b606
chore: update changelog after 2.0.1 release (#7920) 2022-08-08 16:49:38 +02:00
Joshua Chen
bafa4711b1
test: add TypeScript template to E2E test matrix (#6768)
* test: add TypeScript template to E2E test

* fix

* fix

* fix...

* exclude this

* refactor
2022-02-27 09:20:59 +08:00
Joshua Chen
a70514205d
feat(create): new --package-manager option; interactive package manager selection (#6750) 2022-02-24 11:50:37 +01:00
Joshua Chen
4809a1aab1
chore: add NPM and PNPM to E2E tests (#6080)
* chore: add NPM and PNPM to E2E tests

* Align node versions

* Install PNPM

* Fix options

Maybe fix

Fix
2021-12-10 22:04:05 +08: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
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
Sébastien Lorber
ac4a253cdf
chore: fix e2e yarn berry tests (#5342)
* disable pnp

* test-release support --skip-install + revert to pnp mode

* fix yarn canary?

* add YARN_ENABLE_IMMUTABLE_INSTALLS env

* add nodeLinker matrix

* Update .github/workflows/v2-tests-e2e.yml

Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>

* polish e2e test workflows

* polish e2e test workflows

* set npm_config_registry

Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2021-08-12 13:18:07 +02:00
Sébastien Lorber
2a2da8006f
chore(v2): fix yarn2 end2end test by using lerna publish --exact (#4613) 2021-04-14 17:25:50 +02:00
Alexey Pyltsyn
5f20200661
feat(v2): allow init project via npm (#3729)
* feat(v2: allow init project via npm

* Add test-website to workspace

* Remove test-website from workspace

* Refactor
2020-11-16 16:11:16 +01:00
Alexey Pyltsyn
ede65d3097
chore(v2): fix unbound env variable in test release script (#3641) 2020-10-26 15:10:04 +01:00
Sébastien Lorber
3b16fb15e9
docs(v2): publish changes after release (#3116) 2020-07-27 12:17:59 +02:00
Sam Zhou
cf5babd5c1
chore(v2): Add E2E test for yarn v2 (#3008)
* chore(v2): Add E2E test for yarn v2

* Remove root node_modules to prevent them from accessible in e2e test

The purpose of e2e test is to ensure that the docusaurus inited website can stand on its own. The root node_modules remain accessible according to how node resolution works and it might interfere with the test. Remove them for safety.

* Add @mdx-js/react to docusaurus init templates
2020-07-01 12:06:03 +02:00
Yangshun Tay
03070a2b8d chore: add copyright headers to missing files 2020-05-11 00:11:11 +08:00
Alexey Pyltsyn
bfeb1044fb
misc: simplify test release script (#2641)
* misc: simplify test release script

* misc: suppress output of Docker command
2020-04-22 20:31:44 +08:00
Alexey Pyltsyn
18d31b5f5f
misc: add instructions about test release (#2486)
* misc: add instructions about test release

* Fix tests

* Rebuild yarn.lock

* Fixes

* Fixes

* Upd
2020-04-02 15:11:19 +08:00