@uipath/solution-tool 1.206.0-preview.306 → 1.207.0-preview.307

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 (124) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +4 -4
  2. package/dist/{archive-extract-ma0gy822.js → archive-extract-afgwacbg.js} +3 -3
  3. package/dist/{cleanup-command-service-abtxpefz.js → cleanup-command-service-0j6qxj96.js} +20 -15
  4. package/dist/deploy-delete-service-ghyetrvj.js +23 -0
  5. package/dist/deploy-run-service-sz77fpsz.js +24 -0
  6. package/dist/{deploy-status-service-k1gycn13.js → deploy-status-service-aj4m61hg.js} +49 -25
  7. package/dist/deploy.js +21 -20
  8. package/dist/{deployment-search-bjdwqh5w.js → deployment-search-mkvzgeq4.js} +9 -9
  9. package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
  10. package/dist/feed-resolver-yj94m9j1.js +31 -0
  11. package/dist/feed-scope-failure-7abh61sj.js +20 -0
  12. package/dist/{feed-session-ytew8k2j.js → feed-session-z8t87r5w.js} +6 -6
  13. package/dist/{first-party-service-6gf3n6d8.js → first-party-service-bmtxd7wx.js} +1 -1
  14. package/dist/folder-runtime-check-8nf63er2.js +25 -0
  15. package/dist/{governance-options-40m81z8h.js → governance-options-ft8bqz4p.js} +7 -7
  16. package/dist/{packager-tool-v3ze7wmr.js → index-6ma58k47.js} +33 -708
  17. package/dist/{index-yjvmjpdn.js → index-j3tpb2cr.js} +12 -11
  18. package/dist/{index-p3x7ztdr.js → index-jy1760qy.js} +1 -1
  19. package/dist/{index-2bn3jzn9.js → index-nbs04tqr.js} +9 -7
  20. package/dist/index.js +26 -26
  21. package/dist/init.js +10 -10
  22. package/dist/{list-0k8c4rt6.js → list-3a1tdrgm.js} +11 -11
  23. package/dist/models/pack-command-types.d.ts +12 -0
  24. package/dist/{node-6ay6nbnq.js → node-83xy0gm0.js} +6 -6
  25. package/dist/pack-command-service-42p3t8xa.js +32 -0
  26. package/dist/{pack-project-2g2ncn2k.js → pack-project-w514zr5v.js} +21 -18
  27. package/dist/pack.js +25 -22
  28. package/dist/{package-id-56k44s7y.js → package-id-2dgfbh5h.js} +3 -3
  29. package/dist/{packager-tool-2zn98p5r.js → packager-tool-0gyqtxvs.js} +4 -4
  30. package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
  31. package/dist/{packager-tool-vx2c68sb.js → packager-tool-1dsxhz1r.js} +2 -2
  32. package/dist/{packager-tool-xxf8f4v2.js → packager-tool-2syv199e.js} +9 -5
  33. package/dist/packager-tool-3ft8hywr.js +449 -0
  34. package/dist/{packager-tool-829w06ns.js → packager-tool-3qach0s4.js} +14 -8
  35. package/dist/{packager-tool-bkmwknfn.js → packager-tool-4f1k64fh.js} +8 -74
  36. package/dist/{packager-tool-7v03ncmv.js → packager-tool-70ag56bf.js} +49 -24
  37. package/dist/{packager-tool-5e4gps62.js → packager-tool-71sz9598.js} +20 -8
  38. package/dist/{packager-tool-23g7kn35.js → packager-tool-7j920ac5.js} +18 -11
  39. package/dist/packager-tool-7s842xrq.js +140 -0
  40. package/dist/{packager-tool-s8q14fth.js → packager-tool-849ch2tq.js} +4 -6
  41. package/dist/{packager-tool-aws5w512.js → packager-tool-887bkh9y.js} +1 -1
  42. package/dist/{packager-tool-f5pzh184.js → packager-tool-a566400t.js} +26 -10
  43. package/dist/packager-tool-a813na66.js +75 -0
  44. package/dist/{packager-tool-c8x0tpe4.js → packager-tool-af8n6rqz.js} +85 -30
  45. package/dist/{packager-tool-y1304xzm.js → packager-tool-bpdyy6vs.js} +530 -204
  46. package/dist/{packager-tool-fx4ws49n.js → packager-tool-cenfraf4.js} +2 -2
  47. package/dist/{packager-tool-0z4aq300.js → packager-tool-cwqy5rb5.js} +119 -52
  48. package/dist/{packager-tool-a7s0gbxs.js → packager-tool-devc4w73.js} +7 -2
  49. package/dist/{packager-tool-pqk9v4h7.js → packager-tool-fbajevvm.js} +52 -15
  50. package/dist/{packager-tool-r0ha8c95.js → packager-tool-fz96p75n.js} +3 -3
  51. package/dist/{packager-tool-m07vyk89.js → packager-tool-gb3dq79g.js} +36 -9
  52. package/dist/{packager-tool-h8tksb5s.js → packager-tool-gns0nxbt.js} +28 -9
  53. package/dist/{packager-tool-wjvks6st.js → packager-tool-h8wam8pt.js} +15 -6
  54. package/dist/{packager-tool-z4cbca95.js → packager-tool-hczpvrc1.js} +6 -6
  55. package/dist/{packager-tool-t39pjz7n.js → packager-tool-jtvhkavz.js} +48 -6
  56. package/dist/{packager-tool-p5322gew.js → packager-tool-kmwjscby.js} +88 -10
  57. package/dist/{packager-tool-ppj5f4y7.js → packager-tool-n1zrk6zv.js} +4 -2
  58. package/dist/{packager-tool-2qsbh4kd.js → packager-tool-ncgpx1ce.js} +50 -12
  59. package/dist/{packager-tool-f15an17m.js → packager-tool-p1xfsv6c.js} +92 -4
  60. package/dist/{packager-tool-egc54x78.js → packager-tool-qhht1tc9.js} +2408 -771
  61. package/dist/packager-tool-r7fmsz2t.js +741 -0
  62. package/dist/{packager-tool-resolver-30hxk8vm.js → packager-tool-resolver-mynfj0rt.js} +6 -6
  63. package/dist/{packager-tool-ay4j9x92.js → packager-tool-s9tyw75r.js} +19 -8
  64. package/dist/{packager-tool-ckrt4gyr.js → packager-tool-t9zked1m.js} +3 -3
  65. package/dist/{packager-tool-1ctvbx0h.js → packager-tool-tr3ttz5c.js} +1 -1
  66. package/dist/{packager-tool-chff74yz.js → packager-tool-tt9v40x6.js} +3010 -846
  67. package/dist/{packager-tool-k9dk39tg.js → packager-tool-txygqgb2.js} +3 -3
  68. package/dist/packager-tool-v6jcys3s.js +46 -0
  69. package/dist/packager-tool-w0tmr9xe.js +279 -0
  70. package/dist/packager-tool-w35s60sx.js +179 -0
  71. package/dist/{packager-tool-axqk17xw.js → packager-tool-xbfr6y2x.js} +142 -34
  72. package/dist/{packager-tool-m5mwc6by.js → packager-tool-zsv8208n.js} +22 -18
  73. package/dist/{packager-tool-vrw36pdb.js → packager-tool-ztxsccjk.js} +140 -10
  74. package/dist/packager-tool.js +2 -2
  75. package/dist/prepare-solution-resources-g9y01pgd.js +26 -0
  76. package/dist/{project-command-utils-82tja3k0.js → project-command-utils-yxrgwzf9.js} +20 -13
  77. package/dist/project-contributions-c8v3bwjr.js +31 -0
  78. package/dist/project-identity-telemetry-yxdhswyq.js +18 -0
  79. package/dist/publish.js +14 -14
  80. package/dist/{resource-mutations-h6wfdqr4.js → resource-mutations-dn4f8xr1.js} +9 -9
  81. package/dist/{resource-version-lookup-xzgnvr48.js → resource-version-lookup-mksxc1dc.js} +9 -9
  82. package/dist/resource.js +9 -9
  83. package/dist/{restore-command-service-bqs7r9y3.js → restore-command-service-ztbt2ejp.js} +20 -15
  84. package/dist/run-service-r52wgf69.js +1056 -0
  85. package/dist/services/deploy-activate-service.d.ts +5 -2
  86. package/dist/services/deploy-config-file.d.ts +24 -0
  87. package/dist/services/deploy-delete-service.d.ts +1 -1
  88. package/dist/services/deploy-run-service.d.ts +8 -1
  89. package/dist/services/deploy-uninstall-service.d.ts +4 -2
  90. package/dist/services/deploy-upgrade-service.d.ts +23 -2
  91. package/dist/services/deployment-feed-locator.d.ts +19 -6
  92. package/dist/services/deployment-links.d.ts +16 -0
  93. package/dist/services/deployment-progress.d.ts +10 -0
  94. package/dist/services/deployment-search.d.ts +15 -2
  95. package/dist/services/deployment-state.d.ts +9 -0
  96. package/dist/services/feed-resolver.d.ts +17 -0
  97. package/dist/services/feed-selection.d.ts +59 -0
  98. package/dist/services/folder-runtime-check.d.ts +107 -0
  99. package/dist/services/incomplete-feed-sweep.d.ts +6 -0
  100. package/dist/services/pack-command-service.d.ts +6 -0
  101. package/dist/services/pack-project.d.ts +1 -1
  102. package/dist/services/package-metadata-rewrite.d.ts +13 -0
  103. package/dist/services/personal-workspace-resolver.d.ts +4 -1
  104. package/dist/services/prepare-solution-resources.d.ts +11 -6
  105. package/dist/services/project-contributions.d.ts +26 -2
  106. package/dist/services/project-identity-telemetry.d.ts +31 -0
  107. package/dist/services/solution-members.d.ts +31 -0
  108. package/dist/{ship-telemetry-19gx83af.js → ship-telemetry-9djqndmy.js} +4 -4
  109. package/dist/{solution-auth-jxcgd2m0.js → solution-auth-0e3qm74f.js} +3 -3
  110. package/dist/{solution-definition-helper-tqwd6cxn.js → solution-definition-helper-dreejga4.js} +1 -1
  111. package/dist/{solution-identity-c23d9bfv.js → solution-identity-j63p6n81.js} +4 -4
  112. package/dist/templates/AGENTS.md +131 -24
  113. package/dist/tool.js +26 -26
  114. package/package.json +2 -2
  115. package/dist/deploy-delete-service-as1jfycj.js +0 -23
  116. package/dist/deploy-run-service-gs1xv1y1.js +0 -23
  117. package/dist/feed-resolver-x0kt3yrw.js +0 -27
  118. package/dist/feed-scope-failure-9p8w0j1v.js +0 -20
  119. package/dist/pack-command-service-jzbch4eb.js +0 -29
  120. package/dist/packager-tool-qpryf1x2.js +0 -74
  121. package/dist/packager-tool-vrqbbh01.js +0 -182
  122. package/dist/prepare-solution-resources-h7zvnncd.js +0 -26
  123. package/dist/project-contributions-xx560n8y.js +0 -27
  124. package/dist/run-service-ekbx2jdg.js +0 -506
