@storybook/vue3 6.5.0-alpha.52 → 6.5.0-alpha.53

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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.config = void 0;
6
+ exports.previewAnnotations = void 0;
7
7
  exports.webpackFinal = webpackFinal;
8
8
 
9
9
  var _coreCommon = require("@storybook/core-common");
@@ -42,9 +42,9 @@ function webpackFinal(webpackConfig = {}, options) {
42
42
  return webpackConfig;
43
43
  }
44
44
 
45
- var config = function (entry = [], options) {
45
+ var previewAnnotations = function (entry = [], options) {
46
46
  if (!(0, _docsTools.hasDocsOrControls)(options)) return entry;
47
47
  return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/docs/config')];
48
48
  };
49
49
 
50
- exports.config = config;
50
+ exports.previewAnnotations = previewAnnotations;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.config = void 0;
6
+ exports.previewAnnotations = void 0;
7
7
  exports.webpack = webpack;
8
8
 
9
9
  var _vueLoader = require("vue-loader");
@@ -49,8 +49,8 @@ function webpack(config) {
49
49
  });
50
50
  }
51
51
 
52
- var config = function (entry = []) {
52
+ var previewAnnotations = function (entry = []) {
53
53
  return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/preview/config')];
54
54
  };
55
55
 
56
- exports.config = config;
56
+ exports.previewAnnotations = previewAnnotations;
@@ -31,7 +31,7 @@ export function webpackFinal(webpackConfig = {}, options) {
31
31
  });
32
32
  return webpackConfig;
33
33
  }
34
- export var config = function (entry = [], options) {
34
+ export var previewAnnotations = function (entry = [], options) {
35
35
  if (!hasDocsOrControls(options)) return entry;
36
36
  return [...entry, findDistEsm(__dirname, 'client/docs/config')];
37
37
  };
@@ -37,6 +37,6 @@ export function webpack(config) {
37
37
  })
38
38
  });
39
39
  }
40
- export var config = function (entry = []) {
40
+ export var previewAnnotations = function (entry = []) {
41
41
  return [...entry, findDistEsm(__dirname, 'client/preview/config')];
42
42
  };
@@ -31,7 +31,7 @@ export function webpackFinal(webpackConfig = {}, options) {
31
31
  });
32
32
  return webpackConfig;
33
33
  }
34
- export var config = function (entry = [], options) {
34
+ export var previewAnnotations = function (entry = [], options) {
35
35
  if (!hasDocsOrControls(options)) return entry;
36
36
  return [...entry, findDistEsm(__dirname, 'client/docs/config')];
37
37
  };
@@ -37,6 +37,6 @@ export function webpack(config) {
37
37
  })
38
38
  });
39
39
  }
40
- export var config = function (entry = []) {
40
+ export var previewAnnotations = function (entry = []) {
41
41
  return [...entry, findDistEsm(__dirname, 'client/preview/config')];
42
42
  };
@@ -1,3 +1,3 @@
1
1
  import { Options, StorybookConfig } from '@storybook/core-common';
2
2
  export declare function webpackFinal(webpackConfig: any, options: Options): any;
3
- export declare const config: StorybookConfig['config'];
3
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
@@ -1,4 +1,4 @@
1
1
  import { Configuration } from 'webpack';
2
2
  import { StorybookConfig } from '@storybook/core-common';
3
3
  export declare function webpack(config: Configuration): Configuration;
4
- export declare const config: StorybookConfig['config'];
4
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
@@ -1,3 +1,3 @@
1
1
  import type { Options, StorybookConfig } from '@storybook/core-common';
2
2
  export declare function webpackFinal(webpackConfig: any, options: Options): any;
3
- export declare const config: StorybookConfig['config'];
3
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
@@ -1,4 +1,4 @@
1
1
  import { Configuration } from 'webpack';
2
2
  import type { StorybookConfig } from '@storybook/core-common';
3
3
  export declare function webpack(config: Configuration): Configuration;
4
- export declare const config: StorybookConfig['config'];
4
+ export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/vue3",
3
- "version": "6.5.0-alpha.52",
3
+ "version": "6.5.0-alpha.53",
4
4
  "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -45,12 +45,12 @@
45
45
  "prepare": "node ../../scripts/prepare.js"
46
46
  },
47
47
  "dependencies": {
48
- "@storybook/addons": "6.5.0-alpha.52",
49
- "@storybook/core": "6.5.0-alpha.52",
50
- "@storybook/core-common": "6.5.0-alpha.52",
48
+ "@storybook/addons": "6.5.0-alpha.53",
49
+ "@storybook/core": "6.5.0-alpha.53",
50
+ "@storybook/core-common": "6.5.0-alpha.53",
51
51
  "@storybook/csf": "0.0.2--canary.507502b.0",
52
- "@storybook/docs-tools": "6.5.0-alpha.52",
53
- "@storybook/store": "6.5.0-alpha.52",
52
+ "@storybook/docs-tools": "6.5.0-alpha.53",
53
+ "@storybook/store": "6.5.0-alpha.53",
54
54
  "@types/node": "^14.14.20 || ^16.0.0",
55
55
  "@types/webpack-env": "^1.16.0",
56
56
  "core-js": "^3.8.2",
@@ -64,11 +64,12 @@
64
64
  "vue-docgen-api": "^4.44.15",
65
65
  "vue-docgen-loader": "^1.5.0",
66
66
  "vue-loader": "^16.0.0",
67
- "webpack": "4"
67
+ "webpack": ">=4.0.0 <6.0.0"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@vue/compiler-sfc": "3.0.0",
71
- "vue": "3.0.0"
71
+ "vue": "3.0.0",
72
+ "webpack": "4"
72
73
  },
73
74
  "peerDependencies": {
74
75
  "@babel/core": "*",
@@ -82,6 +83,6 @@
82
83
  "publishConfig": {
83
84
  "access": "public"
84
85
  },
85
- "gitHead": "863b3811b24a4703645a09286059bc6d95bd2e65",
86
+ "gitHead": "652768b3ff83a355651d5636ccc4d78bee2cdbf9",
86
87
  "sbmodern": "dist/modern/client/index.js"
87
88
  }