@toptal/davinci-storybook 7.0.0 → 8.0.0
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/CHANGELOG.md +19 -1
- package/package.json +10 -16
- package/src/main.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @toptal/davinci-storybook
|
|
2
2
|
|
|
3
|
+
## 8.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#2669](https://github.com/toptal/davinci/pull/2669) [`5bf4768`](https://github.com/toptal/davinci/commit/5bf4768b9e4f55faf8fa2aa3fe198b2bdfea66ee) Thanks [@DaveHellsmith](https://github.com/DaveHellsmith)!
|
|
8
|
+
Migrate to Storybook 9
|
|
9
|
+
- update all @storybook/\* peer dependencies from v8 to v9
|
|
10
|
+
- remove 7 addons absorbed into Storybook 9 core (backgrounds, controls, measure, outline, toolbars, viewport, storysource)
|
|
11
|
+
- migrate import paths to Storybook 9 subpath exports (storybook/theming, storybook/manager-api, storybook/internal/types, storybook/internal/core-events)
|
|
12
|
+
- move doc block exports to @storybook/addon-docs/blocks
|
|
13
|
+
- remove webpack compiler addon references (no v9 releases)
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`5bf4768`](https://github.com/toptal/davinci/commit/5bf4768b9e4f55faf8fa2aa3fe198b2bdfea66ee)]:
|
|
18
|
+
- @toptal/davinci-storybook-addons@6.0.0
|
|
19
|
+
- @toptal/davinci-storybook-theme@5.0.0
|
|
20
|
+
|
|
3
21
|
## 7.0.0
|
|
4
22
|
|
|
5
23
|
### Major Changes
|
|
@@ -12,7 +30,7 @@
|
|
|
12
30
|
- convert Yarn `resolutions` to `pnpm.overrides` in root `package.json`
|
|
13
31
|
- update lerna `npmClient` from `yarn` to `pnpm`
|
|
14
32
|
- replace `yarn` with `pnpm` in root scripts (postinstall, test, test:unit:update)
|
|
15
|
-
|
|
33
|
+
**HOW to update:**
|
|
16
34
|
- install pnpm (`corepack enable` or `npm install -g pnpm@10.6.1`)
|
|
17
35
|
- replace `yarn install` with `pnpm install` in local workflows
|
|
18
36
|
- replace `yarn <script>` with `pnpm <script>` when running commands
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-storybook",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"essentials",
|
|
6
6
|
"storybook",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"ora": "^5.4.1",
|
|
37
37
|
"ws": "^6.2.3",
|
|
38
38
|
"yargs": "17.7.2",
|
|
39
|
+
"@toptal/davinci-storybook-addons": "^6.0.0",
|
|
39
40
|
"@toptal/davinci-cli-shared": "^3.0.0",
|
|
40
|
-
"@toptal/davinci-storybook-
|
|
41
|
-
"@toptal/davinci-storybook-theme": "^4.0.0",
|
|
41
|
+
"@toptal/davinci-storybook-theme": "^5.0.0",
|
|
42
42
|
"@toptal/davinci-workspace-root": "^2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -48,13 +48,9 @@
|
|
|
48
48
|
"@babel/preset-react": "^7.18.6",
|
|
49
49
|
"@babel/preset-typescript": "^7.17.12",
|
|
50
50
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
51
|
-
"@storybook/addon-docs": "^
|
|
52
|
-
"@storybook/
|
|
53
|
-
"@storybook/
|
|
54
|
-
"@storybook/blocks": "^8.6.9",
|
|
55
|
-
"@storybook/react": "^8.6.9",
|
|
56
|
-
"@storybook/react-webpack5": "^8.6.9",
|
|
57
|
-
"@storybook/test": "^8.6.9",
|
|
51
|
+
"@storybook/addon-docs": "^9.1.0",
|
|
52
|
+
"@storybook/react": "^9.1.0",
|
|
53
|
+
"@storybook/react-webpack5": "^9.1.0",
|
|
58
54
|
"@swc/plugin-styled-components": "^9.1.0",
|
|
59
55
|
"@tailwindcss/postcss": "^4.2.1",
|
|
60
56
|
"autoprefixer": "^10.4.15",
|
|
@@ -65,7 +61,7 @@
|
|
|
65
61
|
"react": ">= 16 < 19",
|
|
66
62
|
"react-dom": ">= 16 < 19",
|
|
67
63
|
"react-refresh": "^0.14.0",
|
|
68
|
-
"storybook": "^
|
|
64
|
+
"storybook": "^9.1.0",
|
|
69
65
|
"tailwindcss": "^4.2.1",
|
|
70
66
|
"webpack": "^5.94.0"
|
|
71
67
|
},
|
|
@@ -76,16 +72,14 @@
|
|
|
76
72
|
"@babel/preset-react": "^7.18.6",
|
|
77
73
|
"@babel/preset-typescript": "^7.17.12",
|
|
78
74
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
79
|
-
"@storybook/
|
|
80
|
-
"@storybook/
|
|
81
|
-
"@storybook/react": "8",
|
|
82
|
-
"@storybook/react-webpack5": "8",
|
|
75
|
+
"@storybook/react": "9",
|
|
76
|
+
"@storybook/react-webpack5": "9",
|
|
83
77
|
"@swc/plugin-styled-components": "^9.1.0",
|
|
84
78
|
"@tailwindcss/postcss": "^4.2.1",
|
|
85
79
|
"babel-plugin-styled-components": "^2.1.4",
|
|
86
80
|
"happo-plugin-storybook": "^4.4.3",
|
|
87
81
|
"react-refresh": "^0.14.0",
|
|
88
|
-
"storybook": "
|
|
82
|
+
"storybook": "9",
|
|
89
83
|
"tailwindcss": "^4.2.1",
|
|
90
84
|
"webpack": "^5.94.0"
|
|
91
85
|
},
|
package/src/main.js
CHANGED
|
@@ -27,7 +27,7 @@ export const commonConfig = {
|
|
|
27
27
|
/** @type { import('@storybook/react-webpack5').StorybookConfig } */
|
|
28
28
|
const storybookConfig = {
|
|
29
29
|
...commonConfig,
|
|
30
|
-
addons: [...addons
|
|
30
|
+
addons: [...addons],
|
|
31
31
|
babel: config => ({
|
|
32
32
|
...config,
|
|
33
33
|
presets: [
|
|
@@ -51,7 +51,7 @@ const storybookConfig = {
|
|
|
51
51
|
/** @type { import('@storybook/react-webpack5').StorybookConfig } */
|
|
52
52
|
export const storybookConfigSWC = {
|
|
53
53
|
...commonConfig,
|
|
54
|
-
addons: [...addons
|
|
54
|
+
addons: [...addons],
|
|
55
55
|
swc: config => ({
|
|
56
56
|
...config,
|
|
57
57
|
jsc: {
|
|
@@ -80,7 +80,7 @@ export const lightningFastSuperExtraConfig = {
|
|
|
80
80
|
typescript: {
|
|
81
81
|
reactDocgen: false,
|
|
82
82
|
},
|
|
83
|
-
addons: [
|
|
83
|
+
addons: [],
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export default storybookConfig
|