@storybook/preset-create-react-app 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@ One-line [Create React App](https://github.com/facebook/create-react-app) config
|
|
|
4
4
|
|
|
5
5
|
This preset is designed to use alongside [`@storybook/react`](https://github.com/storybookjs/storybook/tree/master/app/react).
|
|
6
6
|
|
|
7
|
+
## Compatibility
|
|
8
|
+
|
|
9
|
+
This version (4.x) of `@storybook/preset-create-react-app` is compatibly with Create React App version 5 and above. Earlier versions are compatible with earlier version of the preset.
|
|
10
|
+
|
|
7
11
|
## Basic usage
|
|
8
12
|
|
|
9
13
|
**Note: you don't need to do this manually** if you used `npx -p @storybook/cli sb init` on a create-react-app, everything should properly setup already ✅.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/preset-create-react-app",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Create React App preset for Storybook",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@babel/core": "*",
|
|
41
41
|
"@storybook/node-logger": "*",
|
|
42
42
|
"@storybook/react": ">=5.2",
|
|
43
|
-
"react-scripts": ">=
|
|
43
|
+
"react-scripts": ">=5.0.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|