@storybook-astro/framework 1.3.0-canary.2 → 1.3.0-canary.3
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/index.d.ts
CHANGED
|
@@ -3,8 +3,9 @@ export { ArgTypes, Args, Parameters, ProjectAnnotations, StrictArgs } from 'stor
|
|
|
3
3
|
import { PreviewAddon, Preview as Preview$1, InferTypes } from 'storybook/internal/csf';
|
|
4
4
|
import { A as AstroRenderer } from './portable-stories-DXT_GOf6.js';
|
|
5
5
|
export { c as composeStories, a as composeStory, s as setProjectAnnotations } from './portable-stories-DXT_GOf6.js';
|
|
6
|
-
import { R as RenderStoryInput } from './
|
|
7
|
-
export { F as FrameworkOptions, a as RenderMode, S as SanitizationOptions, b as ServerBuildOptions, c as StoryRulesOptions, d as StorybookConfig
|
|
6
|
+
import { R as RenderStoryInput } from './types-C846M_tS.js';
|
|
7
|
+
export { F as FrameworkOptions, a as RenderMode, S as SanitizationOptions, b as ServerBuildOptions, c as StoryRulesOptions, d as StorybookConfig } from './types-C846M_tS.js';
|
|
8
|
+
export { core, viteFinal } from './preset.js';
|
|
8
9
|
import 'vite';
|
|
9
10
|
import './base-DT67T5pi.js';
|
|
10
11
|
import 'astro';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { d as StorybookConfig } from '../types-C846M_tS.js';
|
|
2
|
+
import 'storybook/internal/types';
|
|
3
|
+
import 'vite';
|
|
4
|
+
import '../base-DT67T5pi.js';
|
|
5
|
+
import 'astro';
|
|
6
|
+
import 'sanitize-html';
|
|
7
|
+
|
|
8
|
+
declare function defineMain(config: StorybookConfig): StorybookConfig;
|
|
9
|
+
|
|
10
|
+
export { StorybookConfig, defineMain };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/node/index.ts"],"sourcesContent":["import type { StorybookConfig } from '../types.ts';\n\nexport function defineMain(config: StorybookConfig): StorybookConfig {\n return config;\n}\n\nexport type { StorybookConfig };\n"],"mappings":";;;AAEO,SAAS,WAAW,QAA0C;AACnE,SAAO;AACT;","names":[]}
|
package/dist/preset.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { e as StorybookConfigVite } from './types-C846M_tS.js';
|
|
2
2
|
import 'storybook/internal/types';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import './base-DT67T5pi.js';
|
|
5
5
|
import 'astro';
|
|
6
6
|
import 'sanitize-html';
|
|
7
|
+
|
|
8
|
+
declare const core: {
|
|
9
|
+
builder: string;
|
|
10
|
+
renderer: string;
|
|
11
|
+
};
|
|
12
|
+
declare const viteFinal: StorybookConfigVite['viteFinal'];
|
|
13
|
+
|
|
14
|
+
export { core, viteFinal };
|
|
@@ -55,10 +55,4 @@ type StorybookConfigVite = {
|
|
|
55
55
|
};
|
|
56
56
|
type StorybookConfig = Omit<StorybookConfig$1, 'framework'> & StorybookConfigFramework & StorybookConfigVite;
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
builder: string;
|
|
60
|
-
renderer: string;
|
|
61
|
-
};
|
|
62
|
-
declare const viteFinal: StorybookConfigVite['viteFinal'];
|
|
63
|
-
|
|
64
|
-
export { type FrameworkOptions as F, type RenderStoryInput as R, type SanitizationOptions as S, type RenderMode as a, type ServerBuildOptions as b, type StoryRulesOptions as c, type StorybookConfig as d, core as e, viteFinal as v };
|
|
58
|
+
export type { FrameworkOptions as F, RenderStoryInput as R, SanitizationOptions as S, RenderMode as a, ServerBuildOptions as b, StoryRulesOptions as c, StorybookConfig as d, StorybookConfigVite as e };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook-astro/framework",
|
|
3
|
-
"version": "1.3.0-canary.
|
|
3
|
+
"version": "1.3.0-canary.3",
|
|
4
4
|
"description": "Community-supported Storybook framework for Astro 5 & 6 components",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
"types": "./dist/vitest/index.d.ts",
|
|
44
44
|
"import": "./dist/vitest/index.js"
|
|
45
45
|
},
|
|
46
|
+
"./node": {
|
|
47
|
+
"types": "./dist/node/index.d.ts",
|
|
48
|
+
"import": "./dist/node/index.js"
|
|
49
|
+
},
|
|
46
50
|
"./preset": {
|
|
47
51
|
"types": "./dist/preset.d.ts",
|
|
48
52
|
"import": "./dist/preset.js"
|
|
@@ -138,7 +142,7 @@
|
|
|
138
142
|
}
|
|
139
143
|
},
|
|
140
144
|
"dependencies": {
|
|
141
|
-
"@storybook-astro/renderer": "1.3.0-canary.
|
|
145
|
+
"@storybook-astro/renderer": "1.3.0-canary.3",
|
|
142
146
|
"hono": "^4.11.12",
|
|
143
147
|
"sanitize-html": "^2.17.0",
|
|
144
148
|
"vite": "^6.4.1 || ^7.0.0 || ^8.0.0"
|