@@ -10,7 +10,7 @@ import {
10
10
  NugetPackager,
11
11
  ProjectTool,
12
12
  toolsFactoryRepository
13
- } from "./packager-tool-a7s0gbxs.js";
13
+ } from "./packager-tool-devc4w73.js";
14
14
  import {
15
15
  ProjectDimensions,
16
16
  PackagerDimensions,
@@ -20,7 +20,7 @@ import {
20
20
  catchError,
21
21
  carriedInstructions,
22
22
  isProjectTelemetryDisabled
23
- } from "./packager-tool-m07vyk89.js";
23
+ } from "./packager-tool-gb3dq79g.js";
24
24
  // ../packager/project-packager/src/i18n/locales/de.json
25
25
  var de_default = {
26
26
  solutionpackager: {
@@ -29,7 +29,8 @@ var de_default = {
29
29
  pathRequired: "Project directory path is required",
30
30
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
31
31
  readFailed: "Failed to read project file: {path}",
32
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
32
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
33
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
33
34
  }
34
35
  },
35
36
  validator: {
@@ -120,7 +121,8 @@ var en = {
120
121
  pathRequired: "Project directory path is required",
121
122
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
122
123
  readFailed: "Failed to read project file: {path}",
123
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
124
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
125
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
124
126
  }
125
127
  },
126
128
  validator: {
@@ -211,7 +213,8 @@ var es_default = {
211
213
  pathRequired: "Project directory path is required",
212
214
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
213
215
  readFailed: "Failed to read project file: {path}",
214
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
216
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
217
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
215
218
  }
216
219
  },
217
220
  validator: {
@@ -301,7 +304,8 @@ var es_MX_default = {
301
304
  pathRequired: "Project directory path is required",
302
305
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
303
306
  readFailed: "Failed to read project file: {path}",
304
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
307
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
308
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
305
309
  }
306
310
  },
307
311
  validator: {
@@ -391,7 +395,8 @@ var fr_default = {
391
395
  pathRequired: "Project directory path is required",
392
396
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
393
397
  readFailed: "Failed to read project file: {path}",
394
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
398
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
399
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
395
400
  }
396
401
  },
397
402
  validator: {
@@ -481,7 +486,8 @@ var ja_default = {
481
486
  pathRequired: "Project directory path is required",
482
487
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
483
488
  readFailed: "Failed to read project file: {path}",
484
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
489
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
490
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
485
491
  }
486
492
  },
487
493
  validator: {
@@ -571,7 +577,8 @@ var ko_default = {
571
577
  pathRequired: "Project directory path is required",
572
578
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
573
579
  readFailed: "Failed to read project file: {path}",
574
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
580
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
581
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
575
582
  }
576
583
  },
577
584
  validator: {
@@ -661,7 +668,8 @@ var pt_default = {
661
668
  pathRequired: "Project directory path is required",
662
669
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
663
670
  readFailed: "Failed to read project file: {path}",
664
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
671
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
672
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
665
673
  }
666
674
  },
667
675
  validator: {
@@ -751,7 +759,8 @@ var pt_BR_default = {
751
759
  pathRequired: "Project directory path is required",
752
760
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
753
761
  readFailed: "Failed to read project file: {path}",
754
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
762
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
763
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
755
764
  }
756
765
  },
757
766
  validator: {
@@ -841,7 +850,8 @@ var ro_default = {
841
850
  pathRequired: "Project directory path is required",
842
851
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
843
852
  readFailed: "Failed to read project file: {path}",
844
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
853
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
854
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
845
855
  }
846
856
  },
847
857
  validator: {
@@ -931,7 +941,8 @@ var ru_default = {
931
941
  pathRequired: "Project directory path is required",
932
942
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
933
943
  readFailed: "Failed to read project file: {path}",
934
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
944
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
945
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
935
946
  }
936
947
  },
937
948
  validator: {
@@ -1021,7 +1032,8 @@ var tr_default = {
1021
1032
  pathRequired: "Project directory path is required",
1022
1033
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1023
1034
  readFailed: "Failed to read project file: {path}",
1024
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1035
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1036
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1025
1037
  }
1026
1038
  },
1027
1039
  validator: {
@@ -1111,7 +1123,8 @@ var zh_CN_default = {
1111
1123
  pathRequired: "Project directory path is required",
1112
1124
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1113
1125
  readFailed: "Failed to read project file: {path}",
1114
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1126
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1127
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1115
1128
  }
1116
1129
  },
1117
1130
  validator: {
@@ -1201,7 +1214,8 @@ var zh_TW_default = {
1201
1214
  pathRequired: "Project directory path is required",
1202
1215
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1203
1216
  readFailed: "Failed to read project file: {path}",
1204
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1217
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1218
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1205
1219
  }
1206
1220
  },
1207
1221
  validator: {
@@ -1291,7 +1305,8 @@ var zu_default = {
1291
1305
  pathRequired: "Project directory path is required",
1292
1306
  noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}",
1293
1307
  readFailed: "Failed to read project file: {path}",
1294
- invalidProject: "Invalid project file: {path}. Missing ProjectType field."
1308
+ invalidProject: "Invalid project file: {path}. Missing ProjectType field.",
1309
+ invalidJson: "Project file {path} is not a JSON object. {reason}"
1295
1310
  }
1296
1311
  },
