@theholocron/storybook-config 8.4.8 → 8.5.0

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,16 +1,14 @@
1
- import { StorybookConfig } from "./main.js";
2
- import { Preview } from "./preview.js";
1
+ import { StorybookConfig, storybookConfig } from "./main.js";
2
+ import { Preview, initialize, preview } from "./preview.js";
3
+ import { storybookTestRunner } from "./test-runner.js";
3
4
  import { setProjectAnnotations } from "@storybook/react";
4
5
  //#region index.d.ts
5
- declare const _default: {
6
- initMSW: any;
6
+ declare const config: {
7
+ initMSW: typeof initialize;
7
8
  setProjectAnnotations: typeof setProjectAnnotations;
8
- storybookConfig: import("@storybook/react-vite").StorybookConfig;
9
- storybookPreview: import("@storybook/react").Preview;
10
- storybookTestRunner: {
11
- preVisit(page: import("playwright").Page): Promise<void>;
12
- postVisit(page: import("playwright").Page): Promise<void>;
13
- };
9
+ storybookConfig: typeof storybookConfig;
10
+ storybookPreview: typeof preview;
11
+ storybookTestRunner: typeof storybookTestRunner;
14
12
  };
15
13
  //#endregion
16
- export { type Preview, type StorybookConfig, _default as default };
14
+ export { type Preview, type StorybookConfig, config as default };
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { initialize, preview } from "./preview.js";
3
3
  import { storybookTestRunner } from "./test-runner.js";
4
4
  import { setProjectAnnotations } from "@storybook/react";
5
5
  //#region index.ts
6
- var storybook_config_default = {
6
+ const config = {
7
7
  initMSW: initialize,
8
8
  setProjectAnnotations,
9
9
  storybookConfig,
@@ -11,4 +11,4 @@ var storybook_config_default = {
11
11
  storybookTestRunner
12
12
  };
13
13
  //#endregion
14
- export { storybook_config_default as default };
14
+ export { config as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/storybook-config",
3
- "version": "8.4.8",
3
+ "version": "8.5.0",
4
4
  "description": "A Storybook configuration for writing tested components within the Galaxy.",
5
5
  "homepage": "https://github.com/theholocron/configs/tree/main/packages/storybook-config#readme",
6
6
  "bugs": "https://github.com/theholocron/configs/issues",
@@ -26,8 +26,8 @@
26
26
  "tsdown": "^0.22.14",
27
27
  "typescript": "^5.9.3",
28
28
  "vitest": "^4.1.10",
29
- "@theholocron/tsconfig": "8.4.8",
30
- "@theholocron/vitest-config": "8.4.8"
29
+ "@theholocron/vitest-config": "8.5.0",
30
+ "@theholocron/tsconfig": "8.5.0"
31
31
  },
32
32
  "exports": {
33
33
  ".": {