@storybook/csf-plugin 10.6.0-alpha.0 → 10.6.0-alpha.2

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
@@ -1,17 +1,13 @@
1
- import * as _vite from 'vite';
2
- import * as _rollup from 'rollup';
3
- import * as _webpack from 'webpack';
4
- import * as _esbuild from 'esbuild';
5
- import * as _unplugin from 'unplugin';
6
- import { UnpluginFactory } from 'unplugin';
7
- import { EnrichCsfOptions } from 'storybook/internal/csf-tools';
1
+ import { EnrichCsfOptions } from "storybook/internal/csf-tools";
2
+ import { UnpluginFactory } from "unplugin";
8
3
 
4
+ //#region code/lib/csf-plugin/.dts-emit/code/lib/csf-plugin/src/index.d.ts
9
5
  type CsfPluginOptions = EnrichCsfOptions;
10
6
  declare const unpluginFactory: UnpluginFactory<EnrichCsfOptions>;
11
- declare const unplugin: _unplugin.UnpluginInstance<EnrichCsfOptions, boolean>;
12
- declare const esbuild: (options: EnrichCsfOptions) => _esbuild.Plugin;
13
- declare const webpack: (options: EnrichCsfOptions) => _webpack.WebpackPluginInstance;
14
- declare const rollup: (options: EnrichCsfOptions) => _rollup.Plugin<any> | _rollup.Plugin<any>[];
15
- declare const vite: (options: EnrichCsfOptions) => _vite.Plugin<any> | _vite.Plugin<any>[];
16
-
17
- export { type CsfPluginOptions, esbuild, rollup, unplugin, unpluginFactory, vite, webpack };
7
+ declare const unplugin: import("unplugin").UnpluginInstance<EnrichCsfOptions, boolean>;
8
+ declare const esbuild: (options: EnrichCsfOptions) => import("esbuild").Plugin;
9
+ declare const webpack: (options: EnrichCsfOptions) => import("webpack").WebpackPluginInstance;
10
+ declare const rollup: (options: EnrichCsfOptions) => import("rollup").Plugin<any>[] | import("rollup").Plugin<any>;
11
+ declare const vite: (options: EnrichCsfOptions) => import("vite").Plugin<any>[] | import("vite").Plugin<any>;
12
+ //#endregion
13
+ export { CsfPluginOptions, esbuild, rollup, unplugin, unpluginFactory, vite, webpack };
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_wv4fxu4qb9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_wv4fxu4qb9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_wv4fxu4qb9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_roe3l8oc66 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_roe3l8oc66 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_roe3l8oc66 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_wv4fxu4qb9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_wv4fxu4qb9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_wv4fxu4qb9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_roe3l8oc66.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_roe3l8oc66.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_roe3l8oc66.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_wv4fxu4qb9 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_wv4fxu4qb9 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_wv4fxu4qb9 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_roe3l8oc66 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_roe3l8oc66 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_roe3l8oc66 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_wv4fxu4qb9.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_wv4fxu4qb9.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_wv4fxu4qb9.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_roe3l8oc66.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_roe3l8oc66.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_roe3l8oc66.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/csf-plugin",
3
- "version": "10.6.0-alpha.0",
3
+ "version": "10.6.0-alpha.2",
4
4
  "description": "Enrich CSF files via static analysis",
5
5
  "keywords": [
6
6
  "storybook"
@@ -41,12 +41,12 @@
41
41
  "unplugin": "^2.3.5"
42
42
  },
43
43
  "devDependencies": {
44
- "typescript": "^5.9.3"
44
+ "typescript": "^6.0.3"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "esbuild": "*",
48
48
  "rollup": "*",
49
- "storybook": "^10.6.0-alpha.0",
49
+ "storybook": "^10.6.0-alpha.2",
50
50
  "vite": "*",
51
51
  "webpack": "*"
52
52
  },