1297
1312
  validator: {
@@ -3140,7 +3155,7 @@ var package_default = {
3140
3155
  name: "@uipath/project-packager",
3141
3156
  author: "UiPath",
3142
3157
  license: "SEE LICENSE IN LICENSE.txt",
3143
- version: "1.206.0-preview.306",
3158
+ version: "1.207.0-preview.307",
3144
3159
  description: "UiPath Project Packager - core library for packing individual UiPath projects",
3145
3160
  type: "module",
3146
3161
  main: "./dist/index.js",
@@ -3196,7 +3211,7 @@ var package_default = {
3196
3211
  },
3197
3212
  devDependencies: {
3198
3213
  "@types/node": "^25.5.2",
3199
- "@uipath/resource-builder-tool": "2025.11.0-alpha6004-4107",
3214
+ "@uipath/resource-builder-tool": "1.0.0-s207-18596",
3200
3215
  "@uipath/tool-agent": "^2.0.0",
3201
3216
  "@uipath/packager-tool-apiworkflow": "workspace:*",
3202
3217
  "@uipath/packager-tool-connector": "workspace:*",
@@ -3627,28 +3642,54 @@ class ProjectLoader {
3627
3642
  path: projectFilePath
3628
3643
  }));
3629
3644
  }
3630
- const json = typeof fileContent === "string" ? fileContent : new TextDecoder("utf-8").decode(fileContent);
3631
- const projectData = JSON.parse(json);
3645
+ const projectData = this.parseProjectFile(fileContent, projectFilePath);
3632
3646
  const projectJson = useProjectJson ? projectData : undefined;
