@weapp-core/schematics 6.3.7 → 6.3.8-dev.20261128.1
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/index.cjs +9 -7
- package/package.json +11 -3
package/dist/index.cjs
CHANGED
|
@@ -7,12 +7,14 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
11
|
-
key
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
12
|
+
desc = __getOwnPropDesc(from, key);
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: desc && desc.get && !desc.configurable ? desc.get : () => from[key],
|
|
15
|
+
enumerable: !desc || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
16
18
|
}
|
|
17
19
|
return to;
|
|
18
20
|
};
|
|
@@ -21,8 +23,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
23
|
enumerable: true
|
|
22
24
|
}) : target, mod));
|
|
23
25
|
let node_process = require("node:process");
|
|
24
|
-
node_process = __toESM(node_process, 1);
|
|
25
26
|
let zod = require("zod");
|
|
27
|
+
node_process = __toESM(node_process, 1);
|
|
26
28
|
zod = __toESM(zod, 1);
|
|
27
29
|
// src/constants.ts
|
|
28
30
|
const SCHEMA_BASE = (node_process.default.env.WEAPP_SCHEMA_BASE ?? "https://vite.weapp.dev").replace(/\/$/, "");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-core/schematics",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.3.
|
|
4
|
+
"version": "6.3.8-dev.20261128.1",
|
|
5
5
|
"description": "Project generation schematics for the weapp-vite mini-program toolchain.",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public",
|
|
55
|
-
"registry": "https://registry.npmjs.org"
|
|
55
|
+
"registry": "https://registry.npmjs.org/",
|
|
56
|
+
"tag": "snapshot-nightly"
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
59
|
"zod": "^4.6.7"
|
|
@@ -66,6 +67,13 @@
|
|
|
66
67
|
"moduleResolution": "NodeNext"
|
|
67
68
|
}
|
|
68
69
|
},
|
|
70
|
+
"repoctlSnapshot": {
|
|
71
|
+
"kind": "nightly",
|
|
72
|
+
"commit": "ec17eeb0c156fc6691bcbaf95e8686ac419a6e94",
|
|
73
|
+
"buildId": "46104956345-1",
|
|
74
|
+
"identityKey": "f53748ff8746c04dadf1ec0a2e5eb10f2a35ae28f655c747062d631b66171144",
|
|
75
|
+
"tag": "snapshot-nightly"
|
|
76
|
+
},
|
|
69
77
|
"scripts": {
|
|
70
78
|
"dev": "tsdown -w --sourcemap",
|
|
71
79
|
"build": "tsdown",
|
|
@@ -80,4 +88,4 @@
|
|
|
80
88
|
"test:types": "pnpm build && pnpm run test:types:check",
|
|
81
89
|
"test:types:check": "tsd --files \"test-d/**/*.test-d.ts\""
|
|
82
90
|
}
|
|
83
|
-
}
|
|
91
|
+
}
|