@unmagic/vms 0.1.5 → 0.1.6-beta.0
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.
|
@@ -3602,7 +3602,7 @@ async function bundleModule(module, pkg) {
|
|
|
3602
3602
|
file: `${pkg.replace(sourceDir, OUTPUT_DIR)}/miniprogram_npm/${module}/index.js`,
|
|
3603
3603
|
format: "cjs",
|
|
3604
3604
|
exports: "named",
|
|
3605
|
-
minify:
|
|
3605
|
+
minify: false
|
|
3606
3606
|
});
|
|
3607
3607
|
return true;
|
|
3608
3608
|
} else {
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import dotenv from "dotenv-flow";
|
|
|
3
3
|
async function runVMS(options) {
|
|
4
4
|
dotenv.config({ node_env: options.mode });
|
|
5
5
|
process.env.NODE_ENV = options.mode;
|
|
6
|
-
const { dev, prod } = await import("./cli-
|
|
6
|
+
const { dev, prod } = await import("./cli-DL47os3t.js");
|
|
7
7
|
if (options.mode === "production") return prod(options);
|
|
8
8
|
else return dev();
|
|
9
9
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unmagic/vms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6-beta.0",
|
|
4
4
|
"description": "基于 @unmagic/vue-mini 的Vue3 单文件组件构建工具",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
+
"packageManager": "pnpm@10.28.2",
|
|
7
8
|
"engines": {
|
|
8
9
|
"node": ">=22.17.1"
|
|
9
10
|
},
|
|
@@ -21,6 +22,21 @@
|
|
|
21
22
|
"bin": {
|
|
22
23
|
"vms": "bin/index.js"
|
|
23
24
|
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"example:dev": "cd example && npm run dev",
|
|
27
|
+
"example:build": "cd example && npm run build",
|
|
28
|
+
"example:inspect": "cd example && npm run inspect:vms",
|
|
29
|
+
"vms:build": "rolldown --config rolldown.config.js",
|
|
30
|
+
"test": "vitest",
|
|
31
|
+
"test:run": "vitest run",
|
|
32
|
+
"test:ui": "vitest --ui",
|
|
33
|
+
"publish:ci": "npm publish",
|
|
34
|
+
"link": "pnpm link --global",
|
|
35
|
+
"lint": "oxlint ./src",
|
|
36
|
+
"format": "oxfmt --check \"**/*.{js,cjs,ts,json,md}\"",
|
|
37
|
+
"release": "tsx release.ts",
|
|
38
|
+
"prepare": "husky"
|
|
39
|
+
},
|
|
24
40
|
"files": [
|
|
25
41
|
"dist",
|
|
26
42
|
"bin"
|
|
@@ -78,19 +94,5 @@
|
|
|
78
94
|
"rolldown": "^1.0.0",
|
|
79
95
|
"terser": "^5.46.2",
|
|
80
96
|
"tinycolor2": "^1.6.0"
|
|
81
|
-
},
|
|
82
|
-
"scripts": {
|
|
83
|
-
"example:dev": "cd example && npm run dev",
|
|
84
|
-
"example:build": "cd example && npm run build",
|
|
85
|
-
"example:inspect": "cd example && npm run inspect:vms",
|
|
86
|
-
"vms:build": "rolldown --config rolldown.config.js",
|
|
87
|
-
"test": "vitest",
|
|
88
|
-
"test:run": "vitest run",
|
|
89
|
-
"test:ui": "vitest --ui",
|
|
90
|
-
"publish:ci": "npm publish",
|
|
91
|
-
"link": "pnpm link --global",
|
|
92
|
-
"lint": "oxlint ./src",
|
|
93
|
-
"format": "oxfmt --check \"**/*.{js,cjs,ts,json,md}\"",
|
|
94
|
-
"release": "tsx release.ts"
|
|
95
97
|
}
|
|
96
|
-
}
|
|
98
|
+
}
|