@weapp-core/schematics 6.3.8-dev.20261127.1 → 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.
Files changed (2) hide show
  1. package/dist/index.cjs +9 -7
  2. package/package.json +4 -4
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") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
- get: ((k) => from[k]).bind(null, key),
14
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
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.8-dev.20261127.1",
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",
@@ -69,9 +69,9 @@
69
69
  },
70
70
  "repoctlSnapshot": {
71
71
  "kind": "nightly",
72
- "commit": "b453cfb6f53671af20a4e5d5cfada19d02ed0727",
73
- "buildId": "45938693108-1",
74
- "identityKey": "460abc9a51f6805a3059bd96334359b5bf782c688a2a2b7bc965f4cd1ee630f2",
72
+ "commit": "ec17eeb0c156fc6691bcbaf95e8686ac419a6e94",
73
+ "buildId": "46104956345-1",
74
+ "identityKey": "f53748ff8746c04dadf1ec0a2e5eb10f2a35ae28f655c747062d631b66171144",
75
75
  "tag": "snapshot-nightly"
76
76
  },
77
77
  "scripts": {