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
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
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
Michael Shilman
ba5430acb5
v6.0.0-alpha.12
2020-02-14 01:00:02 +08:00
Michael Shilman
f46cdcf7f4
v6.0.0-alpha.11
2020-02-13 12:07:31 +08:00
Michael Shilman
7e8cb49e0d
Merge pull request #9810 from storybookjs/9507-remove-legacy-data
...
Core: Remove legacy data from Story Store
2020-02-12 10:26:44 +08:00
Tom Coleman
98362291db
Neater types
2020-02-12 09:59:23 +11:00
Tom Coleman
69e6f8cdd9
Don't use Object.assign
2020-02-12 09:59:02 +11:00
Tom Coleman
f94ae07269
Remove redundant stuff from story_store
2020-02-12 09:56:37 +11:00
Michael Shilman
558371ae9d
v6.0.0-alpha.10
2020-02-11 22:29:59 +08:00
Tom Coleman
3d512f7e87
Reproduce old behaviour
2020-02-11 16:31:53 +11:00
Tom Coleman
2357bca92b
Clean up Story Store and remove legacy data
...
Fixes #9507
2020-02-11 16:21:26 +11:00
Michael Shilman
4f0a75c824
v6.0.0-alpha.9
2020-02-09 01:24:54 +08:00
Michael Shilman
582b5c4f43
v6.0.0-alpha.8
2020-02-08 00:22:00 +08:00
Michael Shilman
45c0400457
v6.0.0-alpha.7
2020-02-07 23:46:35 +08:00
Michael Shilman
34bfe84397
v6.0.0-alpha.6
2020-02-05 07:42:41 +08:00
Michael Shilman
7393fc18ce
v6.0.0-alpha.5
2020-02-04 16:51:13 +08:00
Gaëtan Maisse
a978bd2985
chore: add missing or fix implicit transitive peerDependencies
...
Yarn 2 introduce an error for this during `yarn install`: YN0002 - MISSING_PEER_DEPENDENCY
For details see https://dev.to/arcanis/implicit-transitive-peer-dependencies-ed0
TL;DR: If you write a package that depends on Foo, and if Foo has a peer dependency, then you must provide it in either of the dependencies or peerDependencies fields. You won't "implicitly inherit" the peer dependencies declared in Foo.
2020-02-04 07:45:12 +01:00
Michael Shilman
d7f493b305
v6.0.0-alpha.4
2020-02-03 23:47:53 +08:00
Norbert de Langen
746b2a4f11
Merge branch 'next' into upgrades
...
# Conflicts:
# addons/essentials/package.json
# addons/notes/package.json
# addons/storyshots/storyshots-core/package.json
# app/angular/package.json
# app/html/package.json
# app/marko/package.json
# app/preact/package.json
# app/react/package.json
# app/vue/package.json
# app/web-components/package.json
# examples/riot-kitchen-sink/package.json
# examples/vue-kitchen-sink/package.json
# lib/cli/package.json
# lib/core/package.json
# yarn.lock
2020-02-03 13:40:26 +01:00
Michael Shilman
7f11ee2d76
v6.0.0-alpha.3
2020-02-02 13:47:43 +08:00
Norbert de Langen
d5b6a4f0a1
UPGRADE ts-dedent
2020-01-30 19:27:42 +01:00
Norbert de Langen
c4945f315e
UPGRADE webpack
2020-01-30 16:50:18 +01:00
Michael Shilman
779ef4791d
v6.0.0-alpha.2
2020-01-30 21:36:20 +08:00
Michael Shilman
81cb58e2f0
v6.0.0-alpha.1
2020-01-23 20:19:16 +08:00
Michael Shilman
0cccdabb53
v6.0.0-alpha.0
2020-01-21 22:18:48 +08:00
atanasster
28d4a034c9
api: adding useSharedState, useStoryState
2020-01-20 16:07:47 -05:00
Norbert de Langen
3026db9303
Next 6.0.0 ( #9212 )
...
Next 6.0.0
2020-01-20 11:25:55 +01:00
Norbert de Langen
9ac9da64cd
Merge branch 'next' into next-6.0.0
...
# Conflicts:
# addons/cssresources/package.json
# examples/dev-kits/package.json
# examples/rax-kitchen-sink/package.json
2020-01-20 09:06:35 +01:00
Gaëtan Maisse
36ee762ec7
fix: clean usage of @types/webpack-env
dep in all packages
...
- `@types/webpack-env` must be defined as `dependencies` in packages that export a type/function using typings from `@types/webpack-env` (it is often `NodeModule`). In that case `/// <reference types="webpack-env" />` is present in some files of the `dist` folder of the lib. Example: `lib/client-api`.
- `@types/webpack-env` must be defined as `devDependencies` in packages that use its typings internally but does not expose anything related to it. Many addons need the type because they use `module.hot` function. Example: `addons/a11y`
- `webpack-env` should be removed from "compilerOptions.types" key of `tsconfig.json` of packages that don't need it.
I also bump `@types/webpack-env` to ^1.15.0 to have the same version all across the monorepo
2020-01-20 08:41:44 +01:00
Michael Shilman
d6d745006f
v5.3.7
2020-01-20 14:51:39 +08:00
Michael Shilman
17c52fb503
Merge branch 'next'
2020-01-20 14:45:27 +08:00
Michael Shilman
a6c2a85183
Core: Fix legacy story URLs
2020-01-20 12:34:18 +08:00
Michael Shilman
b609ebbec1
v5.3.6
2020-01-17 16:10:45 +08:00
Michael Shilman
38351a9420
Core: Update tests for docs-only stories
2020-01-17 12:50:14 +08:00
Michael Shilman
77364bec0e
Core: Fix default sorting of docs-only stories
2020-01-17 12:26:59 +08:00
Michael Shilman
f32b34b493
v5.3.5
2020-01-17 03:28:19 +08:00
Michael Shilman
25850e1e34
v5.3.4
2020-01-16 14:17:49 +08:00
Michael Shilman
3716f17413
Core: Fix default story sort
2020-01-16 11:54:02 +08:00