@storybook/svelte-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.
@@ -1,15 +1,3 @@
1
- import CJS_COMPAT_NODE_URL_85vrb6qjhcu from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_85vrb6qjhcu from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_85vrb6qjhcu from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_85vrb6qjhcu.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_85vrb6qjhcu.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_85vrb6qjhcu.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,15 +1,3 @@
1
- import CJS_COMPAT_NODE_URL_85vrb6qjhcu from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_85vrb6qjhcu from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_85vrb6qjhcu from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_85vrb6qjhcu.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_85vrb6qjhcu.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_85vrb6qjhcu.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
1
  // src/preset.ts
14
2
  import {
15
3
  getTypeScriptForDocgenError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/svelte-vite",
3
- "version": "11.0.0-beta.3",
3
+ "version": "11.0.0-beta.5",
4
4
  "description": "Storybook for Svelte and Vite: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -52,8 +52,8 @@
52
52
  "!src/**/*"
53
53
  ],
54
54
  "dependencies": {
55
- "@storybook/builder-vite": "11.0.0-beta.3",
56
- "@storybook/svelte": "11.0.0-beta.3",
55
+ "@storybook/builder-vite": "11.0.0-beta.5",
56
+ "@storybook/svelte": "11.0.0-beta.5",
57
57
  "magic-string": "^1.1.0"
58
58
  },
59
59
  "devDependencies": {
@@ -63,11 +63,11 @@
63
63
  "@types/node": "^22.19.1",
64
64
  "svelte": "^5.39.5",
65
65
  "sveltedoc-parser": "^4.2.1",
66
- "vite": "^7.0.4"
66
+ "vite": "^7.3.8"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@sveltejs/vite-plugin-svelte": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0",
70
- "storybook": "^11.0.0-beta.3",
70
+ "storybook": "^11.0.0-beta.5",
71
71
  "svelte": "^5.0.0",
72
72
  "typescript": "^5.9.0 || ^6.0.0 || ^7.0.0",
73
73
  "vite": "^6.3.0 || ^7.0.0 || ^8.0.0"
@@ -0,0 +1 @@
1
+ export * as Parts from './parts';
@@ -0,0 +1,2 @@
1
+ export { default as Ts } from '../ts.svelte';
2
+ export { default as Jsdoc } from '../jsdoc.svelte';
@@ -0,0 +1,15 @@
1
+ import type { Meta } from '@storybook/svelte-vite';
2
+
3
+ import { Parts } from './subcomponents/barrel';
4
+
5
+ const meta = {
6
+ component: Parts.Ts,
7
+ subcomponents: { Jsdoc: Parts.Jsdoc },
8
+ tags: ['autodocs'],
9
+ // These stories exist for the docgen sandbox baselines; the canvas shows no docgen output.
10
+ parameters: { chromatic: { disableSnapshot: true } },
11
+ } satisfies Meta<typeof Parts.Ts>;
12
+
13
+ export default meta;
14
+
15
+ export const Default = {};