3633
- const outputType = projectJson?.designOptions?.outputType;
3634
- const projectType = outputType ?? (projectData?.ProjectType || projectData?.type);
3635
- if (!projectData || !projectType) {
3647
+ const designOptions = projectJson?.designOptions;
3648
+ const outputType = designOptions && typeof designOptions === "object" ? text(designOptions.outputType) : undefined;
3649
+ const projectType = outputType ?? (text(projectData?.ProjectType) || text(projectData?.type));
3650
+ if (!projectType) {
3636
3651
  throw new Error(translate.t("solutionpackager.projectLoader.errors.invalidProject", {
3637
3652
  path: projectFilePath
3638
3653
  }));
3639
3654
  }
3640
- const declaredName = projectJson?.name?.trim() || projectData.Name;
3641
- const declaredDescription = projectJson?.description?.trim() || projectData.Description?.trim() || undefined;
3642
- const declaredAuthor = projectJson?.author?.trim() || projectData.Author?.trim() || undefined;
3655
+ const declaredName = text(projectJson?.name) || text(projectData.Name);
3656
+ const declaredDescription = text(projectJson?.description) || text(projectData.Description) || undefined;
3657
+ const declaredAuthor = text(projectJson?.author) || text(projectData.Author) || undefined;
3658
+ const declaredVersion = useProjectJson ? text(projectData.projectVersion) : await this.readProjectJsonVersion(projectPath);
3643
3659
  return {
3644
3660
  type: projectType,
3645
3661
  name: declaredName || Path.basename(projectPath),
3646
3662
  projectPath,
3647
3663
  projectFilePath,
3648
3664
  description: declaredDescription,
3649
- author: declaredAuthor
3665
+ author: declaredAuthor,
3666
+ version: declaredVersion || undefined
3650
3667
  };
3651
3668
  }
