@storybook/preact-vite 10.1.0-alpha.1 → 10.1.0-alpha.11
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/node/index.js +6 -10
- package/dist/preset.js +7 -13
- package/package.json +5 -5
- package/dist/_node-chunks/chunk-UA3QJO33.js +0 -17
package/dist/node/index.js
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_x1m60wbindp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_x1m60wbindp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_x1m60wbindp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_x1m60wbindp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_x1m60wbindp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_x1m60wbindp.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
__name
|
|
14
|
-
} from "../_node-chunks/chunk-UA3QJO33.js";
|
|
15
12
|
|
|
16
13
|
// src/node/index.ts
|
|
17
14
|
function defineMain(config) {
|
|
18
15
|
return config;
|
|
19
16
|
}
|
|
20
|
-
__name(defineMain, "defineMain");
|
|
21
17
|
export {
|
|
22
18
|
defineMain
|
|
23
19
|
};
|
package/dist/preset.js
CHANGED
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_x1m60wbindp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_x1m60wbindp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_x1m60wbindp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_x1m60wbindp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_x1m60wbindp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_x1m60wbindp.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
__name
|
|
14
|
-
} from "./_node-chunks/chunk-UA3QJO33.js";
|
|
15
12
|
|
|
16
13
|
// src/preset.ts
|
|
17
14
|
var core = {
|
|
18
15
|
builder: import.meta.resolve("@storybook/builder-vite"),
|
|
19
16
|
renderer: import.meta.resolve("@storybook/preact/preset")
|
|
20
|
-
};
|
|
21
|
-
var viteFinal = /* @__PURE__ */ __name(async (config) => {
|
|
22
|
-
return config;
|
|
23
|
-
}, "viteFinal");
|
|
17
|
+
}, viteFinal = async (config) => config;
|
|
24
18
|
export {
|
|
25
19
|
core,
|
|
26
20
|
viteFinal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/preact-vite",
|
|
3
|
-
"version": "10.1.0-alpha.
|
|
3
|
+
"version": "10.1.0-alpha.11",
|
|
4
4
|
"description": "Storybook for Preact and Vite: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@storybook/builder-vite": "10.1.0-alpha.
|
|
55
|
-
"@storybook/preact": "10.1.0-alpha.
|
|
54
|
+
"@storybook/builder-vite": "10.1.0-alpha.11",
|
|
55
|
+
"@storybook/preact": "10.1.0-alpha.11"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/node": "^22.0.0",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"preact": ">=10",
|
|
64
|
-
"storybook": "^10.1.0-alpha.
|
|
64
|
+
"storybook": "^10.1.0-alpha.11"
|
|
65
65
|
},
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae1l"
|
|
70
70
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_t58fots7ico from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_t58fots7ico from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_t58fots7ico from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_t58fots7ico.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_t58fots7ico.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_t58fots7ico.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
|
-
};
|