forked from storybookjs/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1025 from shilman/1117-deprecate-builtin-addons
Deprecate built-in addons
- Loading branch information
Showing
37 changed files
with
172 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
// Uncomment to register defaults | ||
// import '@kadira/storybook/addons'; | ||
|
||
// Use the line below to register this addon | ||
// import '@kadira/storybook-addon-actions/register'; | ||
import '../register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import '@kadira/storybook/addons'; | ||
import '@kadira/storybook-addon-actions/register'; | ||
import 'react-storybook-addon-backgrounds/register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
import '../src/register'; | ||
import '@kadira/storybook/addons' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
// Uncomment to register defaults | ||
// import '@kadira/storybook/addons'; | ||
|
||
// Use the line below to register this addon | ||
// import '@kadira/storybook-addon-links/register'; | ||
import '../register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
// Uncomment to register defaults | ||
// import '@kadira/storybook/addons'; | ||
|
||
// Use the line below to register this addon | ||
// import '@kadira/storybook-addon-hello/register'; | ||
import '../register'; |
4 changes: 3 additions & 1 deletion
4
packages/getstorybook/generators/METEOR/template/.stories/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
packages/getstorybook/generators/METEOR/template/.storybook/addons.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; |
2 changes: 2 additions & 0 deletions
2
packages/getstorybook/generators/REACT/template/.storybook/addons.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; |
4 changes: 3 additions & 1 deletion
4
packages/getstorybook/generators/REACT/template/stories/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/getstorybook/generators/REACT_NATIVE/template/storybook/addons.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import '@kadira/react-native-storybook/addons'; | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; |
4 changes: 3 additions & 1 deletion
4
packages/getstorybook/generators/REACT_NATIVE/template/storybook/stories/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
packages/getstorybook/generators/REACT_SCRIPTS/template/.storybook/addons.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; |
4 changes: 3 additions & 1 deletion
4
packages/getstorybook/generators/REACT_SCRIPTS/template/src/stories/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,76 @@ | ||
{ | ||
"name": "@kadira/react-native-storybook", | ||
"version": "2.3.0", | ||
"description": "A better way to develop React Native Components for your app", | ||
"main": "dist/index.js", | ||
"bin": { | ||
"storybook": "dist/bin/storybook.js" | ||
}, | ||
"scripts": { | ||
"prepublish": "node ../../scripts/prepublish.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/kadirahq/react-native-storybook.git" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"react-native", | ||
"storybook" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/kadirahq/react-native-storybook/issues" | ||
}, | ||
"homepage": "https://github.com/kadirahq/react-native-storybook#readme", | ||
"peerDependencies": { | ||
"react": "*", | ||
"react-native": "0.27.0 - 0.43.x" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.1", | ||
"react": "^15.5.4", | ||
"react-dom": "^15.5.4", | ||
"react-native": "^0.43.3" | ||
}, | ||
"dependencies": { | ||
"@kadira/storybook-addon-actions": "*", | ||
"@kadira/storybook-addon-links": "*", | ||
"@kadira/storybook-addons": "*", | ||
"@kadira/storybook-channel-websocket": "*", | ||
"@kadira/storybook-ui": "*", | ||
"autoprefixer": "^7.0.1", | ||
"babel-core": "^6.24.1", | ||
"babel-loader": "^7.0.0", | ||
"babel-plugin-syntax-async-functions": "^6.13.0", | ||
"babel-plugin-syntax-trailing-function-commas": "^6.22.0", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-plugin-transform-react-constant-elements": "^6.23.0", | ||
"babel-plugin-transform-regenerator": "^6.24.1", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-es2016": "^6.24.1", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"babel-runtime": "^6.23.0", | ||
"case-sensitive-paths-webpack-plugin": "^2.0.0", | ||
"commander": "^2.9.0", | ||
"css-loader": "^0.28.0", | ||
"events": "^1.1.1", | ||
"express": "^4.15.2", | ||
"file-loader": "^0.11.1", | ||
"json-loader": "^0.5.4", | ||
"json5": "^0.5.1", | ||
"postcss-loader": "^2.0.3", | ||
"shelljs": "^0.7.7", | ||
"style-loader": "^0.17.0", | ||
"url-loader": "^0.5.8", | ||
"uuid": "^3.0.1", | ||
"webpack": "^2.4.1", | ||
"webpack-dev-middleware": "^1.10.1", | ||
"webpack-hot-middleware": "^2.18.0" | ||
} | ||
} | ||
{ | ||
"name": "@kadira/react-native-storybook", | ||
"version": "2.3.0", | ||
"description": "A better way to develop React Native Components for your app", | ||
"main": "dist/index.js", | ||
"bin": { | ||
"storybook": "dist/bin/storybook.js" | ||
}, | ||
"scripts": { | ||
"prepublish": "node ../../scripts/prepublish.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/kadirahq/react-native-storybook.git" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"react-native", | ||
"storybook" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/kadirahq/react-native-storybook/issues" | ||
}, | ||
"homepage": "https://github.com/kadirahq/react-native-storybook#readme", | ||
"peerDependencies": { | ||
"react": "*", | ||
"react-native": "0.27.0 - 0.43.x" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.1", | ||
"react": "^15.5.4", | ||
"react-dom": "^15.5.4", | ||
"react-native": "^0.43.3" | ||
}, | ||
"dependencies": { | ||
"@kadira/storybook-addon-actions": "*", | ||
"@kadira/storybook-addon-links": "*", | ||
"@kadira/storybook-addons": "*", | ||
"@kadira/storybook-channel-websocket": "*", | ||
"@kadira/storybook-ui": "*", | ||
"autoprefixer": "^7.0.1", | ||
"babel-core": "^6.24.1", | ||
"babel-loader": "^7.0.0", | ||
"babel-plugin-syntax-async-functions": "^6.13.0", | ||
"babel-plugin-syntax-trailing-function-commas": "^6.22.0", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-plugin-transform-react-constant-elements": "^6.23.0", | ||
"babel-plugin-transform-regenerator": "^6.24.1", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-es2016": "^6.24.1", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"babel-runtime": "^6.23.0", | ||
"case-sensitive-paths-webpack-plugin": "^2.0.0", | ||
"commander": "^2.9.0", | ||
"css-loader": "^0.28.0", | ||
"events": "^1.1.1", | ||
"express": "^4.15.2", | ||
"file-loader": "^0.11.1", | ||
"json-loader": "^0.5.4", | ||
"json5": "^0.5.1", | ||
"postcss-loader": "^2.0.3", | ||
"shelljs": "^0.7.7", | ||
"style-loader": "^0.17.0", | ||
"url-loader": "^0.5.8", | ||
"util-deprecate": "^1.0.2", | ||
"uuid": "^3.0.1", | ||
"webpack": "^2.4.1", | ||
"webpack-dev-middleware": "^1.10.1", | ||
"webpack-hot-middleware": "^2.18.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
import deprecate from 'util-deprecate'; | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; | ||
|
||
deprecate( | ||
() => {}, | ||
'@kadira/react-native-storybook/addons is deprecated. See https://storybooks.js.org/docs/react-storybook/addons/using-addons/', | ||
)(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import '@kadira/storybook-addon-actions/register'; | ||
import '@kadira/storybook-addon-links/register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.