@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.
Files changed (66) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +2 -3
  2. package/dist/cli.cjs +1 -2
  3. package/dist/cli.d.ts +0 -2
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -2
  6. package/dist/commands/build.cjs +1 -2
  7. package/dist/commands/build.cjs.map +1 -1
  8. package/dist/commands/build.js +1 -2
  9. package/dist/commands/check.cjs +3 -3
  10. package/dist/commands/check.cjs.map +1 -1
  11. package/dist/commands/check.js +3 -3
  12. package/dist/commands/check.js.map +1 -1
  13. package/dist/commands/dump/artifacts.cjs +3 -3
  14. package/dist/commands/dump/artifacts.cjs.map +1 -1
  15. package/dist/commands/dump/artifacts.js +3 -3
  16. package/dist/commands/dump/artifacts.js.map +1 -1
  17. package/dist/commands/dump/software.cjs +3 -3
  18. package/dist/commands/dump/software.cjs.map +1 -1
  19. package/dist/commands/dump/software.js +3 -3
  20. package/dist/commands/dump/software.js.map +1 -1
  21. package/dist/commands/imports.cjs +1 -2
  22. package/dist/commands/imports.js +1 -2
  23. package/dist/commands/test.cjs +3 -3
  24. package/dist/commands/test.cjs.map +1 -1
  25. package/dist/commands/test.js +3 -3
  26. package/dist/commands/test.js.map +1 -1
  27. package/dist/compiler/artifactset.cjs +1 -2
  28. package/dist/compiler/artifactset.js +1 -2
  29. package/dist/compiler/compiler.cjs +1 -2
  30. package/dist/compiler/compiler.js +1 -2
  31. package/dist/compiler/compileroptions.cjs +2 -5
  32. package/dist/compiler/compileroptions.cjs.map +1 -1
  33. package/dist/compiler/compileroptions.js +2 -5
  34. package/dist/compiler/compileroptions.js.map +1 -1
  35. package/dist/compiler/imports.cjs +1 -2
  36. package/dist/compiler/imports.js +1 -2
  37. package/dist/compiler/main.cjs +3 -3
  38. package/dist/compiler/main.cjs.map +1 -1
  39. package/dist/compiler/main.js +3 -3
  40. package/dist/compiler/main.js.map +1 -1
  41. package/dist/compiler/pack_limits.cjs +4 -5
  42. package/dist/compiler/pack_limits.cjs.map +1 -1
  43. package/dist/compiler/pack_limits.js +4 -5
  44. package/dist/compiler/pack_limits.js.map +1 -1
  45. package/dist/compiler/package.cjs +1 -2
  46. package/dist/compiler/package.js +1 -2
  47. package/dist/compiler/source.cjs +1 -2
  48. package/dist/compiler/source.cjs.map +1 -1
  49. package/dist/compiler/source.js +1 -2
  50. package/dist/compiler/source.js.map +1 -1
  51. package/dist/compiler/template.cjs +1 -2
  52. package/dist/compiler/template.cjs.map +1 -1
  53. package/dist/compiler/template.js +1 -2
  54. package/dist/compiler/util.cjs +1 -2
  55. package/dist/compiler/util.js +1 -2
  56. package/dist/index.js +1 -2
  57. package/dist/shared/basecmd.cjs +1 -2
  58. package/dist/shared/basecmd.js +1 -2
  59. package/dist/shared/dump.cjs +3 -3
  60. package/dist/shared/dump.cjs.map +1 -1
  61. package/dist/shared/dump.js +3 -3
  62. package/dist/shared/dump.js.map +1 -1
  63. package/dist/shared/proc.cjs +1 -2
  64. package/dist/shared/proc.cjs.map +1 -1
  65. package/dist/shared/proc.js +1 -2
  66. package/package.json +11 -11
@@ -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,GAAA,mBAAA,MAAA,CAAU,KAAK,MAAM,EAAE,OAAO;EAAC;EAAQ;EAAW;CAAS,EAAE,CAAC;CAEpE,EAAE,MAAM,GAAG,UAAU,QAAe;EAElC,IAAIA,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"}
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"}
@@ -1,5 +1,5 @@
1
1
  import { spawn } from "node:child_process";
2
- //#region src/shared/proc.ts
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.12",
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
- "@milaboratories/ts-builder": "1.7.2"
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": ">=22"
33
+ "node": ">=24"
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",