438 Commits

Author SHA1 Message Date
tooppaaa
6b8baaee22 Remove vue-loader versioning 2020-06-30 22:28:36 +02:00
tooppaaa
5f407b762b Merge remote-tracking branch 'origin/next' into feature/essentialsCLI 2020-06-30 22:22:12 +02:00
Gaëtan Maisse
27c3c730f7
e2e: fix name of tests config to be valid npm project name
These names are used to init NPM project and so must follow validation rules:
https://github.com/npm/validate-npm-package-name

Moreover, they are now all consistant.
2020-06-30 20:36:31 +02:00
Gaëtan Maisse
69184c5102
e2e: fix name of yarn2Cra tests config 2020-06-30 20:12:36 +02:00
Norbert de Langen
6ad97ad213
ADD angular v8 2020-06-30 15:09:46 +02:00
Norbert de Langen
4a7c5f51a0
DISABLE angular v6 e2e test 2020-06-30 12:12:12 +02:00
tooppaaa
e6d8861ccf add versions to e2e 2020-06-29 22:54:25 +02:00
tooppaaa
ffb813a3e8 e2e: add anuglar v7-lts 2020-06-29 22:52:19 +02:00
tooppaaa
1367aea2b8 e2e: add anuglar v7-lts 2020-06-29 22:29:25 +02:00
tooppaaa
65f16f6c28 log what test failed 2020-06-25 00:06:09 +02:00
tooppaaa
8f08b13b8c fix vue 2020-06-24 23:08:09 +02:00
Norbert de Langen
a38e38f8c7
Merge pull request #11150 from hipstersmoothie/watch0output
Preserve watch output when running dev mode
2020-06-22 11:58:08 +02:00
Norbert de Langen
91a062355f
Merge branch 'next' into add/design-system 2020-06-18 17:08:18 +02:00
Andrew Lisowski
5cc5cfa795 preserve output while in dev mode 2020-06-12 09:50:36 -07:00
tooppaaa
4905904bd2 CLI: move mutualise scripts 2020-06-11 23:25:04 +02:00
Norbert de Langen
468c7b63c4
ADD design-system to official example
This should add a ref automatically
2020-06-08 14:07:13 +02:00
tooppaaa
46c298ca54 fix e2e 2020-06-05 23:10:19 +02:00
Norbert de Langen
7b8897b36c
Merge branch 'next' into feature/e2eZeroConfig
# Conflicts:
#	scripts/run-e2e.ts
#	yarn.lock
2020-06-04 17:46:37 +02:00
Gaëtan Maisse
b9344abcd9
test: set registry in Yarn 2 E2E config
Yarn 2 is not using the conf of Yarn 1 so for now Yarn 2 E2E test were using SB deps from npmregistry instead of local ones.
2020-06-03 21:13:48 +02:00
Gaëtan Maisse
d7687ade18
refactor: replace semver by @storybook/semver
`@storybook/semver` is a browser friendly fork of `semver`.
We use it to avoid issue with IE11 as classic "compiled" `semver` is now compatible with it.
If we just recompile `semver` from `node_modules` it ends with a package that `require('core-js')` but `core-js` is not listed in the dependency. And so Yarn 2 throw an error.
So to avoid that we need to use a "proper" dependency which is `semver` recompile and with all needed dependencies in its package.json.
2020-06-03 20:07:07 +02:00
Gaëtan Maisse
23459576b8
test(e2e): improve jobs assignment on CI nodes
With the previous algorithm, some nodes have no jobs assigned to them due to rounding consideration.
For example with 10 nodes and 13 jobs to assign:
 13 jobs / 10 nodes -> 1.3 jobs per node -> rounded to 2 -> only the 1st 6 nodes run 2 jobs, the 7th 1 job and the other 0 job.

