Skip to content

Commit f4b1734

Browse files
committed
Merge branch 'next-debug' of github.com:storybookjs/storybook into next-debug
2 parents 5de81b1 + 9357516 commit f4b1734

File tree

19 files changed

+61
-518
lines changed

19 files changed

+61
-518
lines changed

code/addons/interactions/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"@storybook/preview-api": "7.1.0-alpha.29",
8383
"@storybook/theming": "7.1.0-alpha.29",
8484
"@storybook/types": "7.1.0-alpha.29",
85-
"jest-mock": "^27.0.6",
85+
"jest-mock": "^29.5.0",
8686
"polished": "^4.2.2",
8787
"ts-dedent": "^2.2.0"
8888
},
@@ -114,9 +114,8 @@
114114
"./src/index.ts",
115115
"./src/manager.tsx",
116116
"./src/preview.ts",
117-
"./src/preset/checkActionsLoaded.ts"
118-
],
119-
"platform": "node"
117+
"./src/preset.ts"
118+
]
120119
},
121120
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
122121
"storybook": {

code/addons/interactions/preset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { checkActionsLoaded } = require('./dist/preset/checkActionsLoaded');
1+
const { checkActionsLoaded } = require('./dist/preset');
22

33
function previewAnnotations(entry = [], options) {
44
checkActionsLoaded(options.configDir);
File renamed without changes.

code/addons/storyshots-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@storybook/types": "7.1.0-alpha.29",
4747
"@types/jest-specific-snapshot": "^0.5.6",
4848
"glob": "^10.0.0",
49-
"jest-specific-snapshot": "^7.0.0",
49+
"jest-specific-snapshot": "^8.0.0",
5050
"preact-render-to-string": "^5.1.19",
5151
"pretty-format": "^29.0.0",
5252
"react-test-renderer": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -66,7 +66,7 @@
6666
"enzyme": "^3.11.0",
6767
"enzyme-adapter-react-16": "^1.15.5",
6868
"enzyme-to-json": "^3.6.1",
69-
"jest-preset-angular": "^12.2.3",
69+
"jest-preset-angular": "^13.0.1",
7070
"jest-vue-preprocessor": "^1.7.1",
7171
"react-test-renderer": "^16",
7272
"rxjs": "^6.6.3",

code/builders/builder-webpack5/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"babel-plugin-named-exports-order": "^0.0.2",
8383
"browser-assert": "^1.2.1",
8484
"case-sensitive-paths-webpack-plugin": "^2.4.0",
85+
"constants-browserify": "^1.0.0",
8586
"css-loader": "^6.7.1",
8687
"express": "^4.17.3",
8788
"fork-ts-checker-webpack-plugin": "^8.0.0",
@@ -94,6 +95,7 @@
9495
"swc-loader": "^0.2.3",
9596
"terser-webpack-plugin": "^5.3.1",
9697
"ts-dedent": "^2.0.0",
98+
"url": "^0.11.0",
9799
"util": "^0.12.4",
98100
"util-deprecate": "^1.0.2",
99101
"webpack": "5",

code/builders/builder-webpack5/src/preview/iframe-webpack.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,13 @@ export default async (
308308
mainFields: ['browser', 'module', 'main'].filter(Boolean),
309309
alias: storybookPaths,
310310
fallback: {
311+
stream: false,
311312
path: require.resolve('path-browserify'),
312313
assert: require.resolve('browser-assert'),
313314
util: require.resolve('util'),
315+
url: require.resolve('url'),
316+
fs: false,
317+
constants: require.resolve('constants-browserify'),
314318
},
315319
// Set webpack to resolve symlinks based on whether the user has asked node to.
316320
// This feels like it should be default out-of-the-box in webpack :shrug:

code/frameworks/react-webpack5/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@types/node": "^16.0.0"
5454
},
5555
"devDependencies": {
56-
"jest-specific-snapshot": "^7.0.0",
56+
"jest-specific-snapshot": "^8.0.0",
5757
"typescript": "~4.9.3"
5858
},
5959
"peerDependencies": {

code/lib/codemod/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@types/jscodeshift": "^0.11.6",
6464
"ansi-regex": "^5.0.1",
6565
"jest": "^29.3.1",
66-
"jest-specific-snapshot": "^7.0.0",
66+
"jest-specific-snapshot": "^8.0.0",
6767
"mdast-util-mdx-jsx": "^2.1.2",
6868
"mdast-util-mdxjs-esm": "^1.3.1",
6969
"remark": "^14.0.2",

code/lib/core-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"@types/serve-favicon": "^2.5.2",
105105
"@types/ws": "^8",
106106
"jest-os-detection": "^1.3.1",
107-
"jest-specific-snapshot": "^7.0.0",
107+
"jest-specific-snapshot": "^8.0.0",
108108
"node-fetch": "^3.3.1",
109109
"slash": "^5.0.0",
110110
"typescript": "~4.9.3"

code/lib/csf-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"devDependencies": {
5555
"@types/fs-extra": "^11.0.1",
56-
"@types/js-yaml": "^3.12.6",
56+
"@types/js-yaml": "^4.0.5",
5757
"js-yaml": "^4.1.0",
5858
"typescript": "~4.9.3"
5959
},

0 commit comments

Comments
 (0)