storybook 9.0.0-beta.0 → 9.0.0-beta.2
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/dist/actions/decorator.js +49 -52
- package/dist/actions/index.cjs +42 -44
- package/dist/actions/index.js +37 -40
- package/dist/actions/preview.cjs +44 -46
- package/dist/actions/preview.js +24 -27
- package/dist/bin/index.cjs +44 -44
- package/dist/bin/index.js +44 -44
- package/dist/cli/bin/index.cjs +34 -33
- package/dist/cli/bin/index.js +36 -35
- package/dist/cli/index.cjs +13760 -13789
- package/dist/cli/index.js +13963 -13992
- package/dist/common/index.cjs +575 -575
- package/dist/common/index.js +569 -569
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/core-server/index.cjs +5925 -5952
- package/dist/core-server/index.js +5979 -6006
- package/dist/core-server/presets/common-preset.cjs +1 -1
- package/dist/core-server/presets/common-preset.js +1 -1
- package/dist/manager/globals-runtime.js +2 -2
- package/dist/manager-api/index.cjs +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/preview/runtime.js +10883 -10793
- package/dist/telemetry/index.cjs +2 -2
- package/dist/telemetry/index.js +2 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -2
package/dist/telemetry/index.cjs
CHANGED
|
@@ -2149,7 +2149,7 @@ o(Pt, "createFileSystemCache");
|
|
|
2149
2149
|
// src/common/utils/resolve-path-in-sb-cache.ts
|
|
2150
2150
|
var It = require("node:path");
|
|
2151
2151
|
|
|
2152
|
-
//
|
|
2152
|
+
// node_modules/find-cache-dir/index.js
|
|
2153
2153
|
var po = d(require("node:process"), 1), F = d(require("node:path"), 1), Y = d(require("node:fs"), 1), mo = d(eo(), 1);
|
|
2154
2154
|
|
|
2155
2155
|
// ../node_modules/pkg-dir/index.js
|
|
@@ -2226,7 +2226,7 @@ function uo({ cwd: e } = {}) {
|
|
|
2226
2226
|
}
|
|
2227
2227
|
o(uo, "packageDirectorySync");
|
|
2228
2228
|
|
|
2229
|
-
//
|
|
2229
|
+
// node_modules/find-cache-dir/index.js
|
|
2230
2230
|
var { env: Tt, cwd: Ks } = po.default, fo = /* @__PURE__ */ o((e) => {
|
|
2231
2231
|
try {
|
|
2232
2232
|
return Y.default.accessSync(e, Y.default.constants.W_OK), !0;
|
package/dist/telemetry/index.js
CHANGED
|
@@ -2166,7 +2166,7 @@ o(lt, "createFileSystemCache");
|
|
|
2166
2166
|
// src/common/utils/resolve-path-in-sb-cache.ts
|
|
2167
2167
|
import { join as Dn } from "node:path";
|
|
2168
2168
|
|
|
2169
|
-
//
|
|
2169
|
+
// node_modules/find-cache-dir/index.js
|
|
2170
2170
|
var Nn = A(Tn(), 1);
|
|
2171
2171
|
import Gs from "node:process";
|
|
2172
2172
|
import G from "node:path";
|
|
@@ -2249,7 +2249,7 @@ function On({ cwd: e } = {}) {
|
|
|
2249
2249
|
}
|
|
2250
2250
|
o(On, "packageDirectorySync");
|
|
2251
2251
|
|
|
2252
|
-
//
|
|
2252
|
+
// node_modules/find-cache-dir/index.js
|
|
2253
2253
|
var { env: mt, cwd: Us } = Gs, jn = /* @__PURE__ */ o((e) => {
|
|
2254
2254
|
try {
|
|
2255
2255
|
return ye.accessSync(e, ye.constants.W_OK), !0;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1197,6 +1197,7 @@ interface CLIOptions extends CLIBaseOptions {
|
|
|
1197
1197
|
webpackStatsJson?: string | boolean;
|
|
1198
1198
|
statsJson?: string | boolean;
|
|
1199
1199
|
outputDir?: string;
|
|
1200
|
+
previewOnly?: boolean;
|
|
1200
1201
|
}
|
|
1201
1202
|
interface BuilderOptions {
|
|
1202
1203
|
configType?: 'DEVELOPMENT' | 'PRODUCTION';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "storybook",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.2",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -646,7 +646,6 @@
|
|
|
646
646
|
"polished": "^4.2.2",
|
|
647
647
|
"recast": "^0.23.5",
|
|
648
648
|
"semver": "^7.6.2",
|
|
649
|
-
"uuid": "^9.0.0",
|
|
650
649
|
"ws": "^8.18.0"
|
|
651
650
|
},
|
|
652
651
|
"devDependencies": {
|