@dimina-kit/compiler 0.0.2-dev.20260728065133 → 0.0.2-dev.20260728095034
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/compile-core.browser.js +14759 -16081
- package/dist/compile-core.node-chunks/chunk-2VRS523Z.js +8 -0
- package/dist/compile-core.node-chunks/chunk-LUD2P6RM.js +211 -0
- package/dist/compile-core.node-chunks/{chunk-M62ZDT7T.js → chunk-QJ34C5KK.js} +66 -542
- package/dist/compile-core.node-chunks/{logic-compiler-AEZPY2MO.js → logic-compiler-2SQFOFEO.js} +113 -37
- package/dist/compile-core.node-chunks/style-compiler-ZEJ3XLTS.js +277 -0
- package/dist/compile-core.node-chunks/{view-compiler-2SMUHAPD.js → view-compiler-WQNV7H5G.js} +161 -425
- package/dist/compile-core.node.js +6 -11
- package/dist/pool.node-chunks/{chunk-CKQISGZS.js → chunk-7FGOYOXU.js} +66 -542
- package/dist/pool.node-chunks/chunk-C7GEIDCP.js +211 -0
- package/dist/pool.node-chunks/chunk-KLXXOLDF.js +8 -0
- package/dist/pool.node-chunks/{chunk-WX4462A5.js → chunk-PDHO4Y56.js} +6 -11
- package/dist/pool.node-chunks/{logic-compiler-P4T4OMTG.js → logic-compiler-BODAINZQ.js} +113 -37
- package/dist/pool.node-chunks/style-compiler-TUNDVSR5.js +277 -0
- package/dist/pool.node-chunks/{view-compiler-2D7HPYIN.js → view-compiler-HOFFL63K.js} +161 -425
- package/dist/pool.node.js +2 -2
- package/dist/stage-worker.browser.js +1940 -3262
- package/dist/stage-worker.node.js +2 -2
- package/package.json +3 -3
- package/dist/compile-core.node-chunks/chunk-23PCGQQU.js +0 -141
- package/dist/compile-core.node-chunks/chunk-QYHGF3MS.js +0 -1601
- package/dist/compile-core.node-chunks/style-compiler-4PHMBQIC.js +0 -470
- package/dist/pool.node-chunks/chunk-LGB3AH5C.js +0 -1601
- package/dist/pool.node-chunks/chunk-VHWKAXDL.js +0 -141
- package/dist/pool.node-chunks/style-compiler-W7EA2Y7R.js +0 -470
|
@@ -16,18 +16,15 @@ import {
|
|
|
16
16
|
resetStoreInfo,
|
|
17
17
|
setFs,
|
|
18
18
|
storeInfo
|
|
19
|
-
} from "./compile-core.node-chunks/chunk-
|
|
19
|
+
} from "./compile-core.node-chunks/chunk-QJ34C5KK.js";
|
|
20
20
|
|
|
21
21
|
// ../../dimina/fe/packages/compiler/src/common/publish.js
|
|
22
|
-
function createDist(
|
|
22
|
+
function createDist() {
|
|
23
23
|
const distPath = getTargetPath();
|
|
24
24
|
if (fs_default.existsSync(distPath)) {
|
|
25
25
|
fs_default.rmSync(distPath, { recursive: true, force: true });
|
|
26
26
|
}
|
|
27
27
|
fs_default.mkdirSync(distPath, { recursive: true });
|
|
28
|
-
if (seedPath && fs_default.existsSync(seedPath)) {
|
|
29
|
-
fs_default.cpSync(seedPath, distPath, { recursive: true });
|
|
30
|
-
}
|
|
31
28
|
}
|
|
32
29
|
|
|
33
30
|
// ../../dimina/fe/packages/compiler/src/core/config-compiler.js
|
|
@@ -68,10 +65,9 @@ var config_compiler_default = compileConfig;
|
|
|
68
65
|
// ../../dimina/fe/packages/compiler/src/common/npm-builder.js
|
|
69
66
|
import path from "node:path";
|
|
70
67
|
var NpmBuilder = class {
|
|
71
|
-
constructor(workPath, targetPath
|
|
68
|
+
constructor(workPath, targetPath) {
|
|
72
69
|
this.workPath = workPath;
|
|
73
70
|
this.targetPath = targetPath;
|
|
74
|
-
this.dependencyGraph = dependencyGraph;
|
|
75
71
|
this.builtPackages = /* @__PURE__ */ new Set();
|
|
76
72
|
this.packageDependencies = /* @__PURE__ */ new Map();
|
|
77
73
|
}
|
|
@@ -164,7 +160,6 @@ var NpmBuilder = class {
|
|
|
164
160
|
await this.copyPackageFiles(sourceItemPath, targetItemPath);
|
|
165
161
|
} else {
|
|
166
162
|
if (this.isMiniprogramFile(item.name)) {
|
|
167
|
-
this.dependencyGraph?.addFile("app", sourceItemPath, "config");
|
|
168
163
|
fs_default.copyFileSync(sourceItemPath, targetItemPath);
|
|
169
164
|
}
|
|
170
165
|
}
|
|
@@ -259,9 +254,9 @@ var NpmBuilder = class {
|
|
|
259
254
|
|
|
260
255
|
// src/compile-core.js
|
|
261
256
|
var STAGE_IMPORTERS = {
|
|
262
|
-
logic: () => import("./compile-core.node-chunks/logic-compiler-
|
|
263
|
-
view: () => import("./compile-core.node-chunks/view-compiler-
|
|
264
|
-
style: () => import("./compile-core.node-chunks/style-compiler-
|
|
257
|
+
logic: () => import("./compile-core.node-chunks/logic-compiler-2SQFOFEO.js"),
|
|
258
|
+
view: () => import("./compile-core.node-chunks/view-compiler-WQNV7H5G.js"),
|
|
259
|
+
style: () => import("./compile-core.node-chunks/style-compiler-ZEJ3XLTS.js")
|
|
265
260
|
};
|
|
266
261
|
var stageLoads = /* @__PURE__ */ new Map();
|
|
267
262
|
var stageModules = /* @__PURE__ */ new Map();
|