Michael Shilman
5083b9ba59
Merge pull request #11792 from floAr/stop-shipping-ts-files-for-storyshots
...
Storyshots: Don't ship typescript files in dist
2020-08-09 18:18:45 +08:00
tooppaaa
6349031e92
remove angualr v7 v8 e2e (typings issues)
2020-08-07 12:30:39 +02:00
tooppaaa
3b57d46371
Better typings for react
2020-08-05 10:44:25 +02:00
Florian Uhde
95925f4c0c
fixed small typo
2020-08-05 06:17:58 +02:00
Florian Uhde
f621436cfc
check if we are in the storyshot folder, fixes #11377
2020-08-04 12:23:41 +02:00
Gaëtan Maisse
6c9f09f25e
refactor(e2e): rename tests folders to {{name}}-{{version}}
...
It was previously `{{name}}-v{{version}}` but the `v` isn't needed as we are using `latest` version in many and `vX-lts` for angular.
2020-07-25 19:59:01 +02:00
Gaëtan Maisse
cd1b48f245
feat(e2e): add --use-local-sb-cli
flag to run E2E tests with local @storybook/cli package
2020-07-25 19:59:00 +02:00
Gaëtan Maisse
359ee22983
chore(e2e): comment HTML e2e config as stories used in CLI need to be updated
2020-07-25 19:59:00 +02:00
Gaëtan Maisse
dfaa3ac87e
feat(e2e): remove riot@3 from e2e config list
...
Example stories for riot need to be updated.
Moreover, they should be migrated to riot@4.
2020-07-25 19:59:00 +02:00
Gaëtan Maisse
ea8c5ee428
feat(e2e): use latest version of Yarn 2 when running tests
...
Using `latest` keyword with yarn 1 resolves to Yarn 1.x but we need Yarn 2.
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
b1ad174bf3
refactor(e2e): make yarn add/install
command run in e2e compatible with Yarn 2
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
6515930833
refactor(e2e): use base CRA tests config for Yarn 2 instead of a custom one
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
7e95114d79
feat(e2e): introduce --use-yarn-2
option to run tests with Yarn 2
2020-07-25 19:58:57 +02:00
Tom Coleman
a59987cafc
Deploy the next
branch of frontpage too
2020-07-08 21:32:39 +10:00
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