storybook-vue3-rsbuild 0.0.1-beta.1 → 0.0.2
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/LICENSE +1 -1
- package/README.md +3 -1
- package/package.json +15 -4
- package/preset.js +1 -1
- package/dist/chunk-T3L66TVZ.mjs +0 -0
- package/dist/chunk-WAXGOBY2.mjs +0 -0
- package/dist/chunk-WBQAMGXK.mjs +0 -0
- package/dist/chunk-YXYUSZA3.mjs +0 -0
- package/dist/plugins/vue-component-meta.js +0 -1
- package/dist/plugins/vue-component-meta.mjs +0 -0
- package/dist/plugins/vue-docgen.js +0 -1
- package/dist/plugins/vue-docgen.mjs +0 -0
- package/dist/preset.mjs +0 -24
- package/dist/types.js +0 -18
- package/dist/types.mjs +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
package/package.json
CHANGED
@@ -1,11 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "storybook-vue3-rsbuild",
|
3
|
-
"version": "0.0.
|
4
|
-
"description": "Storybook for Vue3: Develop React Component in isolation with Hot Reloading.",
|
3
|
+
"version": "0.0.2",
|
4
|
+
"description": "Storybook for Vue3 and Rsbuild: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
|
-
"storybook"
|
6
|
+
"storybook",
|
7
|
+
"rsbuild",
|
8
|
+
"rspack",
|
9
|
+
"vue3"
|
7
10
|
],
|
8
11
|
"license": "MIT",
|
12
|
+
"bugs": {
|
13
|
+
"url": "https://github.com/rspack-contrib/storybook-rsbuild/issues"
|
14
|
+
},
|
15
|
+
"repository": {
|
16
|
+
"type": "git",
|
17
|
+
"url": "https://github.com/rspack-contrib/storybook-rsbuild",
|
18
|
+
"directory": "packages/vue3-rsbuild"
|
19
|
+
},
|
9
20
|
"exports": {
|
10
21
|
".": {
|
11
22
|
"types": "./dist/index.d.ts",
|
@@ -39,7 +50,7 @@
|
|
39
50
|
"@storybook/docs-tools": "8.0.10",
|
40
51
|
"@storybook/types": "8.0.10",
|
41
52
|
"vue-docgen-loader": "^1.5.1",
|
42
|
-
"storybook-builder-rsbuild": "0.0.
|
53
|
+
"storybook-builder-rsbuild": "0.0.2"
|
43
54
|
},
|
44
55
|
"devDependencies": {
|
45
56
|
"@types/node": "^18.0.0",
|
package/preset.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
module.exports = require('./dist/preset')
|
1
|
+
module.exports = require('./dist/preset')
|
package/dist/chunk-T3L66TVZ.mjs
DELETED
File without changes
|
package/dist/chunk-WAXGOBY2.mjs
DELETED
File without changes
|
package/dist/chunk-WBQAMGXK.mjs
DELETED
File without changes
|
package/dist/chunk-YXYUSZA3.mjs
DELETED
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
File without changes
|
package/dist/preset.mjs
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
2
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
3
|
-
}) : x)(function(x) {
|
4
|
-
if (typeof require !== "undefined")
|
5
|
-
return require.apply(this, arguments);
|
6
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
7
|
-
});
|
8
|
-
|
9
|
-
// src/preset.ts
|
10
|
-
import { dirname, join } from "path";
|
11
|
-
var getAbsolutePath = (input) => dirname(__require.resolve(join(input, "package.json")));
|
12
|
-
var core = async (config, options) => {
|
13
|
-
const framework = await options.presets.apply("framework");
|
14
|
-
return {
|
15
|
-
builder: {
|
16
|
-
name: getAbsolutePath("@storybook/builder-rsbuild"),
|
17
|
-
options: typeof framework === "string" ? {} : framework.options.builder || {}
|
18
|
-
},
|
19
|
-
renderer: getAbsolutePath("@storybook/vue3")
|
20
|
-
};
|
21
|
-
};
|
22
|
-
export {
|
23
|
-
core
|
24
|
-
};
|
package/dist/types.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
8
|
-
for (let key of __getOwnPropNames(from))
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
11
|
-
}
|
12
|
-
return to;
|
13
|
-
};
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
15
|
-
|
16
|
-
// src/types.ts
|
17
|
-
var types_exports = {};
|
18
|
-
module.exports = __toCommonJS(types_exports);
|
package/dist/types.mjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import "./chunk-WAXGOBY2.mjs";
|