@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 +10 -14
- package/dist/index.js +6 -6
- package/dist/webpack-loader.js +6 -6
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
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:
|
|
12
|
-
declare const esbuild: (options: EnrichCsfOptions) =>
|
|
13
|
-
declare const webpack: (options: EnrichCsfOptions) =>
|
|
14
|
-
declare const rollup: (options: EnrichCsfOptions) =>
|
|
15
|
-
declare const vite: (options: EnrichCsfOptions) =>
|
|
16
|
-
|
|
17
|
-
export {
|
|
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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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/dist/webpack-loader.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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 =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
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.
|
|
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": "^
|
|
44
|
+
"typescript": "^6.0.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"esbuild": "*",
|
|
48
48
|
"rollup": "*",
|
|
49
|
-
"storybook": "^10.6.0-alpha.
|
|
49
|
+
"storybook": "^10.6.0-alpha.2",
|
|
50
50
|
"vite": "*",
|
|
51
51
|
"webpack": "*"
|
|
52
52
|
},
|