@storybook/vue3-vite 11.0.0-beta.3 → 11.0.0-beta.5

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
+ // src/plugins/vue-template.ts
2
+ async function templateCompilation() {
3
+ return {
4
+ name: "storybook:vue-template-compilation",
5
+ config: () => ({
6
+ resolve: {
7
+ alias: {
8
+ vue: "vue/dist/vue.esm-bundler.js"
9
+ }
10
+ }
11
+ })
12
+ };
13
+ }
14
+
15
+ export {
16
+ templateCompilation
17
+ };
@@ -1,15 +1,3 @@
1
- import CJS_COMPAT_NODE_URL_k7a78rgls from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_k7a78rgls from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_k7a78rgls from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_k7a78rgls.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_k7a78rgls.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_k7a78rgls.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
1
  // src/node/index.ts
14
2
  function defineMain(config) {
15
3
  return config;
package/dist/preset.js CHANGED
@@ -1,17 +1,6 @@
1
- import CJS_COMPAT_NODE_URL_k7a78rgls from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_k7a78rgls from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_k7a78rgls from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_k7a78rgls.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_k7a78rgls.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_k7a78rgls.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
1
  import {
13
2
  templateCompilation
14
- } from "./_node-chunks/chunk-IKPIVRJ6.js";
3
+ } from "./_node-chunks/chunk-GRGCE7DY.js";
15
4
 
16
5
  // src/preset.ts
17
6
  import {
@@ -1,17 +1,6 @@
1
- import CJS_COMPAT_NODE_URL_k7a78rgls from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_k7a78rgls from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_k7a78rgls from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_k7a78rgls.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_k7a78rgls.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_k7a78rgls.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
1
  import {
13
2
  templateCompilation
14
- } from "./_node-chunks/chunk-IKPIVRJ6.js";
3
+ } from "./_node-chunks/chunk-GRGCE7DY.js";
15
4
 
16
5
  // src/vite-plugin.ts
17
6
  var storybookVuePlugin = () => [templateCompilation()];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/vue3-vite",
3
- "version": "11.0.0-beta.3",
3
+ "version": "11.0.0-beta.5",
4
4
  "description": "Storybook for Vue3 and Vite: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -49,19 +49,19 @@
49
49
  "!src/**/*"
50
50
  ],
51
51
  "dependencies": {
52
- "@storybook/builder-vite": "11.0.0-beta.3",
53
- "@storybook/vue3": "11.0.0-beta.3",
52
+ "@storybook/builder-vite": "11.0.0-beta.5",
53
+ "@storybook/vue3": "11.0.0-beta.5",
54
54
  "magic-string": "^1.1.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/node": "^22.19.1",
58
58
  "typescript": "^6.0.3",
59
- "vite": "^7.0.4",
59
+ "vite": "^7.3.8",
60
60
  "vue-component-meta": "^3.3.9",
61
61
  "vue-docgen-api": "^4.75.1"
62
62
  },
63
63
  "peerDependencies": {
64
- "storybook": "^11.0.0-beta.3",
64
+ "storybook": "^11.0.0-beta.5",
65
65
  "typescript": "^5.9.0 || ^6.0.0 || ^7.0.0",
66
66
  "vite": "^6.3.0 || ^7.0.0 || ^8.0.0"
67
67
  },
@@ -1,29 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_k7a78rgls from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_k7a78rgls from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_k7a78rgls from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_k7a78rgls.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_k7a78rgls.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_k7a78rgls.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // src/plugins/vue-template.ts
14
- async function templateCompilation() {
15
- return {
16
- name: "storybook:vue-template-compilation",
17
- config: () => ({
18
- resolve: {
19
- alias: {
20
- vue: "vue/dist/vue.esm-bundler.js"
21
- }
22
- }
23
- })
24
- };
25
- }
26
-
27
- export {
28
- templateCompilation
29
- };