@storybook/ember 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.
@@ -0,0 +1,60 @@
1
+ import { CompatibleString, Options, StorybookConfig, TypescriptOptions as TypescriptOptions$1 } from "storybook/internal/types";
2
+ import { BuilderOptions, StorybookConfigWebpack, TypescriptOptions } from "@storybook/builder-webpack5";
3
+
4
+ //#region code/lib/core-webpack/dist/index.d.ts
5
+ //#region code/lib/core-webpack/.dts-emit/code/lib/core-webpack/src/types.d.ts
6
+ type RulesConfig = any;
7
+ type ModuleConfig = {
8
+ rules?: RulesConfig[];
9
+ };
10
+ type ResolveConfig = {
11
+ extensions?: string[];
12
+ mainFields?: (string | string[])[] | undefined;
13
+ alias?: any;
14
+ };
15
+ interface WebpackConfiguration {
16
+ plugins?: any[];
17
+ module?: ModuleConfig;
18
+ resolve?: ResolveConfig;
19
+ optimization?: any;
20
+ devtool?: false | string | {
21
+ type: 'all' | 'javascript' | 'css';
22
+ use: any;
23
+ }[];
24
+ }
25
+ type StorybookConfig$2<TWebpackConfiguration = WebpackConfiguration> = StorybookConfig & {
26
+ /**
27
+ * Modify or return a custom Webpack config after the Storybook's default configuration has run
28
+ * (mostly used by addons).
29
+ */
30
+ webpack?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>; /** Modify or return a custom Webpack config after every addon has run. */
31
+ webpackFinal?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
32
+ }; //#endregion
33
+ //#region code/lib/core-webpack/.dts-emit/code/lib/core-webpack/src/load-custom-webpack-config.d.ts
34
+ //#endregion
35
+ //#region code/frameworks/ember/.dts-emit/code/frameworks/ember/src/types.d.ts
36
+ type FrameworkName = CompatibleString<'@storybook/ember-webpack5'>;
37
+ type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
38
+ type FrameworkOptions = {
39
+ builder?: BuilderOptions;
40
+ };
41
+ type StorybookConfigFramework = {
42
+ framework: FrameworkName | {
43
+ name: FrameworkName;
44
+ options: FrameworkOptions;
45
+ };
46
+ core?: StorybookConfig$2['core'] & {
47
+ builder?: BuilderName | {
48
+ name: BuilderName;
49
+ options: BuilderOptions;
50
+ };
51
+ };
52
+ typescript?: Partial<TypescriptOptions & TypescriptOptions$1> & StorybookConfig$2['typescript'];
53
+ };
54
+ /** The interface for Storybook configuration in `main.ts` files. */
55
+ type StorybookConfig$1 = Omit<StorybookConfig$2, keyof StorybookConfigWebpack | keyof StorybookConfigFramework> & StorybookConfigWebpack & StorybookConfigFramework;
56
+ declare global {
57
+ var __EMBER_GENERATED_DOC_JSON__: any;
58
+ }
59
+ //#endregion
60
+ export { StorybookConfig$1 as n, FrameworkOptions as t };
package/dist/index.d.ts CHANGED
@@ -1,57 +1,2 @@
1
- import { StorybookConfig as StorybookConfig$2, Options, CompatibleString, TypescriptOptions as TypescriptOptions$1 } from 'storybook/internal/types';
2
- import { BuilderOptions, StorybookConfigWebpack, TypescriptOptions } from '@storybook/builder-webpack5';
3
-
4
- type RulesConfig = any;
5
- type ModuleConfig = {
6
- rules?: RulesConfig[];
7
- };
8
- type ResolveConfig = {
9
- extensions?: string[];
10
- mainFields?: (string | string[])[] | undefined;
11
- alias?: any;
12
- };
13
- interface WebpackConfiguration {
14
- plugins?: any[];
15
- module?: ModuleConfig;
16
- resolve?: ResolveConfig;
17
- optimization?: any;
18
- devtool?: false | string | {
19
- type: 'all' | 'javascript' | 'css';
20
- use: any;
21
- }[];
22
- }
23
- type StorybookConfig$1<TWebpackConfiguration = WebpackConfiguration> = StorybookConfig$2 & {
24
- /**
25
- * Modify or return a custom Webpack config after the Storybook's default configuration has run
26
- * (mostly used by addons).
27
- */
28
- webpack?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
29
- /** Modify or return a custom Webpack config after every addon has run. */
30
- webpackFinal?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
31
- };
32
-
33
- type FrameworkName = CompatibleString<'@storybook/ember-webpack5'>;
34
- type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
35
- type FrameworkOptions = {
36
- builder?: BuilderOptions;
37
- };
38
- type StorybookConfigFramework = {
39
- framework: FrameworkName | {
40
- name: FrameworkName;
41
- options: FrameworkOptions;
42
- };
43
- core?: StorybookConfig$1['core'] & {
44
- builder?: BuilderName | {
45
- name: BuilderName;
46
- options: BuilderOptions;
47
- };
48
- };
49
- typescript?: Partial<TypescriptOptions & TypescriptOptions$1> & StorybookConfig$1['typescript'];
50
- };
51
- /** The interface for Storybook configuration in `main.ts` files. */
52
- type StorybookConfig = Omit<StorybookConfig$1, keyof StorybookConfigWebpack | keyof StorybookConfigFramework> & StorybookConfigWebpack & StorybookConfigFramework;
53
- declare global {
54
- var __EMBER_GENERATED_DOC_JSON__: any;
55
- }
56
-
57
- export type { FrameworkOptions, StorybookConfig };
1
+ import { n as StorybookConfig, t as FrameworkOptions } from "./chunk-CLGsY66o.js";
2
+ export { FrameworkOptions, StorybookConfig };
@@ -1,59 +1,6 @@
1
- import { StorybookConfig as StorybookConfig$2, Options, CompatibleString, TypescriptOptions as TypescriptOptions$1 } from 'storybook/internal/types';
2
- import { StorybookConfigWebpack, BuilderOptions, TypescriptOptions } from '@storybook/builder-webpack5';
3
-
4
- type RulesConfig = any;
5
- type ModuleConfig = {
6
- rules?: RulesConfig[];
7
- };
8
- type ResolveConfig = {
9
- extensions?: string[];
10
- mainFields?: (string | string[])[] | undefined;
11
- alias?: any;
12
- };
13
- interface WebpackConfiguration {
14
- plugins?: any[];
15
- module?: ModuleConfig;
16
- resolve?: ResolveConfig;
17
- optimization?: any;
18
- devtool?: false | string | {
19
- type: 'all' | 'javascript' | 'css';
20
- use: any;
21
- }[];
22
- }
23
- type StorybookConfig$1<TWebpackConfiguration = WebpackConfiguration> = StorybookConfig$2 & {
24
- /**
25
- * Modify or return a custom Webpack config after the Storybook's default configuration has run
26
- * (mostly used by addons).
27
- */
28
- webpack?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
29
- /** Modify or return a custom Webpack config after every addon has run. */
30
- webpackFinal?: (config: TWebpackConfiguration, options: Options) => TWebpackConfiguration | Promise<TWebpackConfiguration>;
31
- };
32
-
33
- type FrameworkName = CompatibleString<'@storybook/ember-webpack5'>;
34
- type BuilderName = CompatibleString<'@storybook/builder-webpack5'>;
35
- type FrameworkOptions = {
36
- builder?: BuilderOptions;
37
- };
38
- type StorybookConfigFramework = {
39
- framework: FrameworkName | {
40
- name: FrameworkName;
41
- options: FrameworkOptions;
42
- };
43
- core?: StorybookConfig$1['core'] & {
44
- builder?: BuilderName | {
45
- name: BuilderName;
46
- options: BuilderOptions;
47
- };
48
- };
49
- typescript?: Partial<TypescriptOptions & TypescriptOptions$1> & StorybookConfig$1['typescript'];
50
- };
51
- /** The interface for Storybook configuration in `main.ts` files. */
52
- type StorybookConfig = Omit<StorybookConfig$1, keyof StorybookConfigWebpack | keyof StorybookConfigFramework> & StorybookConfigWebpack & StorybookConfigFramework;
53
- declare global {
54
- var __EMBER_GENERATED_DOC_JSON__: any;
55
- }
1
+ import { n as StorybookConfig } from "../chunk-CLGsY66o.js";
56
2
 
