Skip to content

Commit

Permalink
Major version upgrades for devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi committed Jan 27, 2018
1 parent 3a4e359 commit 52a554f
Show file tree
Hide file tree
Showing 23 changed files with 1,048 additions and 670 deletions.
59 changes: 0 additions & 59 deletions .eslintrc-markdown.js

This file was deleted.

17 changes: 1 addition & 16 deletions .remarkrc.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
module.exports = {
plugins: [
'remark-preset-lint-recommended',
['remark-lint-list-item-indent', false],
[
'remark-lint-code',
{
js: {
module: 'node_modules/remark-lint-code-eslint',
options: {
fix: true,
configFile: '.eslintrc-markdown.js',
},
},
},
],
],
plugins: ['remark-preset-lint-recommended', ['remark-lint-list-item-indent', false]],
};
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#### Maintenance

- ADD autolabeler.yml for https://github.com/probot/autolabeler [#2809](https://github.com/storybooks/storybook/pull/2809)
- ADD autolabeler.yml for <https://github.com/probot/autolabeler> [#2809](https://github.com/storybooks/storybook/pull/2809)
- Fix css warning in angular-cli example [#2789](https://github.com/storybooks/storybook/pull/2789)
- Move more things to core [#2788](https://github.com/storybooks/storybook/pull/2788)

Expand Down
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ addressed before a release can go out by adding them to the milestone. For examp
Adding bugs to the milestone helps people looking for good ways to contribute,
or to understand what is blocking the release so they can actually do something
about it. Discussion about which bugs are critical happens in the `#maintenance`
channel [in our Slack](https://now-examples-slackin-rrirkqohko.now.sh/) [![Storybook Slack](https://now-examples-slackin-rrirkqohko.now.sh/badge.svg)].(https://now-examples-slackin-rrirkqohko.now.sh/)
channel [in our Slack](https://now-examples-slackin-rrirkqohko.now.sh/) [![Storybook Slack](https://now-examples-slackin-rrirkqohko.now.sh/badge.svg)](https://now-examples-slackin-rrirkqohko.now.sh/)


If you're experiencing a bug, the best way to make sure that it gets attention
Expand Down
32 changes: 16 additions & 16 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

## Table of contents

* [New features](#new-features)
+ [Responsive + multi-device viewports preview.](#responsive--multi-device-viewports-preview)
+ [Automatic story detection](#automatic-story-detection)
+ [Theme ability and override core UI components](#theme-ability-and-override-core-ui-components)
+ [Add a playground addon](#add-a-playground-addon)
+ [See multiple (or all) stories in 1 preview.](#see-multiple--or-all--stories-in-1-preview)
* [Supporting other frameworks and libraries](#supporting-other-frameworks-and-libraries)
+ [Polymer & Webcomponents](#polymer---webcomponents)
+ [Aurelia](#aurelia)
+ [Ember](#ember)
* [Breaking changes](#breaking-changes)
+ [Addon API](#addon-api)
+ [API for adding stories](#api-for-adding-stories)
* [Documentation](#documentation)
+ [Better design](#better-design)
+ [Record videos and write blog post on how to use, tweak & develop storybook](#record-videos-and-write-blog-post-on-how-to-use--tweak---develop-storybook)
* [New features](#new-features)
+ [Responsive + multi-device viewports preview.](#responsive--multi-device-viewports-preview)
+ [Automatic story detection](#automatic-story-detection)
+ [Theme ability and override core UI components](#theme-ability-and-override-core-ui-components)
+ [Add a playground addon](#add-a-playground-addon)
+ [See multiple (or all) stories in 1 preview.](#see-multiple--or-all--stories-in-1-preview)
* [Supporting other frameworks and libraries](#supporting-other-frameworks-and-libraries)
+ [Polymer & Webcomponents](#polymer---webcomponents)
+ [Aurelia](#aurelia)
+ [Ember](#ember)
* [Breaking changes](#breaking-changes)
+ [Addon API](#addon-api)
+ [API for adding stories](#api-for-adding-stories)
* [Documentation](#documentation)
+ [Better design](#better-design)
+ [Record videos and write blog post on how to use, tweak & develop storybook](#record-videos-and-write-blog-post-on-how-to-use--tweak---develop-storybook)

## New features

Expand Down
4 changes: 2 additions & 2 deletions addons/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ storiesOf('MyComponent', module)

### withTests(options)

- **options.results**: [OBJECT] jest output results. *mandatory*
- **filteExt**: [STRING] test file extention. *optionnal*. This allow you to write "MyComponent" and not "MyComponent.test.js". It will be used as regex to find your file results. Default value is `((\\.specs?)|(\\.tests?))?(\\.js)?$`. That mean it will match: MyComponent.js, MyComponent.test.js, MyComponent.tests.js, MyComponent.spec.js, MyComponent.specs.js...
- **options.results**: OBJECT jest output results. *mandatory*
- **filteExt**: STRING test file extention. *optionnal*. This allow you to write "MyComponent" and not "MyComponent.test.js". It will be used as regex to find your file results. Default value is `((\\.specs?)|(\\.tests?))?(\\.js)?$`. That mean it will match: MyComponent.js, MyComponent.test.js, MyComponent.tests.js, MyComponent.spec.js, MyComponent.specs.js...

## TODO

Expand Down
10 changes: 5 additions & 5 deletions addons/storyshots/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ Now run your Jest test command. (Usually, `npm test`.) Then you can see all of y
Internally, it uses [jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot).

When willing to generate and compare image snapshots for your stories, you have two options:
- Have a storybook running (ie. accessible via http(s), for instance using `yarn run storybook`)
- Have a static build of the storybook (for instance, using `yarn run build-storybook`)
- Have a storybook running (ie. accessible via http(s), for instance using `yarn run storybook`)
- Have a static build of the storybook (for instance, using `yarn run build-storybook`)

Then you will need to reference the storybook URL (`file://...` if local, `http(s)://...` if served)

Expand All @@ -142,10 +142,10 @@ import initStoryshots, { imageSnapshot } from '@storybook/addon-storyshots';

initStoryshots({suite: 'Image storyshots', test: imageSnapshot});
```
This will assume you have a storybook running on at _http://localhost:6006_.
This will assume you have a storybook running on at _<http://localhost:6006>_.
Internally here are the steps:
- Launches a Chrome headless using [puppeteer](https://github.com/GoogleChrome/puppeteer)
- Browses each stories (calling _http://localhost:6006/iframe.html?..._ URL),
- Browses each stories (calling _<http://localhost:6006/iframe.html?...>_ URL),
- Take screenshots & save all images under _\_image_snapshots\__ folder.

### Specifying the storybook URL
Expand All @@ -156,7 +156,7 @@ import initStoryshots, { imageSnapshot } from '@storybook/addon-storyshots';

initStoryshots({suite: 'Image storyshots', test: imageSnapshot({storybookUrl: 'http://my-specific-domain.com:9010'})});
```
The above config will use _https://my-specific-domain.com:9010_ for screenshots.
The above config will use _<https://my-specific-domain.com:9010>_ for screenshots.


You may also use a local static build of storybook if you do not want to run the webpack dev-server:
Expand Down
6 changes: 3 additions & 3 deletions addons/storyshots/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
"@storybook/addons": "^3.4.0-alpha.6",
"@storybook/react": "^3.4.0-alpha.6",
"babel-cli": "^6.26.0",
"babel-jest": "^20.0.3",
"babel-jest": "^22.1.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme-to-json": "^3.3.1",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"jest": "^22.1.4",
"jest-cli": "^22.1.4",
"react": "^16.1.0",
"react-dom": "^16.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion app/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"babel-cli": "^6.26.0",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"codelyzer": "^3.1.2",
"codelyzer": "^4.1.0",
"mock-fs": "^4.3.0",
"nodemon": "^1.14.11",
"typescript": "^2.4.0"
Expand Down
2 changes: 1 addition & 1 deletion app/angular/src/client/preview/angular/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const createComponentFromTemplate = (template: string): Function => {
const initModule = (
currentStory: IGetStoryWithContext,
context: IContext,
reRender: boolean = false,
reRender: boolean = false
): Function => {
const storyObj = currentStory(context);
const { component, template, props, moduleMetadata = {} } = storyObj;
Expand Down
2 changes: 1 addition & 1 deletion app/vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ getstorybook
For more information visit: [storybook.js.org](https://storybook.js.org)

## Starter Storybook-for-Vue Boilerplate project with [Vuetify](https://github.com/vuetifyjs/vuetify) Material Component Framework
https://github.com/white-rabbit-japan/vuetify-storyboard-boilerplate
<https://github.com/white-rabbit-japan/vuetify-storyboard-boilerplate>

* * *

Expand Down
6 changes: 3 additions & 3 deletions examples/angular-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@
"@storybook/addons": "^3.4.0-alpha.6",
"@storybook/angular": "^3.4.0-alpha.6",
"@types/jasmine": "~2.8.6",
"@types/node": "~6.0.96",
"@types/node": "~9.4.0",
"global": "^4.3.2",
"jasmine-core": "~2.9.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.0",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.4.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "~3.3.0",
"ts-node": "~4.1.0",
"typescript": "^2.4.0"
}
}
6 changes: 3 additions & 3 deletions examples/official-storybook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

This storybook includes stories for:

- `@storybook/components` - reusable UI components for addon authors
- `@storybook/ui` - the UI of storybook itself
- `@storybook/addon-*` - various addons.
- `@storybook/components` - reusable UI components for addon authors
- `@storybook/ui` - the UI of storybook itself
- `@storybook/addon-*` - various addons.
4 changes: 2 additions & 2 deletions examples/official-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"@storybook/addons": "^3.4.0-alpha.6",
"@storybook/components": "^3.4.0-alpha.6",
"@storybook/react": "^3.4.0-alpha.6",
"babel-jest": "^21.2.0",
"babel-jest": "^22.1.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.3.1",
"eventemitter3": "^3.0.0",
"format-json": "^1.0.3",
"global": "^4.3.2",
"jest": "^21.2.1",
"jest": "^22.1.4",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-chromatic": "^0.7.9",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue-kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-vue": "^1.2.1",
"babel-preset-vue": "^2.0.0",
"cross-env": "^5.1.3",
"css-loader": "^0.28.9",
"file-loader": "^1.1.6",
Expand Down
Binary file modified integration/__image_snapshots__/angular-cli-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified integration/__image_snapshots__/cra-kitchen-sink-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified integration/__image_snapshots__/vue-kitchen-sink-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "2.5.1",
"lerna": "2.8.0",
"npmClient": "yarn",
"useWorkspaces": true,
"commands": {
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@storybook/react-native": "^3.4.0-alpha.6",
"@storybook/ui": "^3.4.0-alpha.6",
"@storybook/vue": "^3.4.0-alpha.6",
"check-node-version": "2.1.0",
"check-node-version": "3.2.0",
"npx": "9.7.1"
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
"babel-preset-stage-0": "^6.24.1",
"chalk": "^2.3.0",
"codecov": "^3.0.0",
"codelyzer": "^3.1.2",
"codelyzer": "^4.1.0",
"commander": "^2.13.0",
"cross-env": "^5.1.3",
"danger": "^2.1.10",
"danger": "^3.1.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.16.0",
Expand All @@ -65,7 +65,7 @@
"github-release-from-changelog": "^1.3.1",
"glob": "^7.1.2",
"husky": "^0.14.3",
"inquirer": "^4.0.2",
"inquirer": "^5.0.1",
"jest": "^22.1.4",
"jest-cli": "^22.1.4",
"jest-config": "^22.1.4",
Expand All @@ -76,18 +76,18 @@
"jest-jasmine2": "^22.1.4",
"jest-preset-angular": "^5.0.0",
"jest-vue-preprocessor": "^1.3.1",
"lerna": "2.6.0",
"lerna": "2.8.0",
"lint-staged": "^6.1.0",
"lodash": "^4.17.4",
"nodemon": "^1.14.11",
"npmlog": "^4.1.2",
"prettier": "^1.10.2",
"puppeteer": "^0.13.0",
"puppeteer": "^1.0.0",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"remark-cli": "^4.0.0",
"remark-cli": "^5.0.0",
"remark-lint": "^6.0.1",
"remark-lint-code": "^2.0.0",
"remark-lint-code-eslint": "^2.0.0",
Expand Down
5 changes: 1 addition & 4 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,7 @@
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"no-access-missing-member": true,
"templates-use-public": true,
"invoke-injectable": true
"directive-class-suffix": true
},
"linterOptions": {
"exclude": [
Expand Down
Loading

0 comments on commit 52a554f

Please sign in to comment.