3669
+ parseProjectFile(fileContent, projectFilePath) {
3670
+ const json = typeof fileContent === "string" ? fileContent : new TextDecoder("utf-8").decode(fileContent);
3671
+ const [reason, parsed] = parseJson(json);
3672
+ if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
3673
+ throw new Error(translate.t("solutionpackager.projectLoader.errors.invalidJson", {
3674
+ path: projectFilePath,
3675
+ reason: reason ?? ""
3676
+ }).trim());
3677
+ }
3678
+ return parsed;
3679
+ }
3680
+ async readProjectJsonVersion(projectPath) {
3681
+ const projectJsonPath = Path.join(projectPath, ProjectLoader.ProjectJsonFileName);
3682
+ if (!await this.fileSystem.exists(projectJsonPath))
3683
+ return;
3684
+ const fileContent = await this.fileSystem.readFile(projectJsonPath);
3685
+ if (!fileContent)
3686
+ return;
3687
+ try {
3688
+ return text(this.parseProjectFile(fileContent, projectJsonPath).projectVersion);
3689
+ } catch {
3690
+ return;
3691
+ }
3692
+ }
3652
3693
  loadFromWebAppManifest(projectPath, webAppManifestPath) {
3653
3694
  const folderName = Path.basename(projectPath);
3654
3695
  return {
@@ -3659,6 +3700,19 @@ class ProjectLoader {
3659
3700
  };
3660
3701
  }
3661
3702
  }
