@storybook/vue3 6.4.0-beta.14 → 6.4.0-beta.18
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-vue3.js +10 -1
- package/dist/esm/server/framework-preset-vue3.js +5 -1
- package/dist/modern/server/framework-preset-vue3.js +5 -1
- package/dist/ts3.4/server/framework-preset-vue3.d.ts +2 -0
- package/dist/ts3.9/server/framework-preset-vue3.d.ts +2 -0
- 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
|
var _vueLoader = require("vue-loader");
|
|
9
10
|
|
|
10
11
|
var _webpack = require("webpack");
|
|
11
12
|
|
|
13
|
+
var _coreCommon = require("@storybook/core-common");
|
|
14
|
+
|
|
12
15
|
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; }
|
|
13
16
|
|
|
14
17
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -44,4 +47,10 @@ function webpack(config) {
|
|
|
44
47
|
})
|
|
45
48
|
})
|
|
46
49
|
});
|
|
47
|
-
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
var config = function (entry = []) {
|
|
53
|
+
return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/preview/config')];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
exports.config = config;
|
|
@@ -6,6 +6,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
6
6
|
|
|
7
7
|
import { VueLoaderPlugin } from 'vue-loader';
|
|
8
8
|
import { DefinePlugin } from 'webpack';
|
|
9
|
+
import { findDistEsm } from '@storybook/core-common';
|
|
9
10
|
export function webpack(config) {
|
|
10
11
|
return _objectSpread(_objectSpread({}, config), {}, {
|
|
11
12
|
plugins: [...config.plugins, new VueLoaderPlugin(), new DefinePlugin({
|
|
@@ -35,4 +36,7 @@ export function webpack(config) {
|
|
|
35
36
|
})
|
|
36
37
|
})
|
|
37
38
|
});
|
|
38
|
-
}
|
|
39
|
+
}
|
|
40
|
+
export var config = function (entry = []) {
|
|
41
|
+
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
|
42
|
+
};
|
|
@@ -6,6 +6,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
6
6
|
|
|
7
7
|
import { VueLoaderPlugin } from 'vue-loader';
|
|
8
8
|
import { DefinePlugin } from 'webpack';
|
|
9
|
+
import { findDistEsm } from '@storybook/core-common';
|
|
9
10
|
export function webpack(config) {
|
|
10
11
|
return _objectSpread(_objectSpread({}, config), {}, {
|
|
11
12
|
plugins: [...config.plugins, new VueLoaderPlugin(), new DefinePlugin({
|
|
@@ -35,4 +36,7 @@ export function webpack(config) {
|
|
|
35
36
|
})
|
|
36
37
|
})
|
|
37
38
|
});
|
|
38
|
-
}
|
|
39
|
+
}
|
|
40
|
+
export var config = function (entry = []) {
|
|
41
|
+
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
|
42
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/vue3",
|
|
3
|
-
"version": "6.4.0-beta.
|
|
3
|
+
"version": "6.4.0-beta.18",
|
|
4
4
|
"description": "Storybook for Vue 3: Develop Vue 3 Components 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.18",
|
|
49
|
+
"@storybook/core": "6.4.0-beta.18",
|
|
50
|
+
"@storybook/core-common": "6.4.0-beta.18",
|
|
51
51
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
52
|
-
"@storybook/store": "6.4.0-beta.
|
|
52
|
+
"@storybook/store": "6.4.0-beta.18",
|
|
53
53
|
"@types/webpack-env": "^1.16.0",
|
|
54
54
|
"core-js": "^3.8.2",
|
|
55
55
|
"global": "^4.4.0",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "c84597e8763c4ca4d49069b83c72de97ba0079f5",
|
|
85
85
|
"sbmodern": "dist/modern/client/index.js"
|
|
86
86
|
}
|