@newhighsco/storybook-preset 4.4.25 → 4.4.28
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 +1 -1
- package/package.json +17 -22
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ New High Score [shareable preset](https://storybook.js.org/docs/presets/introduc
|
|
|
7
7
|
Install Storybook and `@newhighsco/storybook-preset`:
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
|
|
10
|
+
yarn add -D babel-loader @storybook/react @newhighsco/storybook-preset @storybook/builder-webpack5 @storybook/manager-webpack5
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Usage
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newhighsco/storybook-preset",
|
|
3
3
|
"description": "New High Score shareable Storybook preset",
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.28",
|
|
5
5
|
"author": "New High Score <hello@newhighsco.re>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"scripts": {
|
|
21
21
|
"prestart": "yarn prepare",
|
|
22
22
|
"start": "start-storybook --port 6006 --docs --no-manager-cache",
|
|
23
|
-
"prepare": "husky install && yarn build",
|
|
23
|
+
"prepare": "(is-ci || husky install) && yarn build",
|
|
24
24
|
"prebuild": "rm -rf dist",
|
|
25
25
|
"build": "babel src --out-dir dist --ignore '**/__mocks__','**/__tests__','**/*.spec.jsx'",
|
|
26
26
|
"prebuild:storybook": "rm -rf build",
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
"test": "npm-run-all --parallel test:*",
|
|
30
30
|
"test:js": "jest --coverage",
|
|
31
31
|
"tdd": "yarn test:js --watch",
|
|
32
|
-
"snapshot": "
|
|
33
|
-
"snapshot:chromatic": "chromatic --storybook-build-dir build --auto-accept-changes main --exit-once-uploaded",
|
|
32
|
+
"snapshot": "chromatic --storybook-build-dir build --auto-accept-changes main --exit-once-uploaded",
|
|
34
33
|
"lint": "npm-run-all --parallel lint:*",
|
|
35
34
|
"lint:js": "eslint --cache --ignore-path .gitignore --ext .js,.json,.jsx,.mdx .",
|
|
36
35
|
"format": "npm-run-all --parallel format:*",
|
|
@@ -47,8 +46,8 @@
|
|
|
47
46
|
"@svgr/webpack": "6.2.1",
|
|
48
47
|
"new-url-loader": "0.1.1",
|
|
49
48
|
"postcss": "8.4.12",
|
|
50
|
-
"react-is": "
|
|
51
|
-
"sass": "1.49.
|
|
49
|
+
"react-is": "18.0.0",
|
|
50
|
+
"sass": "1.49.10",
|
|
52
51
|
"sass-loader": "12.6.0",
|
|
53
52
|
"storybook-dark-mode": "1.0.9"
|
|
54
53
|
},
|
|
@@ -57,26 +56,27 @@
|
|
|
57
56
|
"@babel/polyfill": "7.12.1",
|
|
58
57
|
"@babel/preset-env": "7.16.11",
|
|
59
58
|
"@commitlint/cli": "16.2.3",
|
|
60
|
-
"@newhighsco/commitlint-config": "1.0
|
|
61
|
-
"@newhighsco/editor-config": "1.
|
|
62
|
-
"@newhighsco/eslint-config": "3.1.
|
|
63
|
-
"@newhighsco/prettier-config": "2.0.
|
|
64
|
-
"@newhighsco/release-config": "1.1
|
|
59
|
+
"@newhighsco/commitlint-config": "1.1.0",
|
|
60
|
+
"@newhighsco/editor-config": "1.2.0",
|
|
61
|
+
"@newhighsco/eslint-config": "3.1.22",
|
|
62
|
+
"@newhighsco/prettier-config": "2.0.18",
|
|
63
|
+
"@newhighsco/release-config": "1.3.1",
|
|
65
64
|
"@storybook/builder-webpack5": "6.4.19",
|
|
66
65
|
"@storybook/manager-webpack5": "6.4.19",
|
|
67
66
|
"@storybook/react": "6.4.19",
|
|
68
|
-
"@wojtekmaj/enzyme-adapter-react-17": "0.6.
|
|
67
|
+
"@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
|
|
69
68
|
"babel-jest": "27.5.1",
|
|
70
|
-
"babel-loader": "8.2.
|
|
69
|
+
"babel-loader": "8.2.4",
|
|
71
70
|
"chromatic": "6.5.3",
|
|
72
71
|
"enzyme": "3.11.0",
|
|
73
|
-
"eslint": "8.
|
|
72
|
+
"eslint": "8.12.0",
|
|
74
73
|
"husky": "7.0.4",
|
|
74
|
+
"is-ci": "3.0.1",
|
|
75
75
|
"jest": "27.5.1",
|
|
76
76
|
"npm-run-all": "4.1.5",
|
|
77
|
-
"prettier": "2.
|
|
78
|
-
"react": "
|
|
79
|
-
"react-dom": "
|
|
77
|
+
"prettier": "2.6.1",
|
|
78
|
+
"react": "18.0.0",
|
|
79
|
+
"react-dom": "18.0.0",
|
|
80
80
|
"semantic-release": "19.0.2",
|
|
81
81
|
"webpack": "5.70.0"
|
|
82
82
|
},
|
|
@@ -93,11 +93,6 @@
|
|
|
93
93
|
"@newhighsco/eslint-config"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"husky": {
|
|
97
|
-
"hooks": {
|
|
98
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
96
|
"prettier": "@newhighsco/prettier-config",
|
|
102
97
|
"release": {
|
|
103
98
|
"extends": "@newhighsco/release-config",
|