@storybook/preset-server-webpack 10.0.0-rc.2 → 10.0.0-rc.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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_h99d8niks2r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h99d8niks2r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h99d8niks2r from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h99d8niks2r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h99d8niks2r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h99d8niks2r.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
var __defProp = Object.defineProperty;
|
|
13
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
__name
|
|
17
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_h99d8niks2r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h99d8niks2r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h99d8niks2r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h99d8niks2r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h99d8niks2r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h99d8niks2r.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-FJQX56GF.js";
|
|
15
15
|
|
|
16
16
|
// src/index.ts
|
|
17
17
|
import { fileURLToPath } from "node:url";
|
package/dist/loader.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_h99d8niks2r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_h99d8niks2r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_h99d8niks2r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_h99d8niks2r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_h99d8niks2r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_h99d8niks2r.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-FJQX56GF.js";
|
|
15
15
|
|
|
16
16
|
// src/lib/compiler/stringifier.ts
|
|
17
17
|
import { identifier } from "safe-identifier";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/preset-server-webpack",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.4",
|
|
4
4
|
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@storybook/core-webpack": "10.0.0-rc.
|
|
43
|
+
"@storybook/core-webpack": "10.0.0-rc.4",
|
|
44
44
|
"safe-identifier": "^0.4.2",
|
|
45
45
|
"ts-dedent": "^2.0.0",
|
|
46
46
|
"yaml-loader": "^0.8.1"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"yaml": "^2.8.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"storybook": "^10.0.0-rc.
|
|
54
|
+
"storybook": "^10.0.0-rc.4"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_i5j271qfag from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_i5j271qfag from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_i5j271qfag from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_i5j271qfag.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_i5j271qfag.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_i5j271qfag.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
var __defProp = Object.defineProperty;
|
|
13
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
__name
|
|
17
|
-
};
|