@storybook/html-webpack5 0.0.0-pr-25254-sha-a6f30dbc → 0.0.0-pr-25303-sha-f3c003d0

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/preset.d.ts CHANGED
@@ -2621,11 +2621,6 @@ interface Options$1 {
2621
2621
 
2622
2622
  type ExportName = string;
2623
2623
  type MetaId = string;
2624
- /**
2625
- * StaticParameters are a subset of the parameters
2626
- * that have been statically analyzed.
2627
- */
2628
- type StaticParameters = Parameters;
2629
2624
  interface StoriesSpecifier {
2630
2625
  /**
2631
2626
  * When auto-titling, what to prefix all generated titles with (default: '')
@@ -2645,14 +2640,12 @@ interface StoriesSpecifier {
2645
2640
  type StoriesEntry = string | StoriesSpecifier;
2646
2641
  interface IndexerOptions {
2647
2642
  makeTitle: (userTitle?: string) => string;
2648
- staticParameters?: string[];
2649
2643
  }
2650
2644
  interface IndexedStory {
2651
2645
  id: string;
2652
2646
  name: string;
2653
2647
  tags?: Tag[];
2654
2648
  parameters?: Parameters;
2655
- staticParameters?: StaticParameters;
2656
2649
  }
2657
2650
  interface IndexedCSFFile {
2658
2651
  meta: {
@@ -2716,10 +2709,6 @@ type BaseIndexInput = {
2716
2709
  metaId?: MetaId;
2717
2710
  /** Tags for filtering entries in Storybook and its tools. */
2718
2711
  tags?: Tag[];
2719
- /**
2720
- * Experimental statically extracted parameters for the entry.
2721
- */
2722
- staticParameters?: Parameters;
2723
2712
  /**
2724
2713
  * The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if unspecified.
2725
2714
  * If specified, the story in the CSF file _must_ have a matching id set at `parameters.__id`, to be correctly matched.
@@ -2821,6 +2810,7 @@ interface LoadOptions {
2821
2810
  packageJson: PackageJson;
2822
2811
  outputDir?: string;
2823
2812
  configDir?: string;
2813
+ cacheKey?: string;
2824
2814
  ignorePreview?: boolean;
2825
2815
  extendServer?: (server: Server) => void;
2826
2816
  }
@@ -2855,7 +2845,6 @@ interface CLIOptions {
2855
2845
  debugWebpack?: boolean;
2856
2846
  webpackStatsJson?: string | boolean;
2857
2847
  outputDir?: string;
2858
- experimentalStaticParameters?: string[];
2859
2848
  }
2860
2849
  interface BuilderOptions {
2861
2850
  configType?: 'DEVELOPMENT' | 'PRODUCTION';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/html-webpack5",
3
- "version": "0.0.0-pr-25254-sha-a6f30dbc",
3
+ "version": "0.0.0-pr-25303-sha-f3c003d0",
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-25254-sha-a6f30dbc",
51
- "@storybook/core-common": "0.0.0-pr-25254-sha-a6f30dbc",
50
+ "@storybook/builder-webpack5": "0.0.0-pr-25303-sha-f3c003d0",
51
+ "@storybook/core-common": "0.0.0-pr-25303-sha-f3c003d0",
52
52
  "@storybook/global": "^5.0.0",
53
- "@storybook/html": "0.0.0-pr-25254-sha-a6f30dbc",
54
- "@storybook/preset-html-webpack": "0.0.0-pr-25254-sha-a6f30dbc",
53
+ "@storybook/html": "0.0.0-pr-25303-sha-f3c003d0",
54
+ "@storybook/preset-html-webpack": "0.0.0-pr-25303-sha-f3c003d0",
55
55
  "@types/node": "^18.0.0"
56
56
  },
57
57
  "devDependencies": {
package/jest.config.js DELETED
@@ -1,7 +0,0 @@
1
- const path = require('path');
2
- const baseConfig = require('../../jest.config.node');
3
-
4
- module.exports = {
5
- ...baseConfig,
6
- displayName: __dirname.split(path.sep).slice(-2).join(path.posix.sep),
7
- };