Michael Shilman
2276d03ae8
Update version.ts to 6.0.0-alpha.18
2020-02-22 04:41:45 +08:00
Michael Shilman
480370557a
v6.0.0-alpha.18
2020-02-22 04:31:14 +08:00
Michael Shilman
98bd05fb93
Update version.ts to 6.0.0-alpha.17
2020-02-21 12:09:12 +08:00
Michael Shilman
36327ee08e
v6.0.0-alpha.17
2020-02-21 11:58:31 +08:00
Michael Shilman
b2d08977a3
v6.0.0-alpha.16
2020-02-21 11:45:13 +08:00
Gaëtan Maisse
c42b1db400
refactor: regenerator-runtime
as dependencies
...
`regenerator-runtime` is used as polyfill to backport async/await and generator to old browser (like core-js).
Any package that use async/await or generator will require `regenerator-runtime` at runtime without any import in the source (it's added by babel during transpilation).
To avoid any issue in the future `regenerator-runtime` is added to almost all packages, as it has been done for `core-js`
What I did?
- Add it when it was missing
- Move it from peerDep to dep when needed
- Use the same, and latest, version for all packages
2020-02-20 13:52:02 +01:00
Michael Shilman
f04b027da7
Update version.ts to 6.0.0-alpha.15
2020-02-20 12:04:30 +08:00
Michael Shilman
efd0256348
v6.0.0-alpha.15
2020-02-20 11:54:32 +08:00
Tom Coleman
5b56f443ee
Merge branch 'next' into refactor-client-api
2020-02-20 11:53:20 +11:00
Tom Coleman
f9f0b82594
Merge pull request #9868 from storybookjs/client-api-hot-refresh
...
Core: Add skip dispose option to ClientApi
2020-02-20 09:20:38 +11:00
Norbert de Langen
e8c41383a1
Merge branch 'next' into refactor-client-api
2020-02-19 15:13:13 +01:00
Gytis Vinclovas
fe1d45830f
Update types.ts
2020-02-19 13:04:47 +02:00
Tom Coleman
0a2d972673
Ensure our generated entry loads *after* polyfills
2020-02-19 21:43:26 +11:00
Tom Coleman
dd103ad87c
Extract the framework to an initial entry to ensure it *always* runs first.
...
cc @shilman
2020-02-19 20:40:13 +11:00
Michael Shilman
430cb60570
Update version.ts to 6.0.0-alpha.14
2020-02-19 07:03:02 +08:00
Michael Shilman
4341bc65f7
v6.0.0-alpha.14
2020-02-19 06:53:15 +08:00
Gaëtan Maisse
7e486a554e
Merge pull request #9902 from storybookjs/add-downlevel-dts
...
Fix: Add downlevel dts
2020-02-18 22:29:11 +01:00
Gaëtan Maisse
781a472562
Merge pull request #9866 from storybookjs/yarn-2-cli-sb-init-compatibility
...
CLI: Add Yarn 2 compatibility
2020-02-18 20:59:25 +01:00
Gaëtan Maisse
7e522c65b9
fix: add missing typesVersions
for TS<3.5 compatibilty
...
(cherry picked from commit 363c3d9bd764edfe68fd60de4a21daae1b3f77f3)
2020-02-18 20:40:06 +01:00
Lynn Chyi
23b7d9fde9
Add ts3.5 to package.json's "files" attr
...
(cherry picked from commit f0edad2d0cb5c74d2f03a13e1ca1cb27287f3625)
2020-02-18 20:37:59 +01:00
Lynn Chyi
d0289d919d
Update packages w typesVersions for compatibility
...
(cherry picked from commit 3667fec36991c0315ac54f2c6b5dffcc098371b7)
2020-02-18 20:37:11 +01:00
Tom Coleman
95a12ce116
Ensure the store is initiated before loading store APIs
2020-02-18 21:42:14 +11:00
Tom Coleman
884b865779
Allow importing addParameters/Decorators from client-api after all
2020-02-18 17:21:41 +11:00
Tom Coleman
ef188192dd
Linting fixes
2020-02-18 16:08:23 +11:00
Tom Coleman
0dd3937388
Fix type problem with add()
2020-02-18 15:21:49 +11:00
Tom Coleman
93ad5e5821
Throw from global addDecorator etc
2020-02-18 13:22:17 +11:00
Tom Coleman
40190580a6
Describe changes in MIGRATION.md
2020-02-18 13:14:32 +11:00
Tom Coleman
b981877e78
Remove runtime parameters
2020-02-18 12:57:50 +11:00
Tom Coleman
2717fb02cb
Switch presets to exporting decorators
2020-02-18 12:37:56 +11:00
Tom Coleman
1cf92cc598
Simply parameter handling to treat arrays as scalars
2020-02-18 12:32:54 +11:00
Tom Coleman
70d4381f74
Fix hooks test
2020-02-18 12:32:21 +11:00
jamesgeorge007
2bf90aae28
fix: parse args the native way
2020-02-17 22:23:24 +05:30
Norbert de Langen
737691d132
Merge pull request #9881 from storybookjs/feat/migrate-dep
...
chore(deps): Migrate to leven
2020-02-17 14:48:25 +01:00
jamesgeorge007
c674a3868e
fix: ignore rule
2020-02-17 17:01:21 +05:30
jamesgeorge007
6e36ee543e
fix: lint
2020-02-17 17:00:40 +05:30
jamesgeorge007
458c70a0d5
refactor: use inline approach
2020-02-17 16:23:02 +05:30
jamesgeorge007
de0c49c9b7
feat: recommend commands
2020-02-17 16:22:32 +05:30
jamesgeorge007
93f143c75d
chore: remove didyoumean
2020-02-17 16:19:14 +05:30
jamesgeorge007
77db09eb00
chore: add leven as a dep
2020-02-17 16:17:24 +05:30
Norbert de Langen
b1500abff1
A few TS improvements I found whilst working on inception
2020-02-17 11:16:50 +01:00
Tom Coleman
332be430a7
Add ability to export parameters + decorators from config files
2020-02-17 16:59:08 +11:00
Tom Coleman
35639aa4fb
Remove option to control merged fields on parameters.
...
Always merge to arbitrary depth.
2020-02-17 16:37:39 +11:00
Tom Coleman
b8f36d974f
Fix up client_api tests
2020-02-17 12:14:27 +11:00
Tom Coleman
7b6e9365d7
Add some basic tests of new story_store behaviour
2020-02-17 12:11:33 +11:00
Tom Coleman
9d3c14e5ee
Documented (current) behaviour of decorators + params through tests
2020-02-17 12:00:47 +11:00
Tom Coleman
3a54cd3114
Bring global/local metadata into the story store
...
Bring this handling all into one place and make it easier to understand what is going on. Still needs tests and to resolve some loose ends.
2020-02-17 11:40:30 +11:00
Tom Coleman
ba0633edae
Fix linting and remove redundant test
2020-02-17 10:04:15 +11:00
Tom Coleman
af9a09cc35
Refactor story_store.test slightly to get rid of linting errors
2020-02-17 10:04:04 +11:00
Gytis Vinclovas
9df7afce00
Update client_api.ts
2020-02-16 18:39:06 +02:00
Gytis Vinclovas
b2e8d0d108
Update lib/client-api/src/client_api.test.ts
...
Co-Authored-By: Tom Coleman <tom@thesnail.org>
2020-02-16 18:37:59 +02:00