Merge branch 'master' into core/separate-manager-from-preview

# Conflicts:
#	addons/storyshots/storyshots-core/package.json
#	lib/core/package.json
This commit is contained in:
Norbert de Langen 2018-10-26 17:39:21 +02:00
commit 2aad28a70f
No known key found for this signature in database
GPG Key ID: 976651DA156C2825
90 changed files with 1997 additions and 1030 deletions

35
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Code snippets**
If applicable, add code samples to help explain your problem.
**System:**
- OS: [e.g. iOS, Windows10, MacOS]
- Device: [e.g. iPhoneX, Macbook Pro 2018]
- Browser: [e.g. chrome, safari]
- Framework: [e.g. react, vue, angular]
- Addons: [if relevant]
- Version: [e.g. 4.0.0]
**Additional context**
Add any other context about the problem here.

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Are you able to assist bring the feature to reality?**
no | yes, I can...
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,3 +1,78 @@
# 4.0.0
Storybook 4.0 is our first major-version update in over a year! Key improvements include:
- Build tools
- Webpack 4 [#3148](https://github.com/storybooks/storybook/pull/3148)
- Babel 7 [#3746](https://github.com/storybooks/storybook/pull/3746)
- View layers
- Storybook for Ember [#4237](https://github.com/storybooks/storybook/pull/4237)
- Storybook for MarkoJS [#3504](https://github.com/storybooks/storybook/pull/3504)
- Storybook for Mithril [#3244](https://github.com/storybooks/storybook/pull/3244)
- Storybook for HTML snippets [#3475](https://github.com/storybooks/storybook/pull/3475)
- Storybook for Svelte [#3770](https://github.com/storybooks/storybook/pull/3770)
- Storybook for Riot [#4070](https://github.com/storybooks/storybook/pull/4070)
- Mobile
- Mobile device view: toggling stories panel with ☰ button [#3337](https://github.com/storybooks/storybook/pull/3337)
- React Native: Remove the packager from storybook [#4261](https://github.com/storybooks/storybook/pull/4261)
- React-Native: On-device addons [#4381](https://github.com/storybooks/storybook/pull/4381)
- React-Native: On-device addons for notes, knobs, backgrounds [#4327](https://github.com/storybooks/storybook/pull/4327)
- UI
- Storybook UI theming [#3628](https://github.com/storybooks/storybook/pull/3628)
- Core
- Story parameters [#2679](https://github.com/storybooks/storybook/pull/2679)
- Generic addon decorators [#3555]
(https://github.com/storybooks/storybook/pull/3555)
- Support css-modules [#4405](https://github.com/storybooks/storybook/pull/4405)
- start-storybook: open browser tab on first compilation [#4149](https://github.com/storybooks/storybook/pull/4149)
- start-storybook: suggest an alternative when the port is occupied [#4146](https://github.com/storybooks/storybook/pull/4146)
- CLI-less Node api [#4344](https://github.com/storybooks/storybook/pull/4344)
- Rename CLI to sb [#4345](https://github.com/storybooks/storybook/pull/4345)
There are hundreds of more fixes, features, and tweaks in the 4.0 release. See changelogs for `4.0.0-rc.*` and `4.0.0-alpha.*` for details, the [Storybook 4.0 migration guide](https://medium.com/storybookjs/migrating-to-storybook-4-c65b19a03d2c) for a step-by-step walkthrough, or our [migration docs](MIGRATION.md#from-version-34x-to-40x) for an enumeration of breaking changes.
# 4.0.0-rc.6
2018-October-25
#### Dependency Upgrades
- Upgrade react-komposer to 2.0.5 [#4547](https://github.com/storybooks/storybook/pull/4547)
# 4.0.0-rc.5
2018-October-25
#### Maintenance
- Fix issue with `sb init` on the Vue CLI [#4535](https://github.com/storybooks/storybook/pull/4535)
# 4.0.0-rc.4
2018-October-25
#### Features
- Ember: update to not require any manual setup [#4544](https://github.com/storybooks/storybook/pull/4544)
#### Bug Fixes
- React: add mini-css-extract-plugin to app/react dependencies [#4534](https://github.com/storybooks/storybook/pull/4534)
#### Maintenance
- Add angular@7 cli tests [#4524](https://github.com/storybooks/storybook/pull/4524)
- Fix the node-logger version in app/react [#4539](https://github.com/storybooks/storybook/pull/4539)
#### Dependency Upgrades
- Bump danger from 4.4.8 to 6.0.2 [#4538](https://github.com/storybooks/storybook/pull/4538)
- Bump react-test-renderer from 16.5.2 to 16.6.0 [#4536](https://github.com/storybooks/storybook/pull/4536)
- Bump fuse.js from 3.2.1 to 3.3.0 [#4537](https://github.com/storybooks/storybook/pull/4537)
- Bump riot from 3.12.0 to 3.13.0 [#4511](https://github.com/storybooks/storybook/pull/4511)
# 4.0.0-rc.3
2018-October-23
@ -158,7 +233,7 @@
#### Features
- Ember: add ember support [#4237](https://github.com/storybooks/storybook/pull/4237)
- Storybook for Ember [#4237](https://github.com/storybooks/storybook/pull/4237)
- Riot: support the tagConstructor option [#4258](https://github.com/storybooks/storybook/pull/4258)
- Presets: Add "addons" and "config" to preset extensions [#4240](https://github.com/storybooks/storybook/pull/4240)
@ -260,7 +335,7 @@
#### Features
- Riot support [#4070](https://github.com/storybooks/storybook/pull/4070)
- Storybook for Riot [#4070](https://github.com/storybooks/storybook/pull/4070)
- Backgrounds addon: Allow setting background via name [#4081](https://github.com/storybooks/storybook/pull/4081)
- Storysource addon: injectDecorator option custom stories [#4012](https://github.com/storybooks/storybook/pull/4012)
@ -309,7 +384,7 @@ Not published to NPM
#### Features
- Emit messages when stories fail to render [#3967](https://github.com/storybooks/storybook/pull/3967)
- Svelte support [#3770](https://github.com/storybooks/storybook/pull/3770)
- Storybook for Svelte [#3770](https://github.com/storybooks/storybook/pull/3770)
- Allow extending extensions without a full control mode [#3976](https://github.com/storybooks/storybook/pull/3976)
#### Bug Fixes
@ -736,7 +811,7 @@ NOTE: As part of the generic addon decorators, we've reversed the order of addon
#### Features
- Add marko support to storybooksJS [#3504](https://github.com/storybooks/storybook/pull/3504)
- Storybook for Marko [#3504](https://github.com/storybooks/storybook/pull/3504)
- Storybook addon Jest angular suport [#3532](https://github.com/storybooks/storybook/pull/3532)
- Storybook for HTML snippets [#3475](https://github.com/storybooks/storybook/pull/3475)
- Feature/config custom chrome executable path [#3518](https://github.com/storybooks/storybook/pull/3518)
@ -1197,7 +1272,7 @@ Welcome to Storybook 3.4 with the following key improvements:
- Multiple story hierarchies [#2452](https://github.com/storybooks/storybook/pull/2452)
- Addon-storysource: story source in addon pane [#2885](https://github.com/storybooks/storybook/pull/2885)
Read on for more improvements, fixes, 1In addition, there are hundreds of dependency upgrades in the 3.4 release, so to see the details, please see the changelogs for `3.4.0-rc.*` and `3.4.0-alpha.*`.
Read on for more improvements, fixes. In addition, there are hundreds of dependency upgrades in the 3.4 release, so to see the details, please see the changelogs for `3.4.0-rc.*` and `3.4.0-alpha.*`.
#### Features
@ -1301,7 +1376,7 @@ Read on for more improvements, fixes, 1In addition, there are hundreds of depend
#### Features
- Viewport-addon Allow setting callback to be called whenever viewport changes [#3283](https://github.com/storybooks/storybook/pull/3283)
- App for Mithril [#3244](https://github.com/storybooks/storybook/pull/3244)
- Storybook for Mithril [#3244](https://github.com/storybooks/storybook/pull/3244)
- Feature request: adding aXe configuration for a11y addon [#3285](https://github.com/storybooks/storybook/pull/3285)
- files knob [#2860](https://github.com/storybooks/storybook/pull/2860)
- Using svg-url-loader for webpack configs that accept svgs [#3221](https://github.com/storybooks/storybook/pull/3221)

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "a11y addon for storybook",
"keywords": [
"a11y",
@ -29,10 +29,10 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/client-logger": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/client-logger": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"axe-core": "^3.1.2",
"global": "^4.3.2",
"prop-types": "^15.6.2"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Action Logger addon for storybook",
"keywords": [
"storybook"
@ -26,9 +26,9 @@
"@emotion/core": "^0.13.1",
"@emotion/provider": "^0.11.2",
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"deep-equal": "^1.0.1",
"global": "^4.3.2",
"lodash": "^4.17.11",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "A storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",
@ -28,8 +28,8 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"global": "^4.3.2",
"prop-types": "^15.6.2",
"util-deprecate": "^1.0.2"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-centered",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook decorator to center components",
"keywords": [
"addon",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-events",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Add events to your Storybook stories.",
"keywords": [
"addon",
@ -27,8 +27,8 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"format-json": "^1.0.3",
"prop-types": "^15.6.2",
"react-lifecycles-compat": "^3.0.4",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-google-analytics",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook addon for google analytics",
"keywords": [
"addon",
@ -24,7 +24,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"global": "^4.3.2",
"react-ga": "^2.5.3"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-graphql",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook addon to display the GraphiQL IDE",
"keywords": [
"addon",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-info",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "A Storybook addon to show additional information for your stories.",
"keywords": [
"addon",
@ -25,9 +25,9 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/client-logger": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/client-logger": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"core-js": "2.5.7",
"global": "^4.3.2",
"marksy": "^6.1.0",
@ -38,7 +38,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"react-test-renderer": "^16.5.2"
"react-test-renderer": "^16.6.0"
},
"peerDependencies": {
"react": "*"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -31,8 +31,8 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"global": "^4.3.2",
"prop-types": "^15.6.2",
"upath": "^1.1.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-knobs",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook Addon Prop Editor Component",
"keywords": [
"addon",
@ -25,9 +25,9 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"copy-to-clipboard": "^3.0.8",
"escape-html": "^1.0.3",
"fast-deep-equal": "^2.0.1",

View File

@ -5,18 +5,18 @@ import SelectType from '../types/Select';
describe('Select', () => {
let knob;
beforeEach(() => {
knob = {
name: 'Colors',
value: '#00ff00',
options: {
Green: '#00ff00',
Red: '#ff0000',
},
};
});
describe('Object values', () => {
beforeEach(() => {
knob = {
name: 'Colors',
value: '#00ff00',
options: {
Green: '#00ff00',
Red: '#ff0000',
},
};
});
describe('displays value', () => {
it('correctly maps option keys and values', () => {
const wrapper = shallow(<SelectType knob={knob} />);
@ -25,4 +25,22 @@ describe('Select', () => {
expect(green.prop('value')).toEqual('Green');
});
});
describe('Array values', () => {
beforeEach(() => {
knob = {
name: 'Colors',
value: 'green',
options: ['green', 'red'],
};
});
it('correctly maps option keys and values', () => {
const wrapper = shallow(<SelectType knob={knob} />);
const green = wrapper.find('option').first();
expect(green.text()).toEqual('green');
expect(green.prop('value')).toEqual('green');
});
});
});

View File

@ -6,7 +6,7 @@ import { Select } from '@storybook/components';
const SelectType = ({ knob, onChange }) => {
const { options } = knob;
const entries = Array.isArray(options)
? options.reduce((acc, k) => Object.assign(acc, { k }), {})
? options.reduce((acc, k) => Object.assign(acc, { [k]: k }), {})
: options;
const selectedKey = Object.keys(entries).find(k => entries[k] === knob.value);

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Story Links addon for storybook",
"keywords": [
"addon",
@ -24,9 +24,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"global": "^4.3.2",
"prop-types": "^15.6.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-notes",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Write notes for your Storybook stories.",
"keywords": [
"addon",
@ -26,7 +26,7 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"marked": "^0.5.1",
"prop-types": "^15.6.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-backgrounds",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "A storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",
@ -26,7 +26,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"prop-types": "^15.6.2"
},
"peerDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-knobs",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Display storybook story knobs on your deviced.",
"keywords": [
"addon",
@ -23,7 +23,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"deep-equal": "^1.0.1",
"prop-types": "^15.6.2",
"react-native-color-picker": "^0.4.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-notes",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Write notes for your Storybook stories.",
"keywords": [
"addon",
@ -21,7 +21,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"prop-types": "^15.6.2",
"react-native-simple-markdown": "^1.1.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-options",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Options addon for storybook",
"keywords": [
"addon",
@ -23,7 +23,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"util-deprecate": "^1.0.2"
},
"peerDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
"keywords": [
"addon",
@ -28,18 +28,18 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"glob": "^7.1.3",
"global": "^4.3.2",
"jest-specific-snapshot": "^1.0.0",
"read-pkg-up": "^4.0.0"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/react": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/react": "4.0.0-rc.6",
"enzyme-to-json": "^3.3.4",
"react": "^16.5.2"
"react": "^16.6.0"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots-puppeteer",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Image snappshots addition to StoryShots base on puppeteer",
"keywords": [
"addon",
@ -25,7 +25,7 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/node-logger": "4.0.0-rc.3",
"@storybook/node-logger": "4.0.0-rc.6",
"jest-image-snapshot": "^2.6.0",
"puppeteer": "^1.9.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Stories addon for storybook",
"keywords": [
"addon",
@ -25,13 +25,13 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"estraverse": "^4.2.0",
"loader-utils": "^1.1.0",
"prettier": "^1.14.3",
"prop-types": "^15.6.2",
"react-syntax-highlighter": "^9.0.0"
"react-syntax-highlighter": "^9.0.1"
},
"peerDependencies": {
"react": "*"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook addon to change the viewport size to mobile",
"keywords": [
"addon",
@ -24,9 +24,9 @@
},
"dependencies": {
"@emotion/styled": "^0.10.6",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"global": "^4.3.2",
"prop-types": "^15.6.2",
"util-deprecate": "^1.0.2"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -29,18 +29,18 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/core": "4.0.0-rc.3",
"@storybook/node-logger": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"@storybook/node-logger": "4.0.0-rc.6",
"angular2-template-loader": "^0.6.2",
"core-js": "^2.5.7",
"fork-ts-checker-webpack-plugin": "^0.4.10",
"global": "^4.3.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"sass-loader": "^7.1.0",
"ts-loader": "^5.2.2",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"webpack": "^4.21.0",
"webpack": "^4.23.1",
"zone.js": "^0.8.26"
},
"peerDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
"publishConfig": {
@ -27,11 +27,11 @@
"dependencies": {
"@babel/runtime": "^7.1.2",
"@ember/test-helpers": "^0.7.27",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"react": "^16.5.2",
"react-dom": "^16.5.2"
"react": "^16.6.0",
"react-dom": "^16.6.0"
},
"peerDependencies": {
"babel-loader": "^7.0.0 || ^8.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -28,12 +28,12 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"html-loader": "^0.5.5",
"react": "^16.5.2",
"react-dom": "^16.5.2"
"react": "^16.6.0",
"react-dom": "^16.6.0"
},
"peerDependencies": {
"babel-loader": "^7.0.0 || ^8.0.0"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/marko",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -29,13 +29,13 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"marko-loader": "^1.3.3",
"raw-loader": "^0.5.1",
"react": "^16.5.2",
"react-dom": "^16.5.2"
"react": "^16.6.0",
"react-dom": "^16.6.0"
},
"peerDependencies": {
"babel-loader": "^7.0.0 || ^8.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/mithril",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
"keywords": [
"storybook"
@ -30,11 +30,11 @@
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/runtime": "^7.1.2",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"react": "^16.5.2",
"react-dom": "^16.5.2"
"react": "^16.6.0",
"react-dom": "^16.6.0"
},
"devDependencies": {
"mithril": "^1.1.6"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/polymer",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -29,13 +29,13 @@
"dependencies": {
"@babel/polyfill": "^7.0.0",
"@babel/runtime": "^7.1.2",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"@webcomponents/webcomponentsjs": "^1.2.0",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"webpack": "^4.21.0"
"react": "^16.6.0",
"react-dom": "^16.6.0",
"webpack": "^4.23.1"
},
"devDependencies": {
"lit-html": "^0.12.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-native",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "A better way to develop React Native Components for your app",
"keywords": [
"react",
@ -28,12 +28,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "4.0.0-rc.3",
"@storybook/channel-websocket": "4.0.0-rc.3",
"@storybook/channels": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/ui": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/channel-websocket": "4.0.0-rc.6",
"@storybook/channels": "4.0.0-rc.6",
"@storybook/core": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"@storybook/ui": "4.0.0-rc.6",
"babel-loader": "^8.0.4",
"babel-plugin-macros": "^2.4.2",
"babel-plugin-syntax-async-functions": "^6.13.0",
@ -63,7 +63,7 @@
"shelljs": "^0.8.2",
"url-parse": "^1.4.3",
"uuid": "^3.3.2",
"webpack": "^4.21.0",
"webpack": "^4.23.1",
"webpack-dev-middleware": "^3.4.0",
"webpack-hot-middleware": "^2.24.3",
"ws": "^6.1.0"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -32,8 +32,8 @@
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.1.2",
"@emotion/styled": "^0.10.6",
"@storybook/core": "4.0.0-rc.3",
"@storybook/node-logger": "^3.4.11",
"@storybook/core": "4.0.0-rc.6",
"@storybook/node-logger": "4.0.0-rc.6",
"babel-plugin-react-docgen": "^2.0.0",
"common-tags": "^1.8.0",
"global": "^4.3.2",
@ -42,7 +42,7 @@
"prop-types": "^15.6.2",
"react-dev-utils": "^6.0.5",
"semver": "^5.6.0",
"webpack": "^4.21.0"
"webpack": "^4.23.1"
},
"peerDependencies": {
"babel-loader": "^7.0.0 || ^8.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/riot",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -28,12 +28,12 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"raw-loader": "^0.5.1",
"react": "^16.5.2",
"react-dom": "^16.5.2"
"react": "^16.6.0",
"react-dom": "^16.6.0"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.1.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -28,11 +28,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"react": "^16.5.2",
"react-dom": "^16.5.2"
"react": "^16.6.0",
"react-dom": "^16.6.0"
},
"devDependencies": {
"svelte": "^2.13.5",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -29,11 +29,11 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.6",
"common-tags": "^1.8.0",
"global": "^4.3.2",
"react": "^16.5.2",
"react-dom": "^16.5.2"
"react": "^16.6.0",
"react-dom": "^16.6.0"
},
"devDependencies": {
"babel-preset-vue": "^2.0.2",

View File

@ -1,6 +1,6 @@
{
"name": "angular-cli",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"license": "MIT",
"scripts": {
@ -38,12 +38,12 @@
}
},
"dependencies": {
"@angular/common": "^6.1.10",
"@angular/compiler": "^6.1.10",
"@angular/core": "^6.1.10",
"@angular/forms": "^6.1.10",
"@angular/platform-browser": "^6.1.10",
"@angular/platform-browser-dynamic": "^6.1.10",
"@angular/common": "^7.0.1",
"@angular/compiler": "^7.0.1",
"@angular/core": "^7.0.1",
"@angular/forms": "^7.0.1",
"@angular/platform-browser": "^7.0.1",
"@angular/platform-browser-dynamic": "^7.0.1",
"@ngrx/store": "^6.1.0",
"core-js": "^2.5.7",
"rxjs": "^6.3.3",
@ -51,27 +51,27 @@
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.8.5",
"@angular/cli": "^6.2.5",
"@angular/compiler-cli": "^6.1.10",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-jest": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/angular": "4.0.0-rc.3",
"@angular-devkit/build-angular": "^0.10.3",
"@angular/cli": "^7.0.3",
"@angular/compiler-cli": "^7.0.1",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-jest": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/angular": "4.0.0-rc.6",
"@types/core-js": "^2.5.0",
"@types/jest": "^23.3.7",
"@types/node": "~10.12.0",
"@types/webpack-env": "^1.13.6",
"global": "^4.3.2",
"jasmine-core": "~3.2.1",
"jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1",
"jest": "^23.6.0",
"jest-preset-angular": "^6.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "cra-kitchen-sink",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -13,26 +13,26 @@
"dependencies": {
"global": "^4.3.2",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-lifecycles-compat": "^3.0.4"
},
"devDependencies": {
"@storybook/addon-a11y": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-events": "4.0.0-rc.3",
"@storybook/addon-info": "4.0.0-rc.3",
"@storybook/addon-jest": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/client-logger": "4.0.0-rc.3",
"@storybook/react": "4.0.0-rc.3",
"@storybook/addon-a11y": "4.0.0-rc.6",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-events": "4.0.0-rc.6",
"@storybook/addon-info": "4.0.0-rc.6",
"@storybook/addon-jest": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/client-logger": "4.0.0-rc.6",
"@storybook/react": "4.0.0-rc.6",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.4",

View File

@ -1,6 +1,6 @@
{
"name": "ember-example",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build": "ember build",
@ -10,22 +10,22 @@
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@storybook/addon-a11y": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/ember": "4.0.0-rc.3",
"@storybook/addon-a11y": "4.0.0-rc.6",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/ember": "4.0.0-rc.6",
"babel-loader": "^8",
"broccoli-asset-rev": "^3.0.0",
"cross-env": "^5.2.0",
"ember-ajax": "^3.1.2",
"ember-ajax": "^4.0.0",
"ember-cli": "~3.5.0",
"ember-cli-app-version": "^3.0.0",
"ember-cli-babel": "^7.1.2",
@ -39,7 +39,7 @@
"ember-resolver": "^5.0.1",
"ember-source": "~3.5.0",
"loader.js": "^4.2.3",
"webpack": "^4.21.0",
"webpack": "^4.23.1",
"webpack-cli": "^3.1.2"
},
"engines": {

View File

@ -1,6 +1,6 @@
{
"name": "html-kitchen-sink",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"description": "",
"keywords": [],
@ -13,23 +13,23 @@
"storybook": "start-storybook -p 9006"
},
"devDependencies": {
"@storybook/addon-a11y": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-events": "4.0.0-rc.3",
"@storybook/addon-jest": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/core": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/html": "4.0.0-rc.3",
"@storybook/addon-a11y": "4.0.0-rc.6",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-events": "4.0.0-rc.6",
"@storybook/addon-jest": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/core": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"@storybook/html": "4.0.0-rc.6",
"eventemitter3": "^3.1.0",
"format-json": "^1.0.3",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "marko-cli",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"description": "Demo of how to build an app using marko-starter",
"repository": {
@ -22,13 +22,13 @@
"marko-starter": "^2.0.4"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/marko": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/marko": "4.0.0-rc.6",
"prettier": "^1.14.3",
"webpack": "^4.21.0"
"webpack": "^4.23.1"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "mithril-example",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@ -10,18 +10,18 @@
"mithril": "^1.1.6"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/mithril": "4.0.0-rc.3",
"webpack": "^4.21.0"
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/mithril": "4.0.0-rc.6",
"webpack": "^4.23.1"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "official-storybook",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build-storybook": "build-storybook -c ./ -s built-storybooks",
@ -15,27 +15,27 @@
"@emotion/core": "^0.13.1",
"@emotion/provider": "^0.11.2",
"@emotion/styled": "^0.10.6",
"@storybook/addon-a11y": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-events": "4.0.0-rc.3",
"@storybook/addon-graphql": "4.0.0-rc.3",
"@storybook/addon-info": "4.0.0-rc.3",
"@storybook/addon-jest": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addon-storyshots-puppeteer": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/node-logger": "4.0.0-rc.3",
"@storybook/react": "4.0.0-rc.3",
"@storybook/addon-a11y": "4.0.0-rc.6",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-events": "4.0.0-rc.6",
"@storybook/addon-graphql": "4.0.0-rc.6",
"@storybook/addon-info": "4.0.0-rc.6",
"@storybook/addon-jest": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addon-storyshots-puppeteer": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"@storybook/node-logger": "4.0.0-rc.6",
"@storybook/react": "4.0.0-rc.6",
"cors": "^2.8.4",
"cross-env": "^5.2.0",
"enzyme-to-json": "^3.3.4",
@ -47,10 +47,10 @@
"graphql": "^14.0.2",
"paths.macro": "^2.0.2",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react": "^16.6.0",
"react-chromatic": "^0.8.4",
"react-dom": "^16.5.2",
"react-dom": "^16.6.0",
"uuid": "^3.3.2",
"webpack": "^4.21.0"
"webpack": "^4.23.1"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "polymer-cli",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@ -9,20 +9,20 @@
},
"dependencies": {
"@polymer/polymer": "^2.6.0",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/polymer": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/polymer": "4.0.0-rc.6",
"@webcomponents/webcomponentsjs": "^1.2.0",
"global": "^4.3.2",
"lit-html": "^0.12.0",
"polymer-webpack-loader": "^2.0.3",
"webpack": "^4.21.0"
"webpack": "^4.23.1"
},
"devDependencies": {
"copy-webpack-plugin": "^4.5.4",

View File

@ -1,6 +1,6 @@
{
"name": "riot-example",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -15,25 +15,25 @@
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/riot": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/riot": "4.0.0-rc.6",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",
"file-loader": "^2.0.0",
"raw-loader": "^0.5.1",
"riot-tag-loader": "^2.1.0",
"svg-url-loader": "^2.3.2",
"webpack": "^4.21.0",
"webpack": "^4.23.1",
"webpack-dev-server": "^3.1.9"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "svelte-example",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build-storybook": "build-storybook -s public",
@ -10,17 +10,17 @@
"global": "^4.3.2"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/svelte": "4.0.0-rc.3"
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/svelte": "4.0.0-rc.6"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "vue-example",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -14,25 +14,25 @@
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-backgrounds": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addon-storysource": "4.0.0-rc.3",
"@storybook/addon-viewport": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/vue": "4.0.0-rc.3",
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-backgrounds": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addon-storysource": "4.0.0-rc.6",
"@storybook/addon-viewport": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/vue": "4.0.0-rc.6",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",
"file-loader": "^2.0.0",
"svg-url-loader": "^2.3.2",
"vue-loader": "^15.4.2",
"webpack": "^4.21.0",
"webpack": "^4.23.1",
"webpack-dev-server": "^3.1.9"
}
}

View File

@ -7,5 +7,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
"version": "4.0.0-rc.3"
"version": "4.0.0-rc.6"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook addons store",
"keywords": [
"storybook"
@ -23,8 +23,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.3",
"@storybook/channels": "4.0.0-rc.6",
"@storybook/components": "4.0.0-rc.6",
"global": "^4.3.2",
"util-deprecate": "^1.0.2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "",
"keywords": [
"storybook"
@ -23,7 +23,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "4.0.0-rc.3",
"@storybook/channels": "4.0.0-rc.6",
"global": "^4.3.2",
"json-stringify-safe": "^5.0.1"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "",
"keywords": [
"storybook"
@ -23,7 +23,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "4.0.0-rc.3",
"@storybook/channels": "4.0.0-rc.6",
"global": "^4.3.2"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "",
"keywords": [
"storybook"

View File

@ -1,14 +1,29 @@
import mergeDirs from 'merge-dirs';
import path from 'path';
import { getVersions, getPackageJson, writePackageJson, installBabel } from '../../lib/helpers';
import {
getVersions,
getPackageJson,
writePackageJson,
installBabel,
addToDevDependenciesIfNotPresent,
} from '../../lib/helpers';
export default async npmOptions => {
const [storybookVersion, actionsVersion, linksVersion, addonsVersion] = await getVersions(
const [
storybookVersion,
actionsVersion,
linksVersion,
addonsVersion,
babelPresetVersion,
babelCoreVersion,
] = await getVersions(
npmOptions,
'@storybook/vue',
'@storybook/addon-actions',
'@storybook/addon-links',
'@storybook/addons'
'@storybook/addons',
'babel-preset-vue',
'@babel/core'
);
mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite');
@ -22,6 +37,18 @@ export default async npmOptions => {
packageJson.devDependencies['@storybook/addon-links'] = linksVersion;
packageJson.devDependencies['@storybook/addons'] = addonsVersion;
// We should probably just not even be using this directly, see: https://github.com/storybooks/storybook/issues/4475#issuecomment-432141296
addToDevDependenciesIfNotPresent(packageJson, 'babel-preset-vue', babelPresetVersion);
const packageBabelCoreVersion =
packageJson.dependencies['babel-core'] || packageJson.devDependencies['babel-core'];
// This seems to be the version installed by the Vue CLI, and it is not handled by
// installBabel below. For some reason it leads to the wrong version of @babel/core (a beta)
// being installed
if (packageBabelCoreVersion === '7.0.0-bridge.0') {
addToDevDependenciesIfNotPresent(packageJson, '@babel/core', babelCoreVersion);
}
await installBabel(npmOptions, packageJson);
packageJson.scripts = packageJson.scripts || {};

View File

@ -150,7 +150,7 @@ export function paddedLog(message) {
export function getChars(char, amount) {
let line = '';
for (let lc = 0; lc < amount; lc++) { // eslint-disable-line
for (let lc = 0; lc < amount; lc += 1) {
line += char;
}
@ -227,3 +227,9 @@ export async function installBabel(npmOptions, packageJson) {
);
}
}
export function addToDevDependenciesIfNotPresent(packageJson, name, packageVersion) {
if (!packageJson.dependencies[name] && !packageJson.devDependencies[name]) {
packageJson.devDependencies[name] = packageVersion;
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@ -34,7 +34,7 @@
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.1.2",
"@storybook/codemod": "4.0.0-rc.3",
"@storybook/codemod": "4.0.0-rc.6",
"chalk": "^2.4.1",
"child-process-promise": "^2.2.1",
"commander": "^2.19.0",
@ -48,29 +48,29 @@
"update-notifier": "^2.5.0"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-centered": "4.0.0-rc.3",
"@storybook/addon-graphql": "4.0.0-rc.3",
"@storybook/addon-info": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/addon-links": "4.0.0-rc.3",
"@storybook/addon-notes": "4.0.0-rc.3",
"@storybook/addon-options": "4.0.0-rc.3",
"@storybook/addon-storyshots": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/angular": "4.0.0-rc.3",
"@storybook/channel-postmessage": "4.0.0-rc.3",
"@storybook/channel-websocket": "4.0.0-rc.3",
"@storybook/channels": "4.0.0-rc.3",
"@storybook/ember": "4.0.0-rc.3",
"@storybook/html": "4.0.0-rc.3",
"@storybook/marko": "4.0.0-rc.3",
"@storybook/mithril": "4.0.0-rc.3",
"@storybook/polymer": "4.0.0-rc.3",
"@storybook/react": "4.0.0-rc.3",
"@storybook/react-native": "4.0.0-rc.3",
"@storybook/riot": "4.0.0-rc.3",
"@storybook/ui": "4.0.0-rc.3",
"@storybook/vue": "4.0.0-rc.3"
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-centered": "4.0.0-rc.6",
"@storybook/addon-graphql": "4.0.0-rc.6",
"@storybook/addon-info": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/addon-links": "4.0.0-rc.6",
"@storybook/addon-notes": "4.0.0-rc.6",
"@storybook/addon-options": "4.0.0-rc.6",
"@storybook/addon-storyshots": "4.0.0-rc.6",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/angular": "4.0.0-rc.6",
"@storybook/channel-postmessage": "4.0.0-rc.6",
"@storybook/channel-websocket": "4.0.0-rc.6",
"@storybook/channels": "4.0.0-rc.6",
"@storybook/ember": "4.0.0-rc.6",
"@storybook/html": "4.0.0-rc.6",
"@storybook/marko": "4.0.0-rc.6",
"@storybook/mithril": "4.0.0-rc.6",
"@storybook/polymer": "4.0.0-rc.6",
"@storybook/react": "4.0.0-rc.6",
"@storybook/react-native": "4.0.0-rc.6",
"@storybook/riot": "4.0.0-rc.6",
"@storybook/ui": "4.0.0-rc.6",
"@storybook/vue": "4.0.0-rc.6"
}
}

View File

@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false

View File

@ -0,0 +1,39 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# dependencies
/node_modules
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
# System Files
.DS_Store
Thumbs.db

View File

@ -0,0 +1,27 @@
# AngularCliV7
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.0-rc.3.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

View File

@ -0,0 +1,139 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"angular-cli-v7": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/angular-cli-v7",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular-cli-v7:build"
},
"configurations": {
"production": {
"browserTarget": "angular-cli-v7:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-cli-v7:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.scss"
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"angular-cli-v7-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular-cli-v7:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular-cli-v7:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "angular-cli-v7"
}

View File

@ -0,0 +1,48 @@
{
"name": "angular-cli-v7",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "~7.0.0",
"@angular/common": "~7.0.0",
"@angular/compiler": "~7.0.0",
"@angular/core": "~7.0.0",
"@angular/forms": "~7.0.0",
"@angular/http": "~7.0.0",
"@angular/platform-browser": "~7.0.0",
"@angular/platform-browser-dynamic": "~7.0.0",
"@angular/router": "~7.0.0",
"core-js": "^2.5.4",
"rxjs": "~6.3.3",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.10.2",
"@angular/cli": "~7.0.2",
"@angular/compiler-cli": "~7.0.0",
"@angular/language-service": "~7.0.0",
"@types/node": "~8.9.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.3.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.1"
}
}

View File

@ -0,0 +1,20 @@
<!--The content below is only a placeholder and can be replaced.-->
<div style="text-align:center">
<h1>
Welcome to {{ title }}!
</h1>
<img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==">
</div>
<h2>Here are some links to help you start: </h2>
<ul>
<li>
<h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
</li>
<li>
<h2><a target="_blank" rel="noopener" href="https://github.com/angular/angular-cli/wiki">CLI Documentation</a></h2>
</li>
<li>
<h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
</li>
</ul>

View File

@ -0,0 +1,31 @@
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
}).compileComponents();
}));
it('should create the app', () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
});
it(`should have as title 'angular-cli-v7'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app.title).toEqual('angular-cli-v7');
});
it('should render title in a h1 tag', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('h1').textContent).toContain('Welcome to angular-cli-v7!');
});
});

View File

@ -0,0 +1,10 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'angular-cli-v7';
}

View File

@ -0,0 +1,16 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }

View File

@ -0,0 +1,11 @@
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
#
# For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11

View File

@ -0,0 +1,3 @@
export const environment = {
production: true
};

View File

@ -0,0 +1,16 @@
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AngularCliV7</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
</html>

View File

@ -0,0 +1,31 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, '../coverage'),
reports: ['html', 'lcovonly'],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
});
};

View File

@ -0,0 +1,12 @@
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));

View File

@ -0,0 +1,80 @@
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
* file.
*
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
*
* Learn more in https://angular.io/guide/browser-support
*/
/***************************************************************************************************
* BROWSER POLYFILLS
*/
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
// import 'core-js/es6/symbol';
// import 'core-js/es6/object';
// import 'core-js/es6/function';
// import 'core-js/es6/parse-int';
// import 'core-js/es6/parse-float';
// import 'core-js/es6/number';
// import 'core-js/es6/math';
// import 'core-js/es6/string';
// import 'core-js/es6/date';
// import 'core-js/es6/array';
// import 'core-js/es6/regexp';
// import 'core-js/es6/map';
// import 'core-js/es6/weak-map';
// import 'core-js/es6/set';
/**
* If the application will be indexed by Google Search, the following is required.
* Googlebot uses a renderer based on Chrome 41.
* https://developers.google.com/search/docs/guides/rendering
**/
// import 'core-js/es6/array';
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */
// import 'core-js/es6/reflect';
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
**/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
*/
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
/*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
*/
// (window as any).__Zone_enable_cross_context_check = true;
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/

View File

@ -0,0 +1 @@
/* You can add global styles to this file, and also import other style files */

View File

@ -0,0 +1,20 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);

View File

@ -0,0 +1,11 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"types": []
},
"exclude": [
"test.ts",
"**/*.spec.ts"
]
}

View File

@ -0,0 +1,18 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"types": [
"jasmine",
"node"
]
},
"files": [
"test.ts",
"polyfills.ts"
],
"include": [
"**/*.spec.ts",
"**/*.d.ts"
]
}

View File

@ -0,0 +1,17 @@
{
"extends": "../tslint.json",
"rules": {
"directive-selector": [
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
]
}
}

View File

@ -0,0 +1,21 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
}
}

View File

@ -0,0 +1,131 @@
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"curly": true,
"deprecation": {
"severity": "warn"
},
"eofline": true,
"forin": true,
"import-blacklist": [
true,
"rxjs/Rx"
],
"import-spacing": true,
"indent": [
true,
"spaces"
],
"interface-over-type-literal": true,
"label-position": true,
"max-line-length": [
true,
140
],
"member-access": false,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-arg": true,
"no-bitwise": true,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": false,
"no-empty-interface": true,
"no-eval": true,
"no-inferrable-types": [
true,
"ignore-params"
],
"no-misused-new": true,
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"prefer-const": true,
"quotemark": [
true,
"single"
],
"radix": true,
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"unified-signatures": true,
"variable-name": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"no-output-on-prefix": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/components",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -37,9 +37,9 @@
"render-fragment": "^0.1.1"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/addon-knobs": "4.0.0-rc.3",
"@storybook/react": "4.0.0-rc.3"
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/addon-knobs": "4.0.0-rc.6",
"@storybook/react": "4.0.0-rc.6"
},
"peerDependencies": {
"react": "*",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Event names used in storybook core",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -31,12 +31,12 @@
"@emotion/provider": "^0.11.2",
"@emotion/styled": "^0.10.6",
"@ndelangen/html-webpack-harddisk-plugin": "^0.2.0",
"@storybook/addons": "4.0.0-rc.3",
"@storybook/channel-postmessage": "4.0.0-rc.3",
"@storybook/client-logger": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/node-logger": "4.0.0-rc.3",
"@storybook/ui": "4.0.0-rc.3",
"@storybook/addons": "4.0.0-rc.6",
"@storybook/channel-postmessage": "4.0.0-rc.6",
"@storybook/client-logger": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"@storybook/node-logger": "4.0.0-rc.6",
"@storybook/ui": "4.0.0-rc.6",
"airbnb-js-shims": "^1 || ^2",
"autoprefixer": "^9.2.1",
"babel-plugin-macros": "^2.4.2",
@ -81,7 +81,7 @@
"style-loader": "^0.23.1",
"svg-url-loader": "^2.3.2",
"url-loader": "^1.1.2",
"webpack": "^4.21.0",
"webpack": "^4.23.1",
"webpack-dev-middleware": "^3.4.0",
"webpack-hot-middleware": "^2.24.3"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ui",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.6",
"description": "Core Storybook UI",
"keywords": [
"storybook"
@ -28,11 +28,11 @@
"@emotion/core": "^0.13.1",
"@emotion/provider": "^0.11.2",
"@emotion/styled": "^0.10.6",
"@storybook/components": "4.0.0-rc.3",
"@storybook/core-events": "4.0.0-rc.3",
"@storybook/components": "4.0.0-rc.6",
"@storybook/core-events": "4.0.0-rc.6",
"@storybook/mantra-core": "^1.7.2",
"@storybook/podda": "^1.2.3",
"@storybook/react-komposer": "^2.0.4",
"@storybook/react-komposer": "^2.0.5",
"deep-equal": "^1.0.1",
"events": "^3.0.0",
"fuse.js": "^3.3.0",
@ -47,8 +47,8 @@
"react-treebeard": "^3.1.0"
},
"devDependencies": {
"@storybook/addon-actions": "4.0.0-rc.3",
"@storybook/react": "4.0.0-rc.3"
"@storybook/addon-actions": "4.0.0-rc.6",
"@storybook/react": "4.0.0-rc.6"
},
"peerDependencies": {
"react": "*",

View File

@ -45,12 +45,12 @@
"test-latest-cra": "npm --prefix lib/cli run test-latest-cra"
},
"devDependencies": {
"@angular/common": "^6.1.10",
"@angular/compiler": "^6.1.10",
"@angular/core": "^6.1.10",
"@angular/forms": "^6.1.10",
"@angular/platform-browser": "^6.1.10",
"@angular/platform-browser-dynamic": "^6.1.10",
"@angular/common": "^7.0.1",
"@angular/compiler": "^7.0.1",
"@angular/core": "^7.0.1",
"@angular/forms": "^7.0.1",
"@angular/platform-browser": "^7.0.1",
"@angular/platform-browser-dynamic": "^7.0.1",
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
@ -75,14 +75,14 @@
"commander": "^2.19.0",
"concurrently": "^4.0.1",
"cross-env": "^5.2.0",
"danger": "^4.4.8",
"danger": "^6.0.2",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^5.7.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.25.1",
"eslint-plugin-jest": "^21.26.1",
"eslint-plugin-json": "^1.2.1",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
@ -111,9 +111,9 @@
"npmlog": "^4.1.2",
"prettier": "^1.14.3",
"raf": "^3.4.0",
"react-test-renderer": "^16.5.2",
"remark-cli": "^5.0.0",
"remark-lint": "^6.0.2",
"react-test-renderer": "^16.6.0",
"remark-cli": "^6.0.0",
"remark-lint": "^6.0.3",
"remark-preset-lint-recommended": "^3.0.2",
"riot-jest-transformer": "^1.0.10",
"shelljs": "^0.8.2",

1365
yarn.lock

File diff suppressed because it is too large Load Diff