3
+ //#region code/frameworks/ember/.dts-emit/code/frameworks/ember/src/node/index.d.ts
57
4
  declare function defineMain(config: StorybookConfig): StorybookConfig;
58
-
59
- export { type StorybookConfig, defineMain };
5
+ //#endregion
6
+ export { type StorybookConfig, defineMain };
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_8nh4dnk1cp7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8nh4dnk1cp7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8nh4dnk1cp7 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_vs9ahl0hpl from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_vs9ahl0hpl from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_vs9ahl0hpl from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8nh4dnk1cp7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8nh4dnk1cp7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8nh4dnk1cp7.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_vs9ahl0hpl.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_vs9ahl0hpl.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_vs9ahl0hpl.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_8nh4dnk1cp7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8nh4dnk1cp7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8nh4dnk1cp7 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_vs9ahl0hpl from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_vs9ahl0hpl from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_vs9ahl0hpl from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8nh4dnk1cp7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8nh4dnk1cp7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8nh4dnk1cp7.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_vs9ahl0hpl.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_vs9ahl0hpl.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_vs9ahl0hpl.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_8nh4dnk1cp7 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_8nh4dnk1cp7 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_8nh4dnk1cp7 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_vs9ahl0hpl from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_vs9ahl0hpl from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_vs9ahl0hpl from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_8nh4dnk1cp7.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_8nh4dnk1cp7.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_8nh4dnk1cp7.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_vs9ahl0hpl.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_vs9ahl0hpl.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_vs9ahl0hpl.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/ember",
3
- "version": "10.6.0-alpha.0",
3
+ "version": "10.6.0-alpha.2",
4
4
  "description": "Storybook for Ember: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -48,14 +48,14 @@
48
48
  "!src/**/*"
49
49
  ],
50
50
  "dependencies": {
51
- "@storybook/builder-webpack5": "10.6.0-alpha.0",
51
+ "@storybook/builder-webpack5": "10.6.0-alpha.2",
52
52
  "@storybook/global": "^5.0.0",
53
53
  "babel-loader": "9.1.3",
54
54
  "empathic": "2.0.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "ember-source": "~3.28.1",
58
- "typescript": "^5.9.3"
58
+ "typescript": "^6.0.3"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@babel/core": "*",
@@ -64,7 +64,7 @@
64
64
  "ember-source": "~3.28.1 || >=4.0.0",
65
65
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
66
66
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
67
- "storybook": "^10.6.0-alpha.0"
67
+ "storybook": "^10.6.0-alpha.2"
68
68
  },
69
69
  "publishConfig": {
70
70
  "access": "public"