9884 Commits

Author SHA1 Message Date
Gaëtan Maisse
1497a4773e
fix(cli): fix computation of Angular version in sb init
`packageManager.getVersion` was fetching the latest version from npm
registry instead of checking the version installed locally.
2021-05-14 21:10:11 +02:00
Michael Shilman
8544f2c347 Update git head to 6.3.0-alpha.27, update yarn.lock 2021-05-14 17:46:43 +08:00
Michael Shilman
c48862959a v6.3.0-alpha.27 2021-05-14 17:42:01 +08:00
Michael Shilman
6c7187d1f7 Update root, peer deps, version.ts/json to 6.3.0-alpha.27 [ci skip] 2021-05-14 17:30:15 +08:00
Michael Shilman
c8fecf0ad5 CLI/Angular: Add ng12 + docs inline rendering support 2021-05-14 12:32:54 +08:00
Michael Shilman
330d800cd1 Update git head to 6.3.0-alpha.26, update yarn.lock 2021-05-14 11:03:18 +08:00
Michael Shilman
10b42ef0cd v6.3.0-alpha.26 2021-05-14 10:58:26 +08:00
Michael Shilman
44518891dc Update root, peer deps, version.ts/json to 6.3.0-alpha.26 [ci skip] 2021-05-14 10:46:57 +08:00
Michael Shilman
0e94fa79e7
Merge pull request #14925 from Tomastomaslol/issue-14793-same-key-issue-color-swatches-in-color-control
Addon-controls: Fix duplicate color swatch id's in Color control
2021-05-14 10:43:31 +08:00
Michael Shilman
0c1c392c4f CLI: Add preamble instructions to sb repro 2021-05-14 09:52:18 +08:00
Tomas Nygren
c41c801a3b add index to key when looping color swatches in Color control 2021-05-14 11:50:24 +10:00
Michael Shilman
1dad9cd8ab
Merge pull request #14914 from storybookjs/fix-webpack5-crypto
Webpack5: Always set `resolve.fallback.crypto` to `false`
2021-05-14 09:20:27 +08:00
Gaëtan Maisse
d9b94f606c
repro: add a config for Angular 11 as angular now points to Angular 12
Also, run Angular 11 repro in e2e for now. Will be replaced by Angular 12 as soon as SB will support it.
2021-05-13 20:41:25 +02:00
Michael Shilman
f68a8fede8 Webpack5: Always set resolve.fallback.crypto to false 2021-05-14 00:33:00 +08:00
Michael Shilman
3d21741f06 Update git head to 6.3.0-alpha.25, update yarn.lock 2021-05-13 13:00:20 +08:00
Michael Shilman
9938e2194b v6.3.0-alpha.25 2021-05-13 12:55:25 +08:00
Michael Shilman
986bb1b2a8 Update root, peer deps, version.ts/json to 6.3.0-alpha.25 [ci skip] 2021-05-13 12:47:14 +08:00
Michael Shilman
1f97f82d48
Merge pull request #14281 from KosyanMedia/webpack-5-optimizations
Builder-Webpack5: Use native features instead of plugins
2021-05-13 12:45:48 +08:00
Michael Shilman
09b5fe9d52 Improve post-install instructions 2021-05-13 11:45:03 +08:00
Michael Shilman
a191deac52
Update lib/cli/src/repro.ts
Co-authored-by: Yann Braga <yannbf@gmail.com>
2021-05-13 11:22:22 +08:00
Gaëtan Maisse
fe9839497a
Merge branch 'next' into webpack-5-optimizations 2021-05-12 20:24:30 +02:00
Gaëtan Maisse
ab4436ed87
feat(cli): improve sb repro UX by reducing the logs displayed in console 2021-05-11 22:45:57 +02:00
Michael Shilman
884b161f88 CLI: Repro refinements per feedback 2021-05-11 20:39:15 +08:00
Michael Shilman
abb3b41f8e Update git head to 6.3.0-alpha.24, update yarn.lock 2021-05-11 15:58:35 +08:00
Michael Shilman
a8870128bc v6.3.0-alpha.24 2021-05-11 15:53:33 +08:00
Michael Shilman
d888ceb550 Update root, peer deps, version.ts/json to 6.3.0-alpha.24 [ci skip] 2021-05-11 15:44:44 +08:00
Michael Shilman
3d3d88026e
Merge pull request #14594 from storybookjs/feat/cli-repro-template
CLI: Add repro/link commands for creating/running reproductions
2021-05-11 15:41:51 +08:00
Norbert de Langen
ce10c0d8e5
Merge pull request #14810 from Tomastomaslol/issue-13547-hide-add-ons-if-docsOnly-on-mobile
Fix: only show addons in mobile menu if docsOnly is false
2021-05-11 09:26:59 +02:00
Michael Shilman
cf0852ab51 Merge branch 'next' into feat/cli-repro-template 2021-05-11 15:09:45 +08:00
Michael Shilman
5e76f6fc48 Update git head to 6.3.0-alpha.23, update yarn.lock 2021-05-11 14:32:58 +08:00
Michael Shilman
a3d63d6a3f v6.3.0-alpha.23 2021-05-11 14:27:47 +08:00
Michael Shilman
9b70fb737f Update root, peer deps, version.ts/json to 6.3.0-alpha.23 [ci skip] 2021-05-11 14:25:34 +08:00
Michael Shilman
a843373715
Merge pull request #14790 from Tomastomaslol/issue-14598-tabs-controlling-appearance-of-the-toolbar
UI: Fix tab display when there is only one tab
2021-05-11 13:36:16 +08:00
Michael Shilman
e5aa761772
Merge pull request #14880 from storybookjs/remove-unneeded-dep
Build: Remove outdated `@types/cpy` dependency
2021-05-11 13:23:50 +08:00
Tomas Nygren
d9aff50f6e add story scenario docs only for mobile layout 2021-05-11 10:51:06 +10:00
Gaëtan Maisse
27fa6e1889
refactor(repro): make the generator responsible for mkdir the repro directory if needed 2021-05-10 22:49:15 +02:00
Gaëtan Maisse
b005bc0142
chore: remove outdated @types/cpy dependency
➤ YN0061: │ @types/cpy@npm:7.1.3 is deprecated: This is a stub types definition for cpy. cpy provides its own type definitions, so you don't need @types/cpy installed!
2021-05-10 21:53:53 +02:00
Gaëtan Maisse
d999f14929
feat(repro): extract a proper name from repro git URL
Also add a tmp hack to make CRA work because some peer deps are missing in cra preset and so deps are not resolved correctly when linking the monorepo.
2021-05-10 21:42:34 +02:00
Gaëtan Maisse
63ea058a9b
Display DOM Event/CustomEvent data in Addon Actions
A workaround has been found in `telejson` to keep interesting data when serializing DOM Event/CustomEvent. For details, see https://github.com/storybookjs/telejson/pull/63
2021-05-10 18:44:24 +02:00
Michael Shilman
12f4b8ae4a Extract addon-google-analytics from monorepo 2021-05-10 22:17:33 +08:00
Michael Shilman
65fe51e0f5 Update git head to 6.3.0-alpha.22, update yarn.lock 2021-05-10 21:54:48 +08:00
Michael Shilman
5c8a5090da v6.3.0-alpha.22 2021-05-10 21:49:00 +08:00
Michael Shilman
692afeb19a Update root, peer deps, version.ts/json to 6.3.0-alpha.22 [ci skip] 2021-05-10 21:39:42 +08:00
Michael Shilman
5d0d8a34ad Merge branch 'next' into 14831-extract-addon-knobs 2021-05-10 20:36:08 +08:00
Michael Shilman
ddcb3bd37e Extract addon-knobs from monorepo 2021-05-10 16:50:58 +08:00
Michael Shilman
ccb7b673fa Fix CRA linking to match ../storybook-repros structure 2021-05-10 15:38:02 +08:00
Michael Shilman
16d58fe836 Fix appName in both repro and e2e 2021-05-10 15:08:37 +08:00
Gaëtan Maisse
84d26281d3
feat(repro): deactivate mithril and rax, fix preact generator 2021-05-09 20:35:57 +02:00
Gaëtan Maisse
9087411fec
Merge branch 'next' into feat/cli-repro-template 2021-05-09 19:21:46 +02:00
Gaëtan Maisse
426bbe55ab
e2e: use config from repro instead of duplicating them 2021-05-09 19:21:37 +02:00