@storybook/vue 6.4.0-beta.13 → 6.4.0-beta.17
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/cjs/server/framework-preset-vue.js +10 -1
- package/dist/esm/server/framework-preset-vue.js +5 -1
- package/dist/modern/server/framework-preset-vue.js +5 -1
- package/dist/ts3.4/server/framework-preset-vue.d.ts +2 -1
- package/dist/ts3.9/server/framework-preset-vue.d.ts +2 -1
- package/package.json +6 -6
- package/preset.js +1 -7
|
@@ -4,11 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.webpack = webpack;
|
|
7
|
+
exports.config = void 0;
|
|
7
8
|
|
|
8
9
|
require("core-js/modules/es.promise.js");
|
|
9
10
|
|
|
10
11
|
var _plugin = _interopRequireDefault(require("vue-loader/lib/plugin"));
|
|
11
12
|
|
|
13
|
+
var _coreCommon = require("@storybook/core-common");
|
|
14
|
+
|
|
12
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
16
|
|
|
14
17
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -52,4 +55,10 @@ async function webpack(config, {
|
|
|
52
55
|
vue$: require.resolve('vue/dist/vue.esm.js')
|
|
53
56
|
});
|
|
54
57
|
return config;
|
|
55
|
-
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
var config = function (entry = []) {
|
|
61
|
+
return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/preview/config')];
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
exports.config = config;
|
|
@@ -8,6 +8,7 @@ import "core-js/modules/es.promise.js";
|
|
|
8
8
|
|
|
9
9
|
/* eslint-disable no-param-reassign */
|
|
10
10
|
import VueLoaderPlugin from 'vue-loader/lib/plugin';
|
|
11
|
+
import { findDistEsm } from '@storybook/core-common';
|
|
11
12
|
export async function webpack(config, {
|
|
12
13
|
presets: presets
|
|
13
14
|
}) {
|
|
@@ -43,4 +44,7 @@ export async function webpack(config, {
|
|
|
43
44
|
vue$: require.resolve('vue/dist/vue.esm.js')
|
|
44
45
|
});
|
|
45
46
|
return config;
|
|
46
|
-
}
|
|
47
|
+
}
|
|
48
|
+
export var config = function (entry = []) {
|
|
49
|
+
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
|
50
|
+
};
|
|
@@ -8,6 +8,7 @@ import "core-js/modules/es.promise.js";
|
|
|
8
8
|
|
|
9
9
|
/* eslint-disable no-param-reassign */
|
|
10
10
|
import VueLoaderPlugin from 'vue-loader/lib/plugin';
|
|
11
|
+
import { findDistEsm } from '@storybook/core-common';
|
|
11
12
|
export async function webpack(config, {
|
|
12
13
|
presets: presets
|
|
13
14
|
}) {
|
|
@@ -43,4 +44,7 @@ export async function webpack(config, {
|
|
|
43
44
|
vue$: require.resolve('vue/dist/vue.esm.js')
|
|
44
45
|
});
|
|
45
46
|
return config;
|
|
46
|
-
}
|
|
47
|
+
}
|
|
48
|
+
export var config = function (entry = []) {
|
|
49
|
+
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
|
50
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Configuration } from 'webpack';
|
|
2
|
-
import { Options } from '@storybook/core-common';
|
|
2
|
+
import { Options, StorybookConfig } from '@storybook/core-common';
|
|
3
3
|
export declare function webpack(config: Configuration, { presets }: Options): Promise<Configuration>;
|
|
4
|
+
export declare const config: StorybookConfig['config'];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Configuration } from 'webpack';
|
|
2
|
-
import
|
|
2
|
+
import { Options, StorybookConfig } from '@storybook/core-common';
|
|
3
3
|
export declare function webpack(config: Configuration, { presets }: Options): Promise<Configuration>;
|
|
4
|
+
export declare const config: StorybookConfig['config'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/vue",
|
|
3
|
-
"version": "6.4.0-beta.
|
|
3
|
+
"version": "6.4.0-beta.17",
|
|
4
4
|
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"prepare": "node ../../scripts/prepare.js"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@storybook/addons": "6.4.0-beta.
|
|
49
|
-
"@storybook/core": "6.4.0-beta.
|
|
50
|
-
"@storybook/core-common": "6.4.0-beta.
|
|
48
|
+
"@storybook/addons": "6.4.0-beta.17",
|
|
49
|
+
"@storybook/core": "6.4.0-beta.17",
|
|
50
|
+
"@storybook/core-common": "6.4.0-beta.17",
|
|
51
51
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
52
|
-
"@storybook/store": "6.4.0-beta.
|
|
52
|
+
"@storybook/store": "6.4.0-beta.17",
|
|
53
53
|
"@types/webpack-env": "^1.16.0",
|
|
54
54
|
"core-js": "^3.8.2",
|
|
55
55
|
"global": "^4.4.0",
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "936d37ffdea541fbc8829a7ba2c357ce0a948dda",
|
|
87
87
|
"sbmodern": "dist/modern/client/index.js"
|
|
88
88
|
}
|