@storybook/builder-vite 8.3.0-alpha.6 → 8.3.0-alpha.7
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 +4 -9
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -10,21 +10,16 @@ type StorybookConfigVite = {
|
|
|
10
10
|
viteFinal?: ViteFinal;
|
|
11
11
|
};
|
|
12
12
|
type BuilderOptions = {
|
|
13
|
-
/**
|
|
14
|
-
* Path to vite.config file, relative to CWD.
|
|
15
|
-
*/
|
|
13
|
+
/** Path to `vite.config` file, relative to `process.cwd()`. */
|
|
16
14
|
viteConfigPath?: string;
|
|
17
15
|
};
|
|
18
16
|
|
|
19
|
-
/**
|
|
20
|
-
* Recursively removes all plugins with the names given
|
|
21
|
-
* Resolves async plugins
|
|
22
|
-
*/
|
|
17
|
+
/** Recursively removes all plugins with the names given Resolves async plugins */
|
|
23
18
|
declare const withoutVitePlugins: (plugins: PluginOption[] | undefined, namesToRemove: string[]) => Promise<PluginOption[]>;
|
|
24
19
|
|
|
25
20
|
/**
|
|
26
|
-
* Returns true if ANY of the plugins in the array have a name that matches one of the names in the
|
|
27
|
-
* Will resolve any promises in the array.
|
|
21
|
+
* Returns true if ANY of the plugins in the array have a name that matches one of the names in the
|
|
22
|
+
* names array. Will resolve any promises in the array.
|
|
28
23
|
*/
|
|
29
24
|
declare function hasVitePlugins(plugins: PluginOption[], names: string[]): Promise<boolean>;
|
|
30
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/builder-vite",
|
|
3
|
-
"version": "8.3.0-alpha.
|
|
3
|
+
"version": "8.3.0-alpha.7",
|
|
4
4
|
"description": "A plugin to run and build Storybooks with Vite",
|
|
5
5
|
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/builders/builder-vite/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"prep": "jiti ../../../scripts/prepare/bundle.ts"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@storybook/csf-plugin": "8.3.0-alpha.
|
|
46
|
+
"@storybook/csf-plugin": "8.3.0-alpha.7",
|
|
47
47
|
"@types/find-cache-dir": "^3.2.1",
|
|
48
48
|
"browser-assert": "^1.2.1",
|
|
49
49
|
"es-module-lexer": "^1.5.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@preact/preset-vite": "*",
|
|
66
|
-
"storybook": "^8.3.0-alpha.
|
|
66
|
+
"storybook": "^8.3.0-alpha.7",
|
|
67
67
|
"typescript": ">= 4.3.x",
|
|
68
68
|
"vite": "^4.0.0 || ^5.0.0",
|
|
69
69
|
"vite-plugin-glimmerx": "*"
|