storybook 9.1.2 → 9.1.4
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 +28 -41
- package/dist/bin/index.cjs +43 -43
- package/dist/bin/index.js +43 -43
- package/dist/cli/bin/index.cjs +1211 -1211
- package/dist/cli/bin/index.js +1214 -1214
- package/dist/common/index.cjs +43 -43
- package/dist/common/index.js +43 -43
- package/dist/core-server/index.cjs +3105 -3094
- package/dist/core-server/index.js +3409 -3398
- package/dist/core-server/presets/common-manager.js +142 -119
- package/dist/core-server/presets/common-preset.cjs +25406 -52976
- package/dist/core-server/presets/common-preset.js +25495 -53063
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.cjs +84 -28647
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +75 -28646
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.cjs +691 -28987
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +672 -28967
- package/dist/csf-tools/index.cjs +4 -4
- package/dist/csf-tools/index.js +4 -4
- package/dist/manager/globals-runtime.js +7376 -7365
- package/dist/manager/runtime.js +32 -18
- package/dist/manager-api/index.cjs +546 -535
- package/dist/manager-api/index.js +653 -642
- package/dist/manager-errors.js +44 -33
- package/dist/preview/runtime.js +5559 -5548
- package/dist/preview-api/index.cjs +4 -4
- package/dist/preview-api/index.js +4 -4
- package/dist/preview-errors.cjs +82 -71
- package/dist/preview-errors.js +89 -78
- package/dist/router/index.cjs +1 -1
- package/dist/router/index.js +1 -1
- package/dist/server-errors.cjs +121 -77
- package/dist/server-errors.d.ts +14 -1
- package/dist/server-errors.js +135 -91
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/test/index.cjs +1 -1
- package/dist/test/index.js +1 -1
- package/package.json +17 -3
package/dist/csf-tools/index.cjs
CHANGED
|
@@ -192,7 +192,7 @@ var D = /* @__PURE__ */ f((s, e) => {
|
|
|
192
192
|
super(O.dedent`
|
|
193
193
|
CSF: ${i} ${D(r, t)}
|
|
194
194
|
|
|
195
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
195
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
196
196
|
`), this.name = this.constructor.name;
|
|
197
197
|
}
|
|
198
198
|
}, X = class extends Error {
|
|
@@ -204,7 +204,7 @@ var D = /* @__PURE__ */ f((s, e) => {
|
|
|
204
204
|
super(O.dedent`
|
|
205
205
|
CSF: ${e} ${D(r, t)}
|
|
206
206
|
|
|
207
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
207
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
208
208
|
`), this.name = this.constructor.name;
|
|
209
209
|
}
|
|
210
210
|
}, L = class extends Error {
|
|
@@ -216,7 +216,7 @@ var D = /* @__PURE__ */ f((s, e) => {
|
|
|
216
216
|
super(O.dedent`
|
|
217
217
|
CSF: ${e} ${D(r, t)}
|
|
218
218
|
|
|
219
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
219
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
220
220
|
`), this.name = this.constructor.name;
|
|
221
221
|
}
|
|
222
222
|
}, M = class extends Error {
|
|
@@ -228,7 +228,7 @@ var D = /* @__PURE__ */ f((s, e) => {
|
|
|
228
228
|
super(O.dedent`
|
|
229
229
|
CSF: ${e} ${D(r, t)}
|
|
230
230
|
|
|
231
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
231
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
232
232
|
`), this.name = this.constructor.name;
|
|
233
233
|
}
|
|
234
234
|
}, K = class {
|
package/dist/csf-tools/index.js
CHANGED
|
@@ -171,7 +171,7 @@ var v = /* @__PURE__ */ f((s, e) => {
|
|
|
171
171
|
super(O.dedent`
|
|
172
172
|
CSF: ${i} ${v(r, t)}
|
|
173
173
|
|
|
174
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
174
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
175
175
|
`), this.name = this.constructor.name;
|
|
176
176
|
}
|
|
177
177
|
}, K = class extends Error {
|
|
@@ -183,7 +183,7 @@ var v = /* @__PURE__ */ f((s, e) => {
|
|
|
183
183
|
super(O.dedent`
|
|
184
184
|
CSF: ${e} ${v(r, t)}
|
|
185
185
|
|
|
186
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
186
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
187
187
|
`), this.name = this.constructor.name;
|
|
188
188
|
}
|
|
189
189
|
}, B = class extends Error {
|
|
@@ -195,7 +195,7 @@ var v = /* @__PURE__ */ f((s, e) => {
|
|
|
195
195
|
super(O.dedent`
|
|
196
196
|
CSF: ${e} ${v(r, t)}
|
|
197
197
|
|
|
198
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
198
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
199
199
|
`), this.name = this.constructor.name;
|
|
200
200
|
}
|
|
201
201
|
}, W = class extends Error {
|
|
@@ -207,7 +207,7 @@ var v = /* @__PURE__ */ f((s, e) => {
|
|
|
207
207
|
super(O.dedent`
|
|
208
208
|
CSF: ${e} ${v(r, t)}
|
|
209
209
|
|
|
210
|
-
More info: https://storybook.js.org/docs/writing-stories#default-export
|
|
210
|
+
More info: https://storybook.js.org/docs/writing-stories#default-export?ref=error
|
|
211
211
|
`), this.name = this.constructor.name;
|
|
212
212
|
}
|
|
213
213
|
}, J = class {
|