Skip to content

Commit

Permalink
Merge branch 'master' into reproduce-against-master
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed May 9, 2017
2 parents 8a494d3 + 5affcbd commit 037453d
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
5 changes: 4 additions & 1 deletion .jestrc → .jestrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js"
},
"roots": ["packages"],
"projects": [
"<rootDir>/packages/*",
"<rootDir>/examples/*"
],
"collectCoverage": false,
"collectCoverageFrom": [
"packages/**/*.{js,jsx}",
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ script:
- npm run lint
- npm run test -- --coverage
- npm run coverage
- npm run test-examples
git:
depth: 1
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ If you follow that process, you can then link to the github repository in the is

We welcome your contributions. There are many ways you can help us. This is few of those ways:

* Fix typos and add more documentation.
* Fix typos and add more [documentation](https://github.com/storybooks/storybook/labels/needs%20docs).
* Try to fix some [bugs](https://github.com/storybooks/storybook/labels/bug).
* Work on [enhancements](https://github.com/storybooks/storybook/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement) and new [features](https://github.com/storybooks/storybook/issues?q=is%3Aissue+is%3Aopen+label%3Afeature).
* Add more tests (specially for the UI).
* Work on [API](https://github.com/storybooks/storybook/labels/enhancement%3A%20api), [Addons](https://github.com/storybooks/storybook/labels/enhancement%3A%20addons), [UI](https://github.com/storybooks/storybook/labels/enhancement%3A%20ui) or [Webpack](https://github.com/storybooks/storybook/labels/enhancement%3A%20webpack) use enhancements and new [features](https://github.com/storybooks/storybook/labels/feature%20request).
* Add more [tests](https://codecov.io/gh/storybooks/storybook/tree/master/packages) (specially for the [UI](https://codecov.io/gh/storybooks/storybook/tree/master/packages/storybook-ui/src)).

Before you submit a new PR, make you to run `npm test`. Do not submit a PR if tests are failing. If you need any help, create an issue and ask.

Expand Down
2 changes: 1 addition & 1 deletion examples/cra-storybook/src/stories/Welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class Welcome extends React.Component {
{' '}
<a
style={styles.link}
href="https://getstorybook.io/docs/basics/writing-stories"
href="https://storybooks.js.org/docs/react-storybook/basics/writing-stories"
target="_blank"
>
Writing Stories
Expand Down
2 changes: 1 addition & 1 deletion examples/test-cra/src/stories/Welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class Welcome extends React.Component {
{' '}
<a
style={styles.link}
href="https://getstorybook.io/docs/basics/writing-stories"
href="https://storybooks.js.org/docs/react-storybook/basics/writing-stories"
target="_blank"
>
Writing Stories
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.1.3",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jest": "^19.0.1",
"eslint-plugin-jest": "^20.0.0",
"eslint-plugin-prettier": "^2.0.1",
"jest": "^19.0.2",
"jest-enzyme": "^3.0.1",
"jest": "^20.0.0",
"jest-enzyme": "^3.1.0",
"lerna": "2.0.0-rc.4",
"prettier": "^1.1.0",
"react": "^15.5.4",
Expand All @@ -29,9 +29,8 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"lint": "eslint .",
"test": "jest --config ./.jestrc",
"test": "jest --config ./.jestrc.json",
"test:watch": "npm test -- --watch",
"test-examples": "CI=true lerna run test",
"coverage": "codecov"
}
}
1 change: 0 additions & 1 deletion packages/addon-knobs/src/components/PropField.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const stylesheet = {
width: 80,
fontSize: 10,
color: 'rgb(68, 68, 68)',
textTransform: 'uppercase',
fontWeight: 600,
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class Welcome extends React.Component {
{' '}
<a
style={styles.link}
href="https://getstorybook.io/docs/basics/writing-stories"
href="https://storybooks.js.org/docs/react-storybook/basics/writing-stories"
target="_blank"
>
Writing Stories
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// you can use this file to add your custom webpack plugins, loaders and anything you like.
// This is just the basic way to add addional webpack configurations.
// For more information refer the docs: https://getstorybook.io/docs/configurations/custom-webpack-config
// For more information refer the docs: https://storybooks.js.org/docs/react-storybook/configurations/custom-webpack-config

// IMPORTANT
// When you add this file, we won't add the default configurations which is similar
Expand Down
2 changes: 1 addition & 1 deletion packages/react-storybook/demo/src/stories/Welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class Welcome extends React.Component {
{' '}
<a
style={styles.link}
href="https://getstorybook.io/docs/basics/writing-stories"
href="https://storybooks.js.org/docs/react-storybook/basics/writing-stories"
target="_blank"
>
Writing Stories
Expand Down

0 comments on commit 037453d

Please sign in to comment.