@storybook/html-webpack5 0.0.0-pr-24881-sha-6ea23655 → 0.0.0-pr-25254-sha-63c0cc3b

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.
Files changed (2) hide show
  1. package/dist/preset.d.ts +13 -0
  2. package/package.json +5 -5
package/dist/preset.d.ts CHANGED
@@ -2640,6 +2640,7 @@ interface StoriesSpecifier {
2640
2640
  type StoriesEntry = string | StoriesSpecifier;
2641
2641
  interface IndexerOptions {
2642
2642
  makeTitle: (userTitle?: string) => string;
2643
+ staticParameters?: string[];
2643
2644
  }
2644
2645
  interface IndexedStory {
2645
2646
  id: string;
@@ -2709,6 +2710,10 @@ type BaseIndexInput = {
2709
2710
  metaId?: MetaId;
2710
2711
  /** Tags for filtering entries in Storybook and its tools. */
2711
2712
  tags?: Tag[];
2713
+ /**
2714
+ * Experimental statically extracted parameters for the entry.
2715
+ */
2716
+ parameters?: Parameters;
2712
2717
  /**
2713
2718
  * The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
2714
2719
  * If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
@@ -2844,6 +2849,7 @@ interface CLIOptions {
2844
2849
  debugWebpack?: boolean;
2845
2850
  webpackStatsJson?: string | boolean;
2846
2851
  outputDir?: string;
2852
+ experimentalStaticParameters?: string[];
2847
2853
  }
2848
2854
  interface BuilderOptions {
2849
2855
  configType?: 'DEVELOPMENT' | 'PRODUCTION';
@@ -3011,6 +3017,13 @@ interface StorybookConfigRaw {
3011
3017
  * Enable asynchronous component rendering in NextJS framework
3012
3018
  */
3013
3019
  experimentalNextRSC?: boolean;
3020
+ /**
3021
+ * Legacy stories.json extraction. stories.json will be removed in v9,
3022
+ * use `index.json` instead.
3023
+ *
3024
+ * @deprecated
3025
+ */
3026
+ buildLegacyStoriesJson?: boolean;
3014
3027
  };
3015
3028
  build?: TestBuildConfig;
3016
3029
  stories: StoriesEntry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/html-webpack5",
3
- "version": "0.0.0-pr-24881-sha-6ea23655",
3
+ "version": "0.0.0-pr-25254-sha-63c0cc3b",
4
4
  "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,11 +47,11 @@
47
47
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/builder-webpack5": "0.0.0-pr-24881-sha-6ea23655",
51
- "@storybook/core-common": "0.0.0-pr-24881-sha-6ea23655",
50
+ "@storybook/builder-webpack5": "0.0.0-pr-25254-sha-63c0cc3b",
51
+ "@storybook/core-common": "0.0.0-pr-25254-sha-63c0cc3b",
52
52
  "@storybook/global": "^5.0.0",
53
- "@storybook/html": "0.0.0-pr-24881-sha-6ea23655",
54
- "@storybook/preset-html-webpack": "0.0.0-pr-24881-sha-6ea23655",
53
+ "@storybook/html": "0.0.0-pr-25254-sha-63c0cc3b",
54
+ "@storybook/preset-html-webpack": "0.0.0-pr-25254-sha-63c0cc3b",
55
55
  "@types/node": "^18.0.0"
56
56
  },
57
57
  "devDependencies": {