weapp-vite 1.2.3 → 1.2.4
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/{chunk-MFE5RFWP.mjs → chunk-7CROAIKY.mjs} +1 -1
- package/dist/cli.cjs +1 -8
- package/dist/cli.mjs +1 -8
- package/dist/index.mjs +1 -1
- package/package.json +3 -5
package/dist/cli.cjs
CHANGED
|
@@ -27,13 +27,12 @@ var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${_
|
|
|
27
27
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
28
28
|
|
|
29
29
|
// src/cli.ts
|
|
30
|
-
var import_node_process3 = __toESM(require("process"), 1);
|
|
31
30
|
var import_init = require("@weapp-core/init");
|
|
32
31
|
var import_cac = require("cac");
|
|
33
32
|
var import_weapp_ide_cli = require("weapp-ide-cli");
|
|
34
33
|
|
|
35
34
|
// package.json
|
|
36
|
-
var version = "1.2.
|
|
35
|
+
var version = "1.2.4";
|
|
37
36
|
|
|
38
37
|
// src/constants.ts
|
|
39
38
|
var VERSION = version;
|
|
@@ -889,8 +888,6 @@ cli.command("init").action(() => {
|
|
|
889
888
|
});
|
|
890
889
|
} catch (error) {
|
|
891
890
|
logger_default.error(error);
|
|
892
|
-
} finally {
|
|
893
|
-
import_node_process3.default.exit();
|
|
894
891
|
}
|
|
895
892
|
});
|
|
896
893
|
cli.command("open").action(async () => {
|
|
@@ -898,8 +895,6 @@ cli.command("open").action(async () => {
|
|
|
898
895
|
await (0, import_weapp_ide_cli.parse)(["open", "-p"]);
|
|
899
896
|
} catch (error) {
|
|
900
897
|
logger_default.error(error);
|
|
901
|
-
} finally {
|
|
902
|
-
import_node_process3.default.exit();
|
|
903
898
|
}
|
|
904
899
|
});
|
|
905
900
|
cli.command("npm").alias("build:npm").alias("build-npm").action(async () => {
|
|
@@ -907,8 +902,6 @@ cli.command("npm").alias("build:npm").alias("build-npm").action(async () => {
|
|
|
907
902
|
await (0, import_weapp_ide_cli.parse)(["build-npm", "-p"]);
|
|
908
903
|
} catch (error) {
|
|
909
904
|
logger_default.error(error);
|
|
910
|
-
} finally {
|
|
911
|
-
import_node_process3.default.exit();
|
|
912
905
|
}
|
|
913
906
|
});
|
|
914
907
|
cli.help();
|
package/dist/cli.mjs
CHANGED
|
@@ -2,11 +2,10 @@ import {
|
|
|
2
2
|
CompilerContext,
|
|
3
3
|
VERSION,
|
|
4
4
|
logger_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7CROAIKY.mjs";
|
|
6
6
|
import "./chunk-444MQSSG.mjs";
|
|
7
7
|
|
|
8
8
|
// src/cli.ts
|
|
9
|
-
import process from "node:process";
|
|
10
9
|
import { initConfig } from "@weapp-core/init";
|
|
11
10
|
import { cac } from "cac";
|
|
12
11
|
import { parse } from "weapp-ide-cli";
|
|
@@ -68,8 +67,6 @@ cli.command("init").action(() => {
|
|
|
68
67
|
});
|
|
69
68
|
} catch (error) {
|
|
70
69
|
logger_default.error(error);
|
|
71
|
-
} finally {
|
|
72
|
-
process.exit();
|
|
73
70
|
}
|
|
74
71
|
});
|
|
75
72
|
cli.command("open").action(async () => {
|
|
@@ -77,8 +74,6 @@ cli.command("open").action(async () => {
|
|
|
77
74
|
await parse(["open", "-p"]);
|
|
78
75
|
} catch (error) {
|
|
79
76
|
logger_default.error(error);
|
|
80
|
-
} finally {
|
|
81
|
-
process.exit();
|
|
82
77
|
}
|
|
83
78
|
});
|
|
84
79
|
cli.command("npm").alias("build:npm").alias("build-npm").action(async () => {
|
|
@@ -86,8 +81,6 @@ cli.command("npm").alias("build:npm").alias("build-npm").action(async () => {
|
|
|
86
81
|
await parse(["build-npm", "-p"]);
|
|
87
82
|
} catch (error) {
|
|
88
83
|
logger_default.error(error);
|
|
89
|
-
} finally {
|
|
90
|
-
process.exit();
|
|
91
84
|
}
|
|
92
85
|
});
|
|
93
86
|
cli.help();
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.4",
|
|
5
5
|
"description": "weapp-vite 一个现代化的小程序打包工具",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
"cac": "^6.7.14",
|
|
54
54
|
"chokidar": "^3.6.0",
|
|
55
55
|
"debug": "^4.3.7",
|
|
56
|
-
"esbuild": "^0.24.0",
|
|
57
56
|
"fast-glob": "^3.3.2",
|
|
58
57
|
"fdir": "^6.3.0",
|
|
59
58
|
"fs-extra": "^11.2.0",
|
|
@@ -63,13 +62,12 @@
|
|
|
63
62
|
"pathe": "^1.1.2",
|
|
64
63
|
"picocolors": "^1.1.0",
|
|
65
64
|
"pkg-types": "^1.2.0",
|
|
66
|
-
"rollup": "^4.22.4",
|
|
67
65
|
"tsup": "^8.3.0",
|
|
68
66
|
"vite-tsconfig-paths": "^5.0.1",
|
|
69
67
|
"@weapp-core/init": "^1.0.4",
|
|
70
|
-
"@weapp-core/shared": "^1.0.1",
|
|
71
68
|
"@weapp-core/logger": "^1.0.1",
|
|
72
|
-
"weapp-ide-cli": "^2.0.
|
|
69
|
+
"weapp-ide-cli": "^2.0.6",
|
|
70
|
+
"@weapp-core/shared": "^1.0.1"
|
|
73
71
|
},
|
|
74
72
|
"publishConfig": {
|
|
75
73
|
"access": "public",
|