@platforma-sdk/tengo-builder 4.1.12 → 4.1.14
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/_virtual/_rolldown/runtime.cjs +2 -3
- package/dist/cli.cjs +1 -2
- package/dist/cli.d.ts +0 -2
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -2
- package/dist/commands/build.cjs +1 -2
- package/dist/commands/build.cjs.map +1 -1
- package/dist/commands/build.js +1 -2
- package/dist/commands/check.cjs +3 -3
- package/dist/commands/check.cjs.map +1 -1
- package/dist/commands/check.js +3 -3
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/dump/artifacts.cjs +3 -3
- package/dist/commands/dump/artifacts.cjs.map +1 -1
- package/dist/commands/dump/artifacts.js +3 -3
- package/dist/commands/dump/artifacts.js.map +1 -1
- package/dist/commands/dump/software.cjs +3 -3
- package/dist/commands/dump/software.cjs.map +1 -1
- package/dist/commands/dump/software.js +3 -3
- package/dist/commands/dump/software.js.map +1 -1
- package/dist/commands/imports.cjs +1 -2
- package/dist/commands/imports.js +1 -2
- package/dist/commands/test.cjs +3 -3
- package/dist/commands/test.cjs.map +1 -1
- package/dist/commands/test.js +3 -3
- package/dist/commands/test.js.map +1 -1
- package/dist/compiler/artifactset.cjs +1 -2
- package/dist/compiler/artifactset.js +1 -2
- package/dist/compiler/compiler.cjs +1 -2
- package/dist/compiler/compiler.js +1 -2
- package/dist/compiler/compileroptions.cjs +2 -5
- package/dist/compiler/compileroptions.cjs.map +1 -1
- package/dist/compiler/compileroptions.js +2 -5
- package/dist/compiler/compileroptions.js.map +1 -1
- package/dist/compiler/imports.cjs +1 -2
- package/dist/compiler/imports.js +1 -2
- package/dist/compiler/main.cjs +3 -3
- package/dist/compiler/main.cjs.map +1 -1
- package/dist/compiler/main.js +3 -3
- package/dist/compiler/main.js.map +1 -1
- package/dist/compiler/pack_limits.cjs +4 -5
- package/dist/compiler/pack_limits.cjs.map +1 -1
- package/dist/compiler/pack_limits.js +4 -5
- package/dist/compiler/pack_limits.js.map +1 -1
- package/dist/compiler/package.cjs +1 -2
- package/dist/compiler/package.js +1 -2
- package/dist/compiler/source.cjs +1 -2
- package/dist/compiler/source.cjs.map +1 -1
- package/dist/compiler/source.js +1 -2
- package/dist/compiler/source.js.map +1 -1
- package/dist/compiler/template.cjs +1 -2
- package/dist/compiler/template.cjs.map +1 -1
- package/dist/compiler/template.js +1 -2
- package/dist/compiler/util.cjs +1 -2
- package/dist/compiler/util.js +1 -2
- package/dist/index.js +1 -2
- package/dist/shared/basecmd.cjs +1 -2
- package/dist/shared/basecmd.js +1 -2
- package/dist/shared/dump.cjs +3 -3
- package/dist/shared/dump.cjs.map +1 -1
- package/dist/shared/dump.js +3 -3
- package/dist/shared/dump.js.map +1 -1
- package/dist/shared/proc.cjs +1 -2
- package/dist/shared/proc.cjs.map +1 -1
- package/dist/shared/proc.js +1 -2
- package/package.json +11 -11
package/dist/shared/proc.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proc.cjs","names":["systemError"],"sources":["../../src/shared/proc.ts"],"sourcesContent":["import type { ChildProcess, ChildProcessByStdio } from \"node:child_process\";\nimport { spawn } from \"node:child_process\";\nimport type { Writable } from \"node:stream\";\n\nexport function spawnEmbed(\n cmd: string,\n ...args: string[]\n): ChildProcessByStdio<Writable, null, null> {\n const p = spawn(cmd, args, { stdio: [\"pipe\", \"inherit\", \"inherit\"] });\n\n p.stdin.on(\"error\", (err: Error) => {\n const systemError = err as NodeJS.ErrnoException;\n if (systemError.code === \"EPIPE\") {\n // ignore EPIPE error as it stands for broken command run.\n // The command will write normal problem description by itself.\n }\n });\n\n return p;\n}\n\nexport function waitFor(p: ChildProcess): Promise<number> {\n return new Promise((resolve, reject) => {\n p.on(\"close\", (code: number) => {\n resolve(code);\n });\n p.on(\"error\", (err) => {\n reject(err);\n });\n });\n}\n"],"mappings":";;AAIA,SAAgB,WACd,KACA,GAAG,MACwC;CAC3C,MAAM,KAAA,
|
|
1
|
+
{"version":3,"file":"proc.cjs","names":["spawn","systemError"],"sources":["../../src/shared/proc.ts"],"sourcesContent":["import type { ChildProcess, ChildProcessByStdio } from \"node:child_process\";\nimport { spawn } from \"node:child_process\";\nimport type { Writable } from \"node:stream\";\n\nexport function spawnEmbed(\n cmd: string,\n ...args: string[]\n): ChildProcessByStdio<Writable, null, null> {\n const p = spawn(cmd, args, { stdio: [\"pipe\", \"inherit\", \"inherit\"] });\n\n p.stdin.on(\"error\", (err: Error) => {\n const systemError = err as NodeJS.ErrnoException;\n if (systemError.code === \"EPIPE\") {\n // ignore EPIPE error as it stands for broken command run.\n // The command will write normal problem description by itself.\n }\n });\n\n return p;\n}\n\nexport function waitFor(p: ChildProcess): Promise<number> {\n return new Promise((resolve, reject) => {\n p.on(\"close\", (code: number) => {\n resolve(code);\n });\n p.on(\"error\", (err) => {\n reject(err);\n });\n });\n}\n"],"mappings":";;AAIA,SAAgB,WACd,KACA,GAAG,MACwC;CAC3C,MAAM,KAAA,GAAIA,mBAAAA,MAAAA,CAAM,KAAK,MAAM,EAAE,OAAO;EAAC;EAAQ;EAAW;CAAS,EAAE,CAAC;CAEpE,EAAE,MAAM,GAAG,UAAU,QAAe;EAElC,IAAIC,IAAY,SAAS,SAAS,CAGlC;CACF,CAAC;CAED,OAAO;AACT;AAEA,SAAgB,QAAQ,GAAkC;CACxD,OAAO,IAAI,SAAS,SAAS,WAAW;EACtC,EAAE,GAAG,UAAU,SAAiB;GAC9B,QAAQ,IAAI;EACd,CAAC;EACD,EAAE,GAAG,UAAU,QAAQ;GACrB,OAAO,GAAG;EACZ,CAAC;CACH,CAAC;AACH"}
|
package/dist/shared/proc.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { spawn } from "node:child_process";
|
|
2
|
-
|
|
2
|
+
// src/shared/proc.ts
|
|
3
3
|
function spawnEmbed(cmd, ...args) {
|
|
4
4
|
const p = spawn(cmd, args, { stdio: [
|
|
5
5
|
"pipe",
|
|
@@ -21,7 +21,6 @@ function waitFor(p) {
|
|
|
21
21
|
});
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { spawnEmbed, waitFor };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=proc.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/tengo-builder",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.14",
|
|
4
4
|
"description": "Pl Tengo Template Builder",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
@@ -13,24 +13,24 @@
|
|
|
13
13
|
],
|
|
14
14
|
"type": "module",
|
|
15
15
|
"dependencies": {
|
|
16
|
+
"@milaboratories/pl-model-backend": "1.4.39",
|
|
17
|
+
"@milaboratories/resolve-helper": "1.1.3",
|
|
16
18
|
"@milaboratories/tengo-tester": "^1.6.4",
|
|
19
|
+
"@milaboratories/ts-helpers": "1.9.0",
|
|
17
20
|
"commander": "^15.0.0",
|
|
18
|
-
"winston": "^3.17.0"
|
|
19
|
-
"@milaboratories/pl-model-backend": "1.4.37",
|
|
20
|
-
"@milaboratories/ts-helpers": "1.8.6",
|
|
21
|
-
"@milaboratories/resolve-helper": "1.1.3"
|
|
21
|
+
"winston": "^3.17.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/node": "~24.5.2",
|
|
25
|
-
"@vitest/coverage-istanbul": "^4.1.3",
|
|
26
|
-
"typescript": "7.0.2",
|
|
27
|
-
"vitest": "^4.1.3",
|
|
28
24
|
"@milaboratories/build-configs": "2.0.2",
|
|
25
|
+
"@milaboratories/ts-builder": "1.7.3",
|
|
29
26
|
"@milaboratories/ts-configs": "1.4.0",
|
|
30
|
-
"@
|
|
27
|
+
"@types/node": "~24.19.2",
|
|
28
|
+
"@vitest/coverage-istanbul": "^4.1.12",
|
|
29
|
+
"typescript": "7.0.2",
|
|
30
|
+
"vitest": "^4.1.12"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
33
|
+
"node": ">=24"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|