mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:51:18 +08:00
Merge branch '5.0.0' into tech/overhaul-ui
# Conflicts: # addons/a11y/package.json # addons/actions/package.json # addons/backgrounds/package.json # addons/cssresources/package.json # addons/events/package.json # addons/google-analytics/package.json # addons/info/package.json # addons/jest/package.json # addons/knobs/package.json # addons/knobs/src/components/__tests__/Panel.js # addons/links/package.json # addons/notes/package.json # addons/ondevice-backgrounds/package.json # addons/ondevice-knobs/package.json # addons/ondevice-notes/package.json # addons/options/package.json # addons/storyshots/storyshots-core/package.json # addons/storyshots/storyshots-puppeteer/package.json # addons/storysource/package.json # addons/viewport/package.json # app/react/package.json # examples/angular-cli/package.json # examples/cra-kitchen-sink/package.json # examples/mithril-kitchen-sink/package.json # examples/official-storybook/package.json # examples/preact-kitchen-sink/package.json # lib/addons/package.json # lib/channel-websocket/package.json # lib/client-logger/src/index.js # lib/components/package.json # lib/core-events/index.js # lib/core/package.json # lib/ui/package.json # lib/ui/src/modules/ui/components/stories_panel/stories_tree/__snapshots__/index.stories.storyshot # lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators.js # lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.js # lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.test.js # yarn.lock
This commit is contained in:
commit
2178a07e77
24
CHANGELOG.md
24
CHANGELOG.md
@ -1,3 +1,27 @@
|
||||
## 4.2.0-alpha.10 (January 6, 2019)
|
||||
|
||||
### Features
|
||||
|
||||
* Addon-a11y: fix addon, add ability to configure context ([#5101](https://github.com/storybooks/storybook/pull/5101))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Addon-knobs: Render non-grouped knobs in the ALL tab ([#5106](https://github.com/storybooks/storybook/pull/5106))
|
||||
* Addon-actions: import utils directly to prevent import cycles ([#5107](https://github.com/storybooks/storybook/pull/5107))
|
||||
|
||||
### Maintenance
|
||||
|
||||
* TypeScript: Migrate @storybook/node-logger ([#5153](https://github.com/storybooks/storybook/pull/5153))
|
||||
* TypeScript: Migrate @storybook/core-events ([#5140](https://github.com/storybooks/storybook/pull/5140))
|
||||
|
||||
### Dependency Upgrades
|
||||
|
||||
* bump puppeteer from 1.9.0 to 1.11.0 ([#5119](https://github.com/storybooks/storybook/pull/5119))
|
||||
* Bump lerna from 3.6.0 to 3.8.4 ([#5142](https://github.com/storybooks/storybook/pull/5142))
|
||||
* Bump svelte from 2.15.3 to 2.16.0 ([#5145](https://github.com/storybooks/storybook/pull/5145))
|
||||
* Bump react-dev-utils from 6.1.1 to 7.0.0 ([#5146](https://github.com/storybooks/storybook/pull/5146))
|
||||
* Bump react-is from 16.6.3 to 16.7.0 ([#5144](https://github.com/storybooks/storybook/pull/5144))
|
||||
|
||||
## 4.2.0-alpha.9 (January 4, 2019)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "a11y addon for storybook",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -26,10 +26,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"axe-core": "^3.1.2",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Action Logger addon for storybook",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -22,9 +22,9 @@
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"emotion-theming": "^10.0.5",
|
||||
"fast-deep-equal": "^2.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-backgrounds",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "A storybook addon to show different backgrounds for your preview",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -26,10 +26,10 @@
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"eventemitter3": "^3.1.0",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-centered",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook decorator to center components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-cssresources",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "A storybook addon to switch between css resources at runtime for your story",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,9 +25,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/styled": "10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
"prop-types": "^15.6.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-events",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Add events to your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,8 +24,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"format-json": "^1.0.3",
|
||||
"prop-types": "^15.6.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-google-analytics",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook addon for google analytics",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -20,8 +20,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
"react-ga": "^2.5.3"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-graphql",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook addon to display the GraphiQL IDE",
|
||||
"keywords": [
|
||||
"addon",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-info",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "A Storybook addon to show additional information for your stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -22,9 +22,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
"marksy": "^6.1.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-jest",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,8 +28,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
"prop-types": "^15.6.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-knobs",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook Addon Prop Editor Component",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -23,9 +23,9 @@
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"copy-to-clipboard": "^3.0.8",
|
||||
"core-js": "^2.6.1",
|
||||
"escape-html": "^1.0.3",
|
||||
|
@ -25,7 +25,9 @@ const PanelWrapper = styled.div({
|
||||
export default class KnobPanel extends PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = { knobs: {} };
|
||||
this.state = {
|
||||
knobs: {},
|
||||
};
|
||||
this.options = {};
|
||||
|
||||
this.lastEdit = getTimestamp();
|
||||
@ -142,9 +144,9 @@ export default class KnobPanel extends PureComponent {
|
||||
const groups = {};
|
||||
const groupIds = [];
|
||||
|
||||
let knobsArray = Object.keys(knobs).filter(key => knobs[key].used);
|
||||
const knobKeysArray = Object.keys(knobs).filter(key => knobs[key].used);
|
||||
|
||||
knobsArray
|
||||
knobKeysArray
|
||||
.filter(key => knobs[key].groupId)
|
||||
.forEach(key => {
|
||||
const knobKeyGroupId = knobs[key].groupId;
|
||||
@ -153,6 +155,8 @@ export default class KnobPanel extends PureComponent {
|
||||
render: ({ active: groupActive, selected }) => (
|
||||
<TabWrapper active={groupActive || selected === DEFAULT_GROUP_ID}>
|
||||
<PropForm
|
||||
// false positive
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
knobs={knobsArray.filter(knob => knob.groupId === knobKeyGroupId)}
|
||||
onFieldChange={this.handleChange}
|
||||
onFieldClick={this.handleClick}
|
||||
@ -164,11 +168,30 @@ export default class KnobPanel extends PureComponent {
|
||||
});
|
||||
|
||||
groups[DEFAULT_GROUP_ID] = {
|
||||
render: () => null,
|
||||
render: ({ active: groupActive }) => {
|
||||
// false positive
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
const defaultKnobs = knobsArray.filter(
|
||||
knob => !knob.groupId || knob.groupId === DEFAULT_GROUP_ID
|
||||
);
|
||||
|
||||
if (defaultKnobs.length === 0) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<TabWrapper active={groupActive}>
|
||||
<PropForm
|
||||
knobs={defaultKnobs}
|
||||
onFieldChange={this.handleChange}
|
||||
onFieldClick={this.handleClick}
|
||||
/>
|
||||
</TabWrapper>
|
||||
);
|
||||
},
|
||||
title: DEFAULT_GROUP_ID,
|
||||
};
|
||||
|
||||
knobsArray = knobsArray.map(key => knobs[key]);
|
||||
const knobsArray = knobKeysArray.map(key => knobs[key]);
|
||||
|
||||
if (knobsArray.length === 0) {
|
||||
return <Placeholder>NO KNOBS</Placeholder>;
|
||||
|
@ -160,4 +160,119 @@ describe('Panel', () => {
|
||||
// expect(testApi.setQueryParams).toHaveBeenCalledWith(paramsChange);
|
||||
});
|
||||
});
|
||||
|
||||
describe('groups', () => {
|
||||
const testChannel = {
|
||||
on: jest.fn(),
|
||||
emit: jest.fn(),
|
||||
removeListener: jest.fn(),
|
||||
};
|
||||
const testApi = {
|
||||
getQueryParam: jest.fn(),
|
||||
setQueryParams: jest.fn(),
|
||||
onStory: jest.fn(() => () => {}),
|
||||
};
|
||||
|
||||
it('should have no tabs when there are no groupIds', () => {
|
||||
// Unfortunately, a shallow render will not invoke the render() function of the groups --
|
||||
// it thinks they are unnamed function components (what they effectively are anyway).
|
||||
//
|
||||
// We have to do a full mount.
|
||||
|
||||
const wrapper = mount(<Panel channel={testChannel} api={testApi} active />);
|
||||
try {
|
||||
wrapper.setState({
|
||||
knobs: {
|
||||
foo: {
|
||||
name: 'foo',
|
||||
defaultValue: 'test',
|
||||
used: true,
|
||||
// no groupId
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
expect(wrapper.find(TabsState).exists()).toBeFalsy();
|
||||
|
||||
const formWrapper = wrapper.find(PropForm);
|
||||
const knobs = formWrapper.map(formInstanceWrapper => formInstanceWrapper.prop('knobs'));
|
||||
expect(knobs).toMatchSnapshot();
|
||||
} finally {
|
||||
wrapper.unmount();
|
||||
}
|
||||
});
|
||||
|
||||
it('should have one tab per groupId and an empty ALL tab when all are defined', () => {
|
||||
const wrapper = mount(<Panel channel={testChannel} api={testApi} active />);
|
||||
try {
|
||||
wrapper.setState({
|
||||
knobs: {
|
||||
foo: {
|
||||
name: 'foo',
|
||||
defaultValue: 'test',
|
||||
used: true,
|
||||
groupId: 'foo',
|
||||
},
|
||||
bar: {
|
||||
name: 'bar',
|
||||
defaultValue: 'test2',
|
||||
used: true,
|
||||
groupId: 'bar',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const titles = wrapper
|
||||
.find(TabsState)
|
||||
// TabsState will replace the <div/> that Panel actually makes with a <Tab/>
|
||||
.find('Tab')
|
||||
.map(child => child.prop('name'));
|
||||
// the "ALL" tab is always defined
|
||||
expect(titles).toEqual(['foo', 'bar', 'ALL']);
|
||||
|
||||
const knobs = wrapper.find(PropForm).map(propForm => propForm.prop('knobs'));
|
||||
// but it should not have its own PropForm in this case
|
||||
expect(knobs).toHaveLength(titles.length - 1);
|
||||
expect(knobs).toMatchSnapshot();
|
||||
} finally {
|
||||
wrapper.unmount();
|
||||
}
|
||||
});
|
||||
|
||||
it('the ALL tab should have its own additional content when there are knobs both with and without a groupId', () => {
|
||||
const wrapper = mount(<Panel channel={testChannel} api={testApi} active />);
|
||||
try {
|
||||
wrapper.setState({
|
||||
knobs: {
|
||||
foo: {
|
||||
name: 'foo',
|
||||
defaultValue: 'test',
|
||||
used: true,
|
||||
groupId: 'foo',
|
||||
},
|
||||
bar: {
|
||||
name: 'bar',
|
||||
defaultValue: 'test2',
|
||||
used: true,
|
||||
// no groupId
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const titles = wrapper
|
||||
.find(TabsState)
|
||||
// TabsState will replace the <div/> that Panel actually makes with a <Tab/>
|
||||
.find('Tab')
|
||||
.map(child => child.prop('name'));
|
||||
expect(titles).toEqual(['foo', 'ALL']);
|
||||
|
||||
const knobs = wrapper.find(PropForm).map(propForm => propForm.prop('knobs'));
|
||||
// there are props with no groupId so ALL should also have its own PropForm
|
||||
expect(knobs).toHaveLength(titles.length);
|
||||
expect(knobs).toMatchSnapshot();
|
||||
} finally {
|
||||
wrapper.unmount();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -0,0 +1,54 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Panel groups should have no tabs when there are no groupIds 1`] = `
|
||||
Array [
|
||||
Array [
|
||||
Object {
|
||||
"defaultValue": "test",
|
||||
"name": "foo",
|
||||
"used": true,
|
||||
},
|
||||
],
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`Panel groups should have one tab per groupId and an empty ALL tab when all are defined 1`] = `
|
||||
Array [
|
||||
Array [
|
||||
Object {
|
||||
"defaultValue": "test",
|
||||
"groupId": "foo",
|
||||
"name": "foo",
|
||||
"used": true,
|
||||
},
|
||||
],
|
||||
Array [
|
||||
Object {
|
||||
"defaultValue": "test2",
|
||||
"groupId": "bar",
|
||||
"name": "bar",
|
||||
"used": true,
|
||||
},
|
||||
],
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`Panel groups the ALL tab should have its own additional content when there are knobs both with and without a groupId 1`] = `
|
||||
Array [
|
||||
Array [
|
||||
Object {
|
||||
"defaultValue": "test",
|
||||
"groupId": "foo",
|
||||
"name": "foo",
|
||||
"used": true,
|
||||
},
|
||||
],
|
||||
Array [
|
||||
Object {
|
||||
"defaultValue": "test2",
|
||||
"name": "bar",
|
||||
"used": true,
|
||||
},
|
||||
],
|
||||
]
|
||||
`;
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-links",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Story Links addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -21,9 +21,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-notes",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Write notes for your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -23,9 +23,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"markdown-to-jsx": "^6.9.0",
|
||||
"prop-types": "^15.6.2",
|
||||
"util-deprecate": "^1.0.2"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-ondevice-backgrounds",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "A storybook addon to show different backgrounds for your preview",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -23,7 +23,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"prop-types": "^15.6.2"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-ondevice-knobs",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Display storybook story knobs on your deviced.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -20,7 +20,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"deep-equal": "^1.0.1",
|
||||
"prop-types": "^15.6.2",
|
||||
@ -30,7 +30,7 @@
|
||||
"react-native-switch": "^1.5.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"react": "*",
|
||||
"react-native": "*"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-ondevice-notes",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Write notes for your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -18,7 +18,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"prop-types": "^15.6.2",
|
||||
"react-native-simple-markdown": "^1.1.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-options",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Options addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -20,7 +20,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"util-deprecate": "^1.0.2"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,7 +24,7 @@
|
||||
"storybook": "start-storybook -p 6006"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"glob": "^7.1.3",
|
||||
"global": "^4.3.2",
|
||||
@ -33,6 +33,12 @@
|
||||
"regenerator-runtime": "^0.12.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/react": "4.2.0-alpha.10",
|
||||
>>>>>>> 5.0.0
|
||||
"enzyme-to-json": "^3.3.4",
|
||||
"react": "^16.7.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots-puppeteer",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Image snappshots addition to StoryShots base on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -21,14 +21,14 @@
|
||||
"prepare": "node ../../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/node-logger": "4.2.0-alpha.9",
|
||||
"@storybook/node-logger": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"jest-image-snapshot": "^2.6.0",
|
||||
"puppeteer": "^1.11.0",
|
||||
"regenerator-runtime": "^0.12.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9"
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Stories addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -21,8 +21,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"estraverse": "^4.2.0",
|
||||
"loader-utils": "^1.2.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook addon to change the viewport size to mobile",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -22,10 +22,10 @@
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
"memoizerific": "^1.11.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/angular",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,8 +25,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/node-logger": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"@storybook/node-logger": "4.2.0-alpha.10",
|
||||
"angular2-template-loader": "^0.6.2",
|
||||
"core-js": "^2.6.1",
|
||||
"fork-ts-checker-webpack-plugin": "^0.5.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ember",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
|
||||
"bugs": {
|
||||
@ -23,7 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^1.0.0",
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/html",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -24,7 +24,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marko",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,7 +25,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/mithril",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -26,7 +26,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.2.0",
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/polymer",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -24,7 +24,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"@webcomponents/webcomponentsjs": "^1.2.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/preact",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -26,7 +26,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.2.0",
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react-native",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "A better way to develop React Native Components for your app",
|
||||
"keywords": [
|
||||
"react",
|
||||
@ -25,12 +25,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/channel-websocket": "4.2.0-alpha.9",
|
||||
"@storybook/channels": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/ui": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/channel-websocket": "4.2.0-alpha.10",
|
||||
"@storybook/channels": "4.2.0-alpha.10",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"@storybook/ui": "4.2.0-alpha.10",
|
||||
"babel-loader": "^8.0.4",
|
||||
"babel-plugin-macros": "^2.4.3",
|
||||
"babel-plugin-syntax-async-functions": "^6.13.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -29,8 +29,8 @@
|
||||
"@babel/preset-flow": "^7.0.0",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/node-logger": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"@storybook/node-logger": "4.2.0-alpha.10",
|
||||
"@svgr/webpack": "^4.0.3",
|
||||
"babel-plugin-named-asset-import": "^0.3.0",
|
||||
"babel-plugin-react-docgen": "^2.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/riot",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -24,7 +24,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/svelte",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,7 +25,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,7 +25,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -19,10 +19,10 @@
|
||||
"prepare": "npm run snyk-protect"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/react": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/react": "4.2.0-alpha.10",
|
||||
"babel-loader": "^6.4.1",
|
||||
"bootstrap": "^4.2.1",
|
||||
"common-tags": "^1.8.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -33,18 +33,18 @@
|
||||
"@angular-devkit/build-angular": "^0.11.4",
|
||||
"@angular/cli": "^7.1.4",
|
||||
"@angular/compiler-cli": "^7.1.4",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/angular": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/angular": "4.2.0-alpha.10",
|
||||
"@types/core-js": "^2.5.0",
|
||||
"@types/jest": "^23.3.11",
|
||||
"@types/node": "~10.12.18",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,21 +18,40 @@
|
||||
"react-lifecycles-compat": "^3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-events": "4.2.0-alpha.9",
|
||||
"@storybook/addon-info": "4.2.0-alpha.9",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/react": "4.2.0-alpha.9",
|
||||
<<<<<<< HEAD
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.10",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-events": "4.2.0-alpha.10",
|
||||
"@storybook/addon-info": "4.2.0-alpha.10",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/react": "4.2.0-alpha.10",
|
||||
=======
|
||||
"@emotion/snapshot-serializer": "^0.8.2",
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.10",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-events": "4.2.0-alpha.10",
|
||||
"@storybook/addon-info": "4.2.0-alpha.10",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/react": "4.2.0-alpha.10",
|
||||
>>>>>>> 5.0.0
|
||||
"enzyme": "^3.7.0",
|
||||
"enzyme-adapter-react-16": "^1.6.0",
|
||||
"enzyme-to-json": "^3.3.4",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build",
|
||||
@ -14,18 +14,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/ember": "4.2.0-alpha.9",
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.10",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/ember": "4.2.0-alpha.10",
|
||||
"babel-loader": "^8",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"cross-env": "^5.2.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "html-kitchen-sink",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -13,23 +13,23 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-events": "4.2.0-alpha.9",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/core": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/html": "4.2.0-alpha.9",
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.10",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-events": "4.2.0-alpha.10",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/core": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"@storybook/html": "4.2.0-alpha.10",
|
||||
"eventemitter3": "^3.1.0",
|
||||
"format-json": "^1.0.3",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marko-cli",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"description": "Demo of how to build an app using marko-starter",
|
||||
"repository": {
|
||||
@ -22,12 +22,12 @@
|
||||
"marko-starter": "^2.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/marko": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/marko": "4.2.0-alpha.10",
|
||||
"prettier": "^1.14.3",
|
||||
"webpack": "^4.28.3"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mithril-example",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -10,18 +10,18 @@
|
||||
"mithril": "^1.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/mithril": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/mithril": "4.2.0-alpha.10",
|
||||
"webpack": "^4.28.3"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -c ./ -s built-storybooks",
|
||||
@ -14,28 +14,28 @@
|
||||
"devDependencies": {
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-cssresources": "4.2.0-alpha.9",
|
||||
"@storybook/addon-events": "4.2.0-alpha.9",
|
||||
"@storybook/addon-graphql": "4.2.0-alpha.9",
|
||||
"@storybook/addon-info": "4.2.0-alpha.9",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots-puppeteer": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/node-logger": "4.2.0-alpha.9",
|
||||
"@storybook/react": "4.2.0-alpha.9",
|
||||
"@storybook/addon-a11y": "4.2.0-alpha.10",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-cssresources": "4.2.0-alpha.10",
|
||||
"@storybook/addon-events": "4.2.0-alpha.10",
|
||||
"@storybook/addon-graphql": "4.2.0-alpha.10",
|
||||
"@storybook/addon-info": "4.2.0-alpha.10",
|
||||
"@storybook/addon-jest": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots-puppeteer": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"@storybook/node-logger": "4.2.0-alpha.10",
|
||||
"@storybook/react": "4.2.0-alpha.10",
|
||||
"cors": "^2.8.4",
|
||||
"cross-env": "^5.2.0",
|
||||
"emotion-theming": "^10.0.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "polymer-cli",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -9,15 +9,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@polymer/polymer": "^2.6.0",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/polymer": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/polymer": "4.2.0-alpha.10",
|
||||
"@webcomponents/webcomponentsjs": "^1.2.0",
|
||||
"global": "^4.3.2",
|
||||
"lit-html": "^0.14.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,18 +15,18 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@babel/plugin-transform-runtime": "^7.2.0",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/preact": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/preact": "4.2.0-alpha.10",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^5.2.0",
|
||||
"file-loader": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "riot-example",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,18 +15,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/riot": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/riot": "4.2.0-alpha.10",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^5.2.0",
|
||||
"file-loader": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-example",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -10,17 +10,17 @@
|
||||
"global": "^4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/svelte": "4.2.0-alpha.9"
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/svelte": "4.2.0-alpha.10"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-example",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -14,18 +14,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.9",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/vue": "4.2.0-alpha.9",
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-backgrounds": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storysource": "4.2.0-alpha.10",
|
||||
"@storybook/addon-viewport": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/vue": "4.2.0-alpha.10",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^5.2.0",
|
||||
|
@ -11,5 +11,5 @@
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"registry": "https://registry.npmjs.org",
|
||||
"version": "4.2.0-alpha.9"
|
||||
"version": "4.2.0-alpha.10"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -20,7 +20,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "4.2.0-alpha.9",
|
||||
"@storybook/channels": "4.2.0-alpha.10",
|
||||
"global": "^4.3.2",
|
||||
"util-deprecate": "^1.0.2"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -20,7 +20,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "4.2.0-alpha.9",
|
||||
"@storybook/channels": "4.2.0-alpha.10",
|
||||
"global": "^4.3.2",
|
||||
"telejson": "^1.0.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -20,7 +20,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "4.2.0-alpha.9",
|
||||
"@storybook/channels": "4.2.0-alpha.10",
|
||||
"global": "^4.3.2",
|
||||
"json-fn": "^1.1.1"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -29,7 +29,7 @@
|
||||
"@babel/core": "^7.2.2",
|
||||
"@babel/preset-env": "^7.2.3",
|
||||
"@babel/register": "^7.0.0",
|
||||
"@storybook/codemod": "4.2.0-alpha.9",
|
||||
"@storybook/codemod": "4.2.0-alpha.10",
|
||||
"chalk": "^2.4.1",
|
||||
"commander": "^2.19.0",
|
||||
"core-js": "^2.6.1",
|
||||
@ -43,31 +43,31 @@
|
||||
"update-notifier": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "4.2.0-alpha.9",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.9",
|
||||
"@storybook/addon-graphql": "4.2.0-alpha.9",
|
||||
"@storybook/addon-info": "4.2.0-alpha.9",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.9",
|
||||
"@storybook/addon-links": "4.2.0-alpha.9",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.9",
|
||||
"@storybook/addon-options": "4.2.0-alpha.9",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/angular": "4.2.0-alpha.9",
|
||||
"@storybook/channel-postmessage": "4.2.0-alpha.9",
|
||||
"@storybook/channel-websocket": "4.2.0-alpha.9",
|
||||
"@storybook/channels": "4.2.0-alpha.9",
|
||||
"@storybook/ember": "4.2.0-alpha.9",
|
||||
"@storybook/html": "4.2.0-alpha.9",
|
||||
"@storybook/marko": "4.2.0-alpha.9",
|
||||
"@storybook/mithril": "4.2.0-alpha.9",
|
||||
"@storybook/polymer": "4.2.0-alpha.9",
|
||||
"@storybook/preact": "4.2.0-alpha.9",
|
||||
"@storybook/react": "4.2.0-alpha.9",
|
||||
"@storybook/react-native": "4.2.0-alpha.9",
|
||||
"@storybook/riot": "4.2.0-alpha.9",
|
||||
"@storybook/ui": "4.2.0-alpha.9",
|
||||
"@storybook/vue": "4.2.0-alpha.9"
|
||||
"@storybook/addon-actions": "4.2.0-alpha.10",
|
||||
"@storybook/addon-centered": "4.2.0-alpha.10",
|
||||
"@storybook/addon-graphql": "4.2.0-alpha.10",
|
||||
"@storybook/addon-info": "4.2.0-alpha.10",
|
||||
"@storybook/addon-knobs": "4.2.0-alpha.10",
|
||||
"@storybook/addon-links": "4.2.0-alpha.10",
|
||||
"@storybook/addon-notes": "4.2.0-alpha.10",
|
||||
"@storybook/addon-options": "4.2.0-alpha.10",
|
||||
"@storybook/addon-storyshots": "4.2.0-alpha.10",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/angular": "4.2.0-alpha.10",
|
||||
"@storybook/channel-postmessage": "4.2.0-alpha.10",
|
||||
"@storybook/channel-websocket": "4.2.0-alpha.10",
|
||||
"@storybook/channels": "4.2.0-alpha.10",
|
||||
"@storybook/ember": "4.2.0-alpha.10",
|
||||
"@storybook/html": "4.2.0-alpha.10",
|
||||
"@storybook/marko": "4.2.0-alpha.10",
|
||||
"@storybook/mithril": "4.2.0-alpha.10",
|
||||
"@storybook/polymer": "4.2.0-alpha.10",
|
||||
"@storybook/preact": "4.2.0-alpha.10",
|
||||
"@storybook/react": "4.2.0-alpha.10",
|
||||
"@storybook/react-native": "4.2.0-alpha.10",
|
||||
"@storybook/riot": "4.2.0-alpha.10",
|
||||
"@storybook/ui": "4.2.0-alpha.10",
|
||||
"@storybook/vue": "4.2.0-alpha.10"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-logger",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"jsnext:main": "src/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
|
7
lib/client-logger/src/index.ts
Normal file
7
lib/client-logger/src/index.ts
Normal file
@ -0,0 +1,7 @@
|
||||
const { console } = global;
|
||||
|
||||
export const logger = {
|
||||
info: (message: any): void => console.log(message),
|
||||
warn: (message: any): void => console.warn(message),
|
||||
error: (message: any): void => console.error(message),
|
||||
};
|
8
lib/client-logger/tsconfig.json
Normal file
8
lib/client-logger/tsconfig.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["src/**/*.test.ts"]
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/codemod",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "A collection of codemod scripts written with JSCodeshift",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/components",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,9 +25,9 @@
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@reach/router": "^1.2.1",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"emotion-theming": "^10.0.5",
|
||||
"global": "^4.3.2",
|
||||
"immer": "^1.9.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-events",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Event names used in storybook core",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -13,8 +13,12 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybooks/storybook.git"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
|
17
lib/core-events/src/index.ts
Normal file
17
lib/core-events/src/index.ts
Normal file
@ -0,0 +1,17 @@
|
||||
enum events {
|
||||
CHANNEL_CREATED = 'channelCreated',
|
||||
GET_CURRENT_STORY = 'getCurrentStory',
|
||||
SET_CURRENT_STORY = 'setCurrentStory',
|
||||
GET_STORIES = 'getStories',
|
||||
SET_STORIES = 'setStories',
|
||||
SELECT_STORY = 'selectStory',
|
||||
APPLY_SHORTCUT = 'applyShortcut',
|
||||
STORY_ADDED = 'storyAdded',
|
||||
FORCE_RE_RENDER = 'forceReRender',
|
||||
REGISTER_SUBSCRIPTION = 'registerSubscription',
|
||||
STORY_RENDERED = 'storyRendered',
|
||||
STORY_ERRORED = 'storyErrored',
|
||||
STORY_THREW_EXCEPTION = 'storyThrewException',
|
||||
}
|
||||
|
||||
export default events;
|
8
lib/core-events/tsconfig.json
Normal file
8
lib/core-events/tsconfig.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": []
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,12 +25,12 @@
|
||||
"@babel/preset-env": "^7.2.3",
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/channel-postmessage": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/node-logger": "4.2.0-alpha.9",
|
||||
"@storybook/ui": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/channel-postmessage": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"@storybook/node-logger": "4.2.0-alpha.10",
|
||||
"@storybook/ui": "4.2.0-alpha.10",
|
||||
"airbnb-js-shims": "^1 || ^2",
|
||||
"autoprefixer": "^9.4.4",
|
||||
"babel-plugin-emotion": "^10.0.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/node-logger",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"jsnext:main": "src/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
@ -26,6 +26,10 @@
|
||||
"pretty-hrtime": "^1.0.3",
|
||||
"regenerator-runtime": "^0.12.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/npmlog": "^4.1.1",
|
||||
"@types/pretty-hrtime": "^1.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
|
@ -1,31 +0,0 @@
|
||||
import npmLog from 'npmlog';
|
||||
import { logger } from '.';
|
||||
|
||||
jest.mock('npmlog', () => ({
|
||||
info: jest.fn(),
|
||||
warn: jest.fn(),
|
||||
error: jest.fn(),
|
||||
}));
|
||||
|
||||
describe('node-logger', () => {
|
||||
beforeEach(() => {
|
||||
npmLog.info.mockReset();
|
||||
npmLog.warn.mockReset();
|
||||
npmLog.error.mockReset();
|
||||
});
|
||||
it('should have an info method', () => {
|
||||
const message = 'information';
|
||||
logger.info(message);
|
||||
expect(npmLog.info).toHaveBeenCalledWith('', message);
|
||||
});
|
||||
it('should have a warn method', () => {
|
||||
const message = 'warning message';
|
||||
logger.warn(message);
|
||||
expect(npmLog.warn).toHaveBeenCalledWith('', message);
|
||||
});
|
||||
it('should have an error method', () => {
|
||||
const message = 'error message';
|
||||
logger.error(message);
|
||||
expect(npmLog.error).toHaveBeenCalledWith('', message);
|
||||
});
|
||||
});
|
34
lib/node-logger/src/index.test.ts
Normal file
34
lib/node-logger/src/index.test.ts
Normal file
@ -0,0 +1,34 @@
|
||||
import { info, warn, error } from 'npmlog';
|
||||
import { logger } from '.';
|
||||
|
||||
jest.mock('npmlog', () => ({
|
||||
info: jest.fn(),
|
||||
warn: jest.fn(),
|
||||
error: jest.fn(),
|
||||
}));
|
||||
|
||||
describe('node-logger', () => {
|
||||
beforeEach(() => {
|
||||
// This feels odd but TypeScript doesn't understand that the imported
|
||||
// npmlog module is being wrapped by Jest so we are type casting here
|
||||
// in order to be allowed to call Jest's mockReset() method.
|
||||
((info as any) as jest.MockInstance<any>).mockReset();
|
||||
((warn as any) as jest.MockInstance<any>).mockReset();
|
||||
((error as any) as jest.MockInstance<any>).mockReset();
|
||||
});
|
||||
it('should have an info method', () => {
|
||||
const message = 'information';
|
||||
logger.info(message);
|
||||
expect(info).toHaveBeenCalledWith('', message);
|
||||
});
|
||||
it('should have a warn method', () => {
|
||||
const message = 'warning message';
|
||||
logger.warn(message);
|
||||
expect(warn).toHaveBeenCalledWith('', message);
|
||||
});
|
||||
it('should have an error method', () => {
|
||||
const message = 'error message';
|
||||
logger.error(message);
|
||||
expect(error).toHaveBeenCalledWith('', message);
|
||||
});
|
||||
});
|
@ -13,8 +13,9 @@ export const colors = {
|
||||
};
|
||||
|
||||
export const logger = {
|
||||
info: message => npmLog.info('', message),
|
||||
warn: message => npmLog.warn('', message),
|
||||
error: message => npmLog.error('', message),
|
||||
trace: ({ message, time }) => npmLog.info(`${message} (${colors.purple(prettyTime(time))})`),
|
||||
info: (message: string): void => npmLog.info('', message),
|
||||
warn: (message: string): void => npmLog.warn('', message),
|
||||
error: (message: string): void => npmLog.error('', message),
|
||||
trace: ({ message, time }: { message: string; time: [number, number] }): void =>
|
||||
npmLog.info('', `${message} (${colors.purple(prettyTime(time))})`),
|
||||
};
|
8
lib/node-logger/tsconfig.json
Normal file
8
lib/node-logger/tsconfig.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["src/**.test.ts"]
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ui",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"description": "Core Storybook UI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -24,10 +24,10 @@
|
||||
"@emotion/core": "^10.0.5",
|
||||
"@emotion/styled": "^10.0.5",
|
||||
"@reach/router": "^1.2.1",
|
||||
"@storybook/addons": "4.2.0-alpha.9",
|
||||
"@storybook/client-logger": "4.2.0-alpha.9",
|
||||
"@storybook/components": "4.2.0-alpha.9",
|
||||
"@storybook/core-events": "4.2.0-alpha.9",
|
||||
"@storybook/addons": "4.2.0-alpha.10",
|
||||
"@storybook/client-logger": "4.2.0-alpha.10",
|
||||
"@storybook/components": "4.2.0-alpha.10",
|
||||
"@storybook/core-events": "4.2.0-alpha.10",
|
||||
"emotion-theming": "^10.0.5",
|
||||
"eventemitter3": "^3.1.0",
|
||||
"fast-deep-equal": "^2.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/root",
|
||||
"version": "4.2.0-alpha.9",
|
||||
"version": "4.2.0-alpha.10",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
x
Reference in New Issue
Block a user