27542 Commits

Author SHA1 Message Date
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
Gaëtan Maisse
10b34eea56
fix(cli): fix init command when run in a Yarn workspace env
Add `--ignore-workspace-root-check` to avoid Yarn error when adding dependencies to the workspace root.
2020-05-29 20:44:09 +02:00
Michael Shilman
a7f7010263
Merge pull request #10984 from matheo/fix/compodoc-parsing
Addon-docs: Handle JSON.parse exception for Angular union types
2020-05-30 01:53:50 +08:00
Mateo Tibaquira
fb6d2aee3e fix(docs): prevent exception of JSON.parse for some union types 2020-05-29 12:06:18 -05:00
Michael Shilman
14d6699c71 6.0.0-beta.18 next.json version file 2020-05-29 23:09:00 +08:00
Michael Shilman
91db0cbff0 Update version.ts to 6.0.0-beta.18 2020-05-29 23:05:08 +08:00
Michael Shilman
27f45503e9 v6.0.0-beta.18 v6.0.0-beta.18 2020-05-29 22:55:02 +08:00
Michael Shilman
4d453a3b5f Update root and peer dependencies to 6.0.0-beta.18 2020-05-29 21:58:58 +08:00
Michael Shilman
418ca2acf7 6.0.0-beta.18 changelog 2020-05-29 21:58:48 +08:00
Michael Shilman
d19e091d22
Merge pull request #10981 from storybookjs/fix/stories-changing
Core: Fix HMR for navigation sidebar in UI
2020-05-29 21:57:51 +08:00
Michael Shilman
63ef7d2fd1
Merge pull request #10980 from storybookjs/10938-fix-local-addon-extensions
Core: Fix `register.tsx` as manager code in preset heuristic
2020-05-29 21:38:36 +08:00
Norbert de Langen
dfaa4275d9
REMOVE merging old storiesHash into new
This caused removed / renamed stories to persist
2020-05-29 11:09:37 +02:00
Michael Shilman
1bca31444b
Merge pull request #10910 from storybookjs/10891-send-global-args-with-SET_STORIES
Core: Send global args with set stories
2020-05-29 16:02:36 +08:00
Michael Shilman
65ab7e2387 Core: Fix register.tsx/jsx as manager code in preset heuristic 2020-05-29 15:55:49 +08:00
Tom Coleman
5786679037 Update tests with RENDER_CURRENT_STORY behaviour 2020-05-29 16:22:37 +10:00
Michael Shilman
a38451fdda
Merge pull request #10974 from luke-j/next
Core: Log swallowed errors when requiring stories
2020-05-29 10:47:38 +08:00
Michael Shilman
573b3dbe7e
Merge pull request #10926 from storybookjs/fix/valid-globs
Core: Support valid globs
2020-05-29 10:44:15 +08:00
Luke Jones
11f8244467
Output errors otherwise swallowed when requiring stories 2020-05-29 11:31:49 +10:00
Michael Shilman
6a4a74c8c6
Update README.md 2020-05-29 00:55:14 +08:00
Norbert de Langen
0be872747d
Update lib/core/src/server/preview/to-require-context.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-05-28 15:30:19 +02:00
Norbert de Langen
db6e46ee10
Update addons/docs/docs/docspage.md
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-05-28 15:30:11 +02:00
Michael Shilman
e47a45b923 Merge branch 'next' of github.com:storybookjs/storybook into next 2020-05-28 18:43:12 +08:00
Norbert de Langen
c4600f67f8
FIX versions.ts 2020-05-28 11:35:22 +02:00
Norbert de Langen
4519fbbb23
FIX version.ts 2020-05-28 11:29:53 +02:00
Norbert de Langen
85c532ea7f
sort package.json 2020-05-28 11:22:31 +02:00
Tom Coleman
f7d95dd9ac Emit RENDER_CURRENT_STORY again 2020-05-28 19:16:28 +10:00
Tom Coleman
569ec730d8 Wire in initial global Args 2020-05-28 19:14:12 +10:00
Tom Coleman
a86c083493 Add globalArgs to SET_STORIES 2020-05-28 19:14:06 +10:00
Norbert de Langen
c9423859b2
Merge branch 'next' into fix/valid-globs
# Conflicts:
#	lib/core/package.json
2020-05-28 10:40:53 +02:00
Norbert de Langen
0987efe140
ADD deprecation warning && migrate to TS 2020-05-28 10:39:04 +02:00
Norbert de Langen
0552ac3364
Update lib/core/src/server/preview/to-require-context.js
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-05-28 10:19:40 +02:00
Michael Shilman
e2d58867a4 6.0.0-beta.17 next.json version file 2020-05-28 12:52:38 +08:00
Michael Shilman
2592ca07e4 Update version.ts to 6.0.0-beta.17 2020-05-28 12:44:11 +08:00
Michael Shilman
e6bdd47438 v6.0.0-beta.17 v6.0.0-beta.17 2020-05-28 12:34:03 +08:00
Michael Shilman
bd0dc965a1 Update root and peer dependencies to 6.0.0-beta.17 2020-05-28 12:28:41 +08:00
Michael Shilman
05aea00dfb 6.0.0-beta.17 changelog 2020-05-28 12:28:30 +08:00
Michael Shilman
93658d5fed
Merge pull request #10946 from storybookjs/10583-controls-for-angular
Addon-controls: Angular support
2020-05-28 12:27:00 +08:00
Michael Shilman
056c04a9a2
Merge pull request #10953 from storybookjs/10585-controls-for-web-components
Addon-controls: Web-components support
2020-05-28 12:26:49 +08:00
Michael Shilman
fc0f6bea52 Addon-controls: Fix paramKey handling for tab auto-configurability 2020-05-28 12:00:38 +08:00
Michael Shilman
62882fb42b Addon-docs: Update Angular prop extraction snapshots 2020-05-28 11:59:23 +08:00
Michael Shilman
8a20f4799d Update snapshot 2020-05-28 11:54:31 +08:00
Michael Shilman
52bb7783ae Addon-docs: Fix web-components arg extraction tests 2020-05-28 11:51:22 +08:00
Michael Shilman
79eacdc5e3 Merge branch 'next' into 10583-controls-for-angular 2020-05-28 11:37:47 +08:00
Michael Shilman
ab44729d75 Addon-controls: Add support for Angular enums/arrays/object 2020-05-28 11:34:30 +08:00
Michael Shilman
596eaadef0 Addon-controls: Fix react duplicate key warning 2020-05-28 10:54:51 +08:00
Michael Shilman
236da4ef3c Addon-controls: Web-components support 2020-05-28 04:22:21 +08:00
Michael Shilman
8c00d5cd54 Merge branch 'next' into fix/valid-globs 2020-05-28 03:24:38 +08:00
Norbert de Langen
abc7f4e747
FIX storyshots 2020-05-27 20:27:52 +02:00