3703
+ function parseJson(json) {
3704
+ try {
3705
+ return [undefined, JSON.parse(json)];
3706
+ } catch (error) {
3707
+ return [
3708
+ error instanceof Error ? error.message : String(error),
3709
+ undefined
3710
+ ];
3711
+ }
3712
+ }
3713
+ function text(value) {
3714
+ return typeof value === "string" ? value.trim() : undefined;
3715
+ }
3662
3716
  // ../packager/project-packager/src/services/project-tool-executor.ts
3663
3717
  var observerTimedOut = (phase) => () => new ToolLogger2("ProjectToolExecutor", "ProjectActivity").debug(`project activity (${phase}) skipped: no answer within ${PROJECT_IDENTITY_LOOKUP_BUDGET_MS} ms`);
3664
3718
 
@@ -3801,7 +3855,8 @@ class ProjectPackOptionsBuilder {
3801
3855
  package: packageInfo,
3802
3856
  skipDependencyOptimization: parameters.packOptions?.skipDependencyOptimization ?? false,
3803
3857
  includeSources: parameters.packOptions?.includeSources ?? false,
3804
- splitPackages: parameters.packOptions?.splitPackages ?? false
3858
+ splitPackages: parameters.packOptions?.splitPackages ?? false,
3859
+ skipBuild: parameters.packOptions?.skipBuild ?? false
3805
3860
  };
3806
3861
  }
3807
3862
  }
@@ -4276,4 +4331,4 @@ async function readMemberPackageIdAsync2(fileSystem, project, solutionPath, solu
4276
4331
 
4277
4332
  export { PackagerParameters, ProjectPackOptions2, setGlobalLogHandler, ToolLogger2, GovernancePolicyService, resolveProducedNupkgsAsync, isPackageIdTooLongError, PackService, signNupkgsAsync, PackagerParametersValidator, ProjectLoader, ProjectToolExecutor, ToolsFactory, ProjectPackager, PackageIdReader, readMemberPackageIdAsync2 };
4278
4333
 
4279
- //# debugId=20617E4B9FECD58D64756E2164756E21
4334
+ //# debugId=F43FAAADF93579A564756E2164756E21