@storybook/preact-vite 0.0.0-pr-24698-sha-758c0de1 → 0.0.0-pr-24741-sha-ea66c9c8

Sign up to get free protection for your applications and to get access to all the features.
@@ -798,7 +798,7 @@ type Indexer = BaseIndexer & {
798
798
  */
799
799
  createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
800
800
  /**
801
- * @deprecated Use {@link index} instead
801
+ * @soonDeprecated Use {@link index} instead
802
802
  */
803
803
  indexer?: never;
804
804
  };
@@ -807,7 +807,7 @@ type DeprecatedIndexer = BaseIndexer & {
807
807
  createIndex?: never;
808
808
  };
809
809
  /**
810
- * @deprecated Use {@link Indexer} instead
810
+ * @soonDeprecated Use {@link Indexer} instead
811
811
  */
812
812
  type StoryIndexer = Indexer | DeprecatedIndexer;
813
813
  /**
@@ -906,7 +906,6 @@ interface Presets {
906
906
  apply(extension: 'managerEntries', config: [], args?: any): Promise<string[]>;
907
907
  apply(extension: 'refs', config?: [], args?: any): Promise<unknown>;
908
908
  apply(extension: 'core', config?: {}, args?: any): Promise<CoreConfig>;
909
- apply(extension: 'build', config?: {}, args?: any): Promise<StorybookConfig$1['build']>;
910
909
  apply<T>(extension: string, config?: T, args?: unknown): Promise<T>;
911
910
  }
912
911
  interface LoadedPreset {
@@ -955,7 +954,6 @@ interface CLIOptions {
955
954
  quiet?: boolean;
956
955
  versionUpdates?: boolean;
957
956
  docs?: boolean;
958
- test?: boolean;
959
957
  debugWebpack?: boolean;
960
958
  webpackStatsJson?: string | boolean;
961
959
  outputDir?: string;
@@ -1075,14 +1073,6 @@ interface StorybookConfig$1 {
1075
1073
  */
1076
1074
  legacyDecoratorFileOrder?: boolean;
1077
1075
  };
1078
- build?: {
1079
- test?: {
1080
- /**
1081
- * Globalize @storybook/blocks
1082
- */
1083
- emptyBlocks?: boolean;
1084
- };
1085
- };
1086
1076
  /**
1087
1077
  * Tells Storybook where to find stories.
1088
1078
  *
@@ -1125,7 +1115,7 @@ interface StorybookConfig$1 {
1125
1115
  previewAnnotations?: PresetValue<Entry[]>;
1126
1116
  /**
1127
1117
  * Process CSF files for the story index.
1128
- * @deprecated use {@link experimental_indexers} instead
1118
+ * @soonDeprecated use {@link experimental_indexers} instead
1129
1119
  */
1130
1120
  storyIndexers?: PresetValue<StoryIndexer[]>;
1131
1121
  /**
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-86608893.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-10222afa.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './index-86608893.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-10222afa.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact-vite",
3
- "version": "0.0.0-pr-24698-sha-758c0de1",
3
+ "version": "0.0.0-pr-24741-sha-ea66c9c8",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -43,22 +43,22 @@
43
43
  "!src/**/*"
44
44
  ],
45
45
  "scripts": {
46
- "check": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/check.ts",
47
- "prep": "node --loader esbuild-register/loader -r esbuild-register ../../../scripts/prepare/bundle.ts"
46
+ "check": "../../../scripts/prepare/check.ts",
47
+ "prep": "../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
50
  "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "0.0.0-pr-24698-sha-758c0de1",
52
- "@storybook/preact": "0.0.0-pr-24698-sha-758c0de1"
51
+ "@storybook/builder-vite": "0.0.0-pr-24741-sha-ea66c9c8",
52
+ "@storybook/preact": "0.0.0-pr-24741-sha-ea66c9c8"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/node": "^18.0.0",
55
+ "@types/node": "^16.0.0",
56
56
  "typescript": "~4.9.3",
57
57
  "vite": "^4.0.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "preact": ">=10",
61
- "vite": "^3.0.0 || ^4.0.0 || ^5.0.0"
61
+ "vite": "^3.0.0 || ^4.0.0"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=16"