Using a modulo ensures that each node will at least run 1 job.
2020-05-29 20:49:40 +02:00
Gaëtan Maisse
0e0006e39b
test(e2e): add a E2E test config for Yarn workspace env (based on React) 2020-05-29 20:47:11 +02:00
Gaëtan Maisse
df737246d7
fix(e2e): remove skip-install option from sb init command
Removed this option because it can hide some issues with dependency installation process of @storybook/cli.
For instance, missing Yarn flags needed to have the CLI working in Yarn workspaces.

Also, as `sb init` is now running `yarn/npm install` the resolution step has to be made before init Storybook.
2020-05-29 20:47:10 +02:00
tooppaaa
41c1e10399 revert yarn 2 changes 2020-05-25 19:13:12 +02:00
tooppaaa
5e8e6cd171 set berry 2020-05-25 18:38:42 +02:00
tooppaaa
e5886f9584 Merge remote-tracking branch 'origin/next' into tech/e2eStab 2020-05-25 18:09:19 +02:00
tooppaaa
6f11a09bba test yarn2 2020-05-25 18:00:46 +02:00
tooppaaa
62ef2d17b5 fix yarn 2 2020-05-25 13:03:02 +02:00
tooppaaa
ddbb875b72 yarn v2 temporary fix 2020-05-25 11:50:38 +02:00
tooppaaa
32441ef8de add missing deps 2020-05-25 11:44:11 +02:00
Paul Grau
286051a852 Remove leftover references to babel-preset-vue 2020-05-25 16:57:35 +09:00
tooppaaa
98ec36d11e Core: fix yarn test command on windows 2020-05-24 14:52:58 +02:00
tooppaaa
615dd52266 Core: Close server when e2e test failed 2020-05-22 09:02:08 +02:00
Michael Shilman
4694999fc6 Merge branch 'next' into feature/e2eZeroConfig 2020-05-21 16:44:34 +08:00
Michael Shilman
bdbd62a010 Build: Increase parallelism 2020-05-20 10:09:31 +08:00
Michael Shilman
ce38dee1b4 Debug CI 2020-05-20 09:01:18 +08:00
Michael Shilman
03136b7c87 Debugging CI 2020-05-20 08:32:33 +08:00
tooppaaa
ab78b076ed Add e2e for zero config 2020-05-19 23:29:56 +02:00
Norbert de Langen
5949c37b3b
Merge branch 'next' into mrmckeb/issue10790
# Conflicts:
#	examples/angular-cli/jest.addon-config.js
#	examples/angular-cli/jest.config.js
#	lib/core/src/server/preview/babel-loader-preview.js
#	scripts/build-storybooks.js
#	yarn.lock
2020-05-19 16:26:26 +02:00
tooppaaa
95380d3105 fix... 2020-05-19 10:12:51 +02:00
tooppaaa
e1ada00150 fix path 2020-05-19 09:41:56 +02:00
tooppaaa
c69e28c12f fix ts 2020-05-19 09:13:46 +02:00
tooppaaa
cd8c903437 set resolutions 2020-05-18 23:52:29 +02:00
tooppaaa
b98dd109f8 fix resolution 2020-05-18 23:03:59 +02:00
tooppaaa
438d543680 add tsconfig for scripts 2020-05-18 22:29:50 +02:00
Norbert de Langen
e7f96c4fcd
FIX deepscan issues 2020-05-18 20:50:47 +02:00
tooppaaa
2d47bfff4c types 2020-05-18 15:10:08 +02:00
tooppaaa
9838f75b5c change run-registry to ts 2020-05-18 15:09:22 +02:00
Norbert de Langen
b78317c5f2
WIP 2020-05-18 14:58:55 +02:00
Norbert de Langen
448bdddd29
Merge branch 'next' into tech/ci-example-overhaul-clean
# Conflicts:
#	examples/angular-cli/jest.config.js
#	lib/cli/src/generators/HTML/index.js
#	lib/cli/src/generators/HTML/template-csf/stories/0-Welcome.stories.js
#	yarn.lock
2020-05-18 14:21:17 +02:00