@uapkg/cli 1.3.0 → 1.3.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 (412) hide show
  1. package/dist/app/CompositionRoot.d.ts +36 -33
  2. package/dist/app/CompositionRoot.d.ts.map +1 -1
  3. package/dist/app/CompositionRoot.js +91 -109
  4. package/dist/app/CompositionRoot.js.map +1 -1
  5. package/dist/app/UAPKGApplication.d.ts +6 -3
  6. package/dist/app/UAPKGApplication.d.ts.map +1 -1
  7. package/dist/app/UAPKGApplication.js +155 -169
  8. package/dist/app/UAPKGApplication.js.map +1 -1
  9. package/dist/build/BuildMetadata.d.ts +9 -6
  10. package/dist/build/BuildMetadata.d.ts.map +1 -1
  11. package/dist/build/BuildMetadata.js +2 -2
  12. package/dist/cli/UAPKGCommandLine.d.ts +259 -257
  13. package/dist/cli/UAPKGCommandLine.d.ts.map +1 -1
  14. package/dist/cli/UAPKGCommandLine.js +248 -239
  15. package/dist/cli/UAPKGCommandLine.js.map +1 -1
  16. package/dist/cli/parseCommandLine.d.ts +5 -1
  17. package/dist/cli/parseCommandLine.d.ts.map +1 -1
  18. package/dist/cli/parseCommandLine.js +8 -3
  19. package/dist/cli/parseCommandLine.js.map +1 -1
  20. package/dist/cli/parsing/UAPKGCommandLineParser.d.ts +9 -6
  21. package/dist/cli/parsing/UAPKGCommandLineParser.d.ts.map +1 -1
  22. package/dist/cli/parsing/UAPKGCommandLineParser.js +23 -31
  23. package/dist/cli/parsing/UAPKGCommandLineParser.js.map +1 -1
  24. package/dist/cli/parsing/UAPKGParserRegistry.d.ts +12 -9
  25. package/dist/cli/parsing/UAPKGParserRegistry.d.ts.map +1 -1
  26. package/dist/cli/parsing/UAPKGParserRegistry.js +53 -50
  27. package/dist/cli/parsing/UAPKGParserRegistry.js.map +1 -1
  28. package/dist/cli/parsing/contracts/UAPKGCommandModule.d.ts +9 -6
  29. package/dist/cli/parsing/contracts/UAPKGCommandModule.d.ts.map +1 -1
  30. package/dist/cli/parsing/contracts/UAPKGCommandModule.js +1 -2
  31. package/dist/cli/parsing/modules/AddCommandModule.d.ts +8 -5
  32. package/dist/cli/parsing/modules/AddCommandModule.d.ts.map +1 -1
  33. package/dist/cli/parsing/modules/AddCommandModule.js +49 -36
  34. package/dist/cli/parsing/modules/AddCommandModule.js.map +1 -1
  35. package/dist/cli/parsing/modules/ConfigCommandModule.d.ts +8 -5
  36. package/dist/cli/parsing/modules/ConfigCommandModule.d.ts.map +1 -1
  37. package/dist/cli/parsing/modules/ConfigCommandModule.js +87 -83
  38. package/dist/cli/parsing/modules/ConfigCommandModule.js.map +1 -1
  39. package/dist/cli/parsing/modules/InitCommandModule.d.ts +8 -5
  40. package/dist/cli/parsing/modules/InitCommandModule.d.ts.map +1 -1
  41. package/dist/cli/parsing/modules/InitCommandModule.js +25 -22
  42. package/dist/cli/parsing/modules/InitCommandModule.js.map +1 -1
  43. package/dist/cli/parsing/modules/InstallCommandModule.d.ts +8 -5
  44. package/dist/cli/parsing/modules/InstallCommandModule.d.ts.map +1 -1
  45. package/dist/cli/parsing/modules/InstallCommandModule.js +36 -28
  46. package/dist/cli/parsing/modules/InstallCommandModule.js.map +1 -1
  47. package/dist/cli/parsing/modules/LifecycleCommandModule.d.ts +8 -5
  48. package/dist/cli/parsing/modules/LifecycleCommandModule.d.ts.map +1 -1
  49. package/dist/cli/parsing/modules/LifecycleCommandModule.js +78 -50
  50. package/dist/cli/parsing/modules/LifecycleCommandModule.js.map +1 -1
  51. package/dist/cli/parsing/modules/ListCommandModule.d.ts +8 -5
  52. package/dist/cli/parsing/modules/ListCommandModule.d.ts.map +1 -1
  53. package/dist/cli/parsing/modules/ListCommandModule.js +26 -15
  54. package/dist/cli/parsing/modules/ListCommandModule.js.map +1 -1
  55. package/dist/cli/parsing/modules/LoginCommandModule.d.ts +8 -5
  56. package/dist/cli/parsing/modules/LoginCommandModule.d.ts.map +1 -1
  57. package/dist/cli/parsing/modules/LoginCommandModule.js +34 -33
  58. package/dist/cli/parsing/modules/LoginCommandModule.js.map +1 -1
  59. package/dist/cli/parsing/modules/LogoutCommandModule.d.ts +8 -5
  60. package/dist/cli/parsing/modules/LogoutCommandModule.d.ts.map +1 -1
  61. package/dist/cli/parsing/modules/LogoutCommandModule.js +30 -28
  62. package/dist/cli/parsing/modules/LogoutCommandModule.js.map +1 -1
  63. package/dist/cli/parsing/modules/OutdatedCommandModule.d.ts +8 -5
  64. package/dist/cli/parsing/modules/OutdatedCommandModule.d.ts.map +1 -1
  65. package/dist/cli/parsing/modules/OutdatedCommandModule.js +21 -16
  66. package/dist/cli/parsing/modules/OutdatedCommandModule.js.map +1 -1
  67. package/dist/cli/parsing/modules/PackCommandModule.d.ts +8 -5
  68. package/dist/cli/parsing/modules/PackCommandModule.d.ts.map +1 -1
  69. package/dist/cli/parsing/modules/PackCommandModule.js +30 -28
  70. package/dist/cli/parsing/modules/PackCommandModule.js.map +1 -1
  71. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.d.ts +8 -5
  72. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.d.ts.map +1 -1
  73. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js +14 -11
  74. package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js.map +1 -1
  75. package/dist/cli/parsing/modules/PublishCommandModule.d.ts +8 -5
  76. package/dist/cli/parsing/modules/PublishCommandModule.d.ts.map +1 -1
  77. package/dist/cli/parsing/modules/PublishCommandModule.js +63 -47
  78. package/dist/cli/parsing/modules/PublishCommandModule.js.map +1 -1
  79. package/dist/cli/parsing/modules/RegistryCommandModule.d.ts +8 -5
  80. package/dist/cli/parsing/modules/RegistryCommandModule.d.ts.map +1 -1
  81. package/dist/cli/parsing/modules/RegistryCommandModule.js +117 -120
  82. package/dist/cli/parsing/modules/RegistryCommandModule.js.map +1 -1
  83. package/dist/cli/parsing/modules/RemoveCommandModule.d.ts +8 -5
  84. package/dist/cli/parsing/modules/RemoveCommandModule.d.ts.map +1 -1
  85. package/dist/cli/parsing/modules/RemoveCommandModule.js +25 -14
  86. package/dist/cli/parsing/modules/RemoveCommandModule.js.map +1 -1
  87. package/dist/cli/parsing/modules/RequestsCommandModule.d.ts +8 -5
  88. package/dist/cli/parsing/modules/RequestsCommandModule.d.ts.map +1 -1
  89. package/dist/cli/parsing/modules/RequestsCommandModule.js +56 -60
  90. package/dist/cli/parsing/modules/RequestsCommandModule.js.map +1 -1
  91. package/dist/cli/parsing/modules/UpdateCommandModule.d.ts +8 -5
  92. package/dist/cli/parsing/modules/UpdateCommandModule.d.ts.map +1 -1
  93. package/dist/cli/parsing/modules/UpdateCommandModule.js +38 -25
  94. package/dist/cli/parsing/modules/UpdateCommandModule.js.map +1 -1
  95. package/dist/cli/parsing/modules/WhoamiCommandModule.d.ts +8 -5
  96. package/dist/cli/parsing/modules/WhoamiCommandModule.d.ts.map +1 -1
  97. package/dist/cli/parsing/modules/WhoamiCommandModule.js +30 -28
  98. package/dist/cli/parsing/modules/WhoamiCommandModule.js.map +1 -1
  99. package/dist/cli/parsing/modules/WhyCommandModule.d.ts +8 -5
  100. package/dist/cli/parsing/modules/WhyCommandModule.d.ts.map +1 -1
  101. package/dist/cli/parsing/modules/WhyCommandModule.js +25 -14
  102. package/dist/cli/parsing/modules/WhyCommandModule.js.map +1 -1
  103. package/dist/cli/parsing/modules/sharedOptions.d.ts +8 -5
  104. package/dist/cli/parsing/modules/sharedOptions.d.ts.map +1 -1
  105. package/dist/cli/parsing/modules/sharedOptions.js +18 -23
  106. package/dist/cli/parsing/modules/sharedOptions.js.map +1 -1
  107. package/dist/cli/runUAPKGCLI.d.ts +4 -1
  108. package/dist/cli/runUAPKGCLI.d.ts.map +1 -1
  109. package/dist/cli/runUAPKGCLI.js +10 -5
  110. package/dist/cli/runUAPKGCLI.js.map +1 -1
  111. package/dist/cli-bootstrap.d.ts +1 -2
  112. package/dist/cli-bootstrap.js +15 -12
  113. package/dist/cli-bootstrap.js.map +1 -1
  114. package/dist/commands/AddCommand.d.ts +19 -16
  115. package/dist/commands/AddCommand.d.ts.map +1 -1
  116. package/dist/commands/AddCommand.js +49 -53
  117. package/dist/commands/AddCommand.js.map +1 -1
  118. package/dist/commands/Command.d.ts +5 -2
  119. package/dist/commands/Command.d.ts.map +1 -1
  120. package/dist/commands/Command.js +1 -2
  121. package/dist/commands/ConfigCommand.d.ts +28 -25
  122. package/dist/commands/ConfigCommand.d.ts.map +1 -1
  123. package/dist/commands/ConfigCommand.js +165 -186
  124. package/dist/commands/ConfigCommand.js.map +1 -1
  125. package/dist/commands/InitCommand.d.ts +19 -16
  126. package/dist/commands/InitCommand.d.ts.map +1 -1
  127. package/dist/commands/InitCommand.js +65 -60
  128. package/dist/commands/InitCommand.js.map +1 -1
  129. package/dist/commands/InstallCommand.d.ts +16 -13
  130. package/dist/commands/InstallCommand.d.ts.map +1 -1
  131. package/dist/commands/InstallCommand.js +118 -110
  132. package/dist/commands/InstallCommand.js.map +1 -1
  133. package/dist/commands/ListCommand.d.ts +13 -10
  134. package/dist/commands/ListCommand.d.ts.map +1 -1
  135. package/dist/commands/ListCommand.js +76 -81
  136. package/dist/commands/ListCommand.js.map +1 -1
  137. package/dist/commands/LoginCommand.d.ts +17 -14
  138. package/dist/commands/LoginCommand.d.ts.map +1 -1
  139. package/dist/commands/LoginCommand.js +66 -72
  140. package/dist/commands/LoginCommand.js.map +1 -1
  141. package/dist/commands/LogoutCommand.d.ts +15 -12
  142. package/dist/commands/LogoutCommand.d.ts.map +1 -1
  143. package/dist/commands/LogoutCommand.js +36 -37
  144. package/dist/commands/LogoutCommand.js.map +1 -1
  145. package/dist/commands/OutdatedCommand.d.ts +12 -9
  146. package/dist/commands/OutdatedCommand.d.ts.map +1 -1
  147. package/dist/commands/OutdatedCommand.js +41 -40
  148. package/dist/commands/OutdatedCommand.js.map +1 -1
  149. package/dist/commands/PackCommand.d.ts +13 -10
  150. package/dist/commands/PackCommand.d.ts.map +1 -1
  151. package/dist/commands/PackCommand.js +26 -21
  152. package/dist/commands/PackCommand.js.map +1 -1
  153. package/dist/commands/PackageLifecycleCommand.d.ts +23 -19
  154. package/dist/commands/PackageLifecycleCommand.d.ts.map +1 -1
  155. package/dist/commands/PackageLifecycleCommand.js +144 -138
  156. package/dist/commands/PackageLifecycleCommand.js.map +1 -1
  157. package/dist/commands/PostinstallCandidateBuilder.d.ts +11 -8
  158. package/dist/commands/PostinstallCandidateBuilder.d.ts.map +1 -1
  159. package/dist/commands/PostinstallCandidateBuilder.js +42 -42
  160. package/dist/commands/PostinstallCandidateBuilder.js.map +1 -1
  161. package/dist/commands/ProjectGetNameCommand.d.ts +10 -7
  162. package/dist/commands/ProjectGetNameCommand.d.ts.map +1 -1
  163. package/dist/commands/ProjectGetNameCommand.js +25 -25
  164. package/dist/commands/ProjectGetNameCommand.js.map +1 -1
  165. package/dist/commands/PublishCommand.d.ts +29 -23
  166. package/dist/commands/PublishCommand.d.ts.map +1 -1
  167. package/dist/commands/PublishCommand.js +243 -254
  168. package/dist/commands/PublishCommand.js.map +1 -1
  169. package/dist/commands/RegistryCommand.d.ts +38 -35
  170. package/dist/commands/RegistryCommand.d.ts.map +1 -1
  171. package/dist/commands/RegistryCommand.js +195 -223
  172. package/dist/commands/RegistryCommand.js.map +1 -1
  173. package/dist/commands/RemoveCommand.d.ts +14 -11
  174. package/dist/commands/RemoveCommand.d.ts.map +1 -1
  175. package/dist/commands/RemoveCommand.js +47 -54
  176. package/dist/commands/RemoveCommand.js.map +1 -1
  177. package/dist/commands/RequestsCommand.d.ts +21 -18
  178. package/dist/commands/RequestsCommand.d.ts.map +1 -1
  179. package/dist/commands/RequestsCommand.js +82 -95
  180. package/dist/commands/RequestsCommand.js.map +1 -1
  181. package/dist/commands/UpdateCommand.d.ts +29 -26
  182. package/dist/commands/UpdateCommand.d.ts.map +1 -1
  183. package/dist/commands/UpdateCommand.js +111 -111
  184. package/dist/commands/UpdateCommand.js.map +1 -1
  185. package/dist/commands/WhoamiCommand.d.ts +30 -27
  186. package/dist/commands/WhoamiCommand.d.ts.map +1 -1
  187. package/dist/commands/WhoamiCommand.js +63 -72
  188. package/dist/commands/WhoamiCommand.js.map +1 -1
  189. package/dist/commands/WhyCommand.d.ts +13 -10
  190. package/dist/commands/WhyCommand.d.ts.map +1 -1
  191. package/dist/commands/WhyCommand.js +45 -44
  192. package/dist/commands/WhyCommand.js.map +1 -1
  193. package/dist/commands/add/DependencyAddResolver.d.ts +14 -11
  194. package/dist/commands/add/DependencyAddResolver.d.ts.map +1 -1
  195. package/dist/commands/add/DependencyAddResolver.js +36 -36
  196. package/dist/commands/add/DependencyAddResolver.js.map +1 -1
  197. package/dist/control-plane/AccountManager.d.ts +96 -94
  198. package/dist/control-plane/AccountManager.d.ts.map +1 -1
  199. package/dist/control-plane/AccountManager.js +775 -967
  200. package/dist/control-plane/AccountManager.js.map +1 -1
  201. package/dist/control-plane/ArtifactObserver.d.ts +19 -16
  202. package/dist/control-plane/ArtifactObserver.d.ts.map +1 -1
  203. package/dist/control-plane/ArtifactObserver.js +73 -59
  204. package/dist/control-plane/ArtifactObserver.js.map +1 -1
  205. package/dist/control-plane/AuthMetadataStore.d.ts +16 -13
  206. package/dist/control-plane/AuthMetadataStore.d.ts.map +1 -1
  207. package/dist/control-plane/AuthMetadataStore.js +111 -113
  208. package/dist/control-plane/AuthMetadataStore.js.map +1 -1
  209. package/dist/control-plane/AuthStoragePaths.d.ts +7 -4
  210. package/dist/control-plane/AuthStoragePaths.d.ts.map +1 -1
  211. package/dist/control-plane/AuthStoragePaths.js +19 -14
  212. package/dist/control-plane/AuthStoragePaths.js.map +1 -1
  213. package/dist/control-plane/AuthenticationSelector.d.ts +21 -18
  214. package/dist/control-plane/AuthenticationSelector.d.ts.map +1 -1
  215. package/dist/control-plane/AuthenticationSelector.js +69 -63
  216. package/dist/control-plane/AuthenticationSelector.js.map +1 -1
  217. package/dist/control-plane/ControlPlaneClient.d.ts +37 -28
  218. package/dist/control-plane/ControlPlaneClient.d.ts.map +1 -1
  219. package/dist/control-plane/ControlPlaneClient.js +265 -254
  220. package/dist/control-plane/ControlPlaneClient.js.map +1 -1
  221. package/dist/control-plane/ControlPlaneEndpoints.d.ts +9 -6
  222. package/dist/control-plane/ControlPlaneEndpoints.d.ts.map +1 -1
  223. package/dist/control-plane/ControlPlaneEndpoints.js +17 -12
  224. package/dist/control-plane/ControlPlaneEndpoints.js.map +1 -1
  225. package/dist/control-plane/ControlPlaneTypes.d.ts +176 -152
  226. package/dist/control-plane/ControlPlaneTypes.d.ts.map +1 -1
  227. package/dist/control-plane/ControlPlaneTypes.js +88 -81
  228. package/dist/control-plane/ControlPlaneTypes.js.map +1 -1
  229. package/dist/control-plane/CredentialStore.d.ts +20 -18
  230. package/dist/control-plane/CredentialStore.d.ts.map +1 -1
  231. package/dist/control-plane/CredentialStore.js +66 -83
  232. package/dist/control-plane/CredentialStore.js.map +1 -1
  233. package/dist/control-plane/DPoPKeyStore.d.ts +12 -9
  234. package/dist/control-plane/DPoPKeyStore.d.ts.map +1 -1
  235. package/dist/control-plane/DPoPKeyStore.js +57 -53
  236. package/dist/control-plane/DPoPKeyStore.js.map +1 -1
  237. package/dist/control-plane/GitHubActionsOidcCredentialProvider.d.ts +37 -4
  238. package/dist/control-plane/GitHubActionsOidcCredentialProvider.d.ts.map +1 -1
  239. package/dist/control-plane/GitHubActionsOidcCredentialProvider.js +197 -63
  240. package/dist/control-plane/GitHubActionsOidcCredentialProvider.js.map +1 -1
  241. package/dist/control-plane/PublishIdempotencyStore.d.ts +25 -9
  242. package/dist/control-plane/PublishIdempotencyStore.d.ts.map +1 -1
  243. package/dist/control-plane/PublishIdempotencyStore.js +97 -68
  244. package/dist/control-plane/PublishIdempotencyStore.js.map +1 -1
  245. package/dist/control-plane/PublishRequestErrorMapper.d.ts +155 -0
  246. package/dist/control-plane/PublishRequestErrorMapper.d.ts.map +1 -0
  247. package/dist/control-plane/PublishRequestErrorMapper.js +597 -0
  248. package/dist/control-plane/PublishRequestErrorMapper.js.map +1 -0
  249. package/dist/control-plane/RegistryGrantLock.d.ts +29 -26
  250. package/dist/control-plane/RegistryGrantLock.d.ts.map +1 -1
  251. package/dist/control-plane/RegistryGrantLock.js +149 -185
  252. package/dist/control-plane/RegistryGrantLock.js.map +1 -1
  253. package/dist/control-plane/RegistryTrustResolver.d.ts +13 -10
  254. package/dist/control-plane/RegistryTrustResolver.d.ts.map +1 -1
  255. package/dist/control-plane/RegistryTrustResolver.js +97 -132
  256. package/dist/control-plane/RegistryTrustResolver.js.map +1 -1
  257. package/dist/index.d.ts +62 -39
  258. package/dist/index.js +60 -53
  259. package/dist/postinstall/api/PostinstallDsl.d.ts +24 -21
  260. package/dist/postinstall/api/PostinstallDsl.d.ts.map +1 -1
  261. package/dist/postinstall/api/PostinstallDsl.js +32 -35
  262. package/dist/postinstall/api/PostinstallDsl.js.map +1 -1
  263. package/dist/postinstall/api/definePostinstall.d.ts +5 -2
  264. package/dist/postinstall/api/definePostinstall.d.ts.map +1 -1
  265. package/dist/postinstall/api/definePostinstall.js +20 -16
  266. package/dist/postinstall/api/definePostinstall.js.map +1 -1
  267. package/dist/postinstall/index.d.ts +25 -26
  268. package/dist/postinstall/index.js +25 -37
  269. package/dist/postinstall/loader/EntryResolver.d.ts +11 -9
  270. package/dist/postinstall/loader/EntryResolver.d.ts.map +1 -1
  271. package/dist/postinstall/loader/EntryResolver.js +36 -32
  272. package/dist/postinstall/loader/EntryResolver.js.map +1 -1
  273. package/dist/postinstall/loader/EsbuildTranspiler.d.ts +6 -3
  274. package/dist/postinstall/loader/EsbuildTranspiler.d.ts.map +1 -1
  275. package/dist/postinstall/loader/EsbuildTranspiler.js +52 -56
  276. package/dist/postinstall/loader/EsbuildTranspiler.js.map +1 -1
  277. package/dist/postinstall/loader/ExportValidator.d.ts +8 -5
  278. package/dist/postinstall/loader/ExportValidator.d.ts.map +1 -1
  279. package/dist/postinstall/loader/ExportValidator.js +36 -32
  280. package/dist/postinstall/loader/ExportValidator.js.map +1 -1
  281. package/dist/postinstall/loader/ModuleImporter.d.ts +17 -14
  282. package/dist/postinstall/loader/ModuleImporter.d.ts.map +1 -1
  283. package/dist/postinstall/loader/ModuleImporter.js +50 -58
  284. package/dist/postinstall/loader/ModuleImporter.js.map +1 -1
  285. package/dist/postinstall/loader/PostinstallLoader.d.ts +22 -19
  286. package/dist/postinstall/loader/PostinstallLoader.d.ts.map +1 -1
  287. package/dist/postinstall/loader/PostinstallLoader.js +62 -58
  288. package/dist/postinstall/loader/PostinstallLoader.js.map +1 -1
  289. package/dist/postinstall/markers/MarkerBlockEditor.d.ts +19 -16
  290. package/dist/postinstall/markers/MarkerBlockEditor.d.ts.map +1 -1
  291. package/dist/postinstall/markers/MarkerBlockEditor.js +48 -44
  292. package/dist/postinstall/markers/MarkerBlockEditor.js.map +1 -1
  293. package/dist/postinstall/markers/MarkerBlockService.d.ts +10 -7
  294. package/dist/postinstall/markers/MarkerBlockService.d.ts.map +1 -1
  295. package/dist/postinstall/markers/MarkerBlockService.js +44 -44
  296. package/dist/postinstall/markers/MarkerBlockService.js.map +1 -1
  297. package/dist/postinstall/markers/MarkerIntegrityValidator.d.ts +12 -9
  298. package/dist/postinstall/markers/MarkerIntegrityValidator.d.ts.map +1 -1
  299. package/dist/postinstall/markers/MarkerIntegrityValidator.js +47 -52
  300. package/dist/postinstall/markers/MarkerIntegrityValidator.js.map +1 -1
  301. package/dist/postinstall/policy/PostinstallPolicyGate.d.ts +25 -23
  302. package/dist/postinstall/policy/PostinstallPolicyGate.d.ts.map +1 -1
  303. package/dist/postinstall/policy/PostinstallPolicyGate.js +63 -52
  304. package/dist/postinstall/policy/PostinstallPolicyGate.js.map +1 -1
  305. package/dist/postinstall/runner/PostinstallOrchestrator.d.ts +48 -45
  306. package/dist/postinstall/runner/PostinstallOrchestrator.d.ts.map +1 -1
  307. package/dist/postinstall/runner/PostinstallOrchestrator.js +172 -170
  308. package/dist/postinstall/runner/PostinstallOrchestrator.js.map +1 -1
  309. package/dist/postinstall/unreal/BuildCsInjector.d.ts +16 -13
  310. package/dist/postinstall/unreal/BuildCsInjector.d.ts.map +1 -1
  311. package/dist/postinstall/unreal/BuildCsInjector.js +58 -53
  312. package/dist/postinstall/unreal/BuildCsInjector.js.map +1 -1
  313. package/dist/postinstall/unreal/CSharpInjectionEngine.d.ts +13 -10
  314. package/dist/postinstall/unreal/CSharpInjectionEngine.d.ts.map +1 -1
  315. package/dist/postinstall/unreal/CSharpInjectionEngine.js +56 -59
  316. package/dist/postinstall/unreal/CSharpInjectionEngine.js.map +1 -1
  317. package/dist/postinstall/unreal/CSharpStructureAnalyzer.d.ts +11 -8
  318. package/dist/postinstall/unreal/CSharpStructureAnalyzer.d.ts.map +1 -1
  319. package/dist/postinstall/unreal/CSharpStructureAnalyzer.js +123 -127
  320. package/dist/postinstall/unreal/CSharpStructureAnalyzer.js.map +1 -1
  321. package/dist/postinstall/unreal/CSharpStructures.d.ts +18 -15
  322. package/dist/postinstall/unreal/CSharpStructures.d.ts.map +1 -1
  323. package/dist/postinstall/unreal/CSharpStructures.js +1 -2
  324. package/dist/postinstall/unreal/CSharpWrapperFactory.d.ts +7 -4
  325. package/dist/postinstall/unreal/CSharpWrapperFactory.d.ts.map +1 -1
  326. package/dist/postinstall/unreal/CSharpWrapperFactory.js +54 -58
  327. package/dist/postinstall/unreal/CSharpWrapperFactory.js.map +1 -1
  328. package/dist/postinstall/unreal/PluginHash.d.ts +5 -2
  329. package/dist/postinstall/unreal/PluginHash.d.ts.map +1 -1
  330. package/dist/postinstall/unreal/PluginHash.js +13 -8
  331. package/dist/postinstall/unreal/PluginHash.js.map +1 -1
  332. package/dist/postinstall/unreal/PrettyParseError.d.ts +8 -5
  333. package/dist/postinstall/unreal/PrettyParseError.d.ts.map +1 -1
  334. package/dist/postinstall/unreal/PrettyParseError.js +37 -37
  335. package/dist/postinstall/unreal/PrettyParseError.js.map +1 -1
  336. package/dist/postinstall/unreal/ProjectFileLocator.d.ts +12 -9
  337. package/dist/postinstall/unreal/ProjectFileLocator.d.ts.map +1 -1
  338. package/dist/postinstall/unreal/ProjectFileLocator.js +49 -51
  339. package/dist/postinstall/unreal/ProjectFileLocator.js.map +1 -1
  340. package/dist/postinstall/unreal/TargetCsInjector.d.ts +16 -13
  341. package/dist/postinstall/unreal/TargetCsInjector.d.ts.map +1 -1
  342. package/dist/postinstall/unreal/TargetCsInjector.js +58 -53
  343. package/dist/postinstall/unreal/TargetCsInjector.js.map +1 -1
  344. package/dist/postinstall/unreal/UProjectInjector.d.ts +6 -3
  345. package/dist/postinstall/unreal/UProjectInjector.d.ts.map +1 -1
  346. package/dist/postinstall/unreal/UProjectInjector.js +56 -52
  347. package/dist/postinstall/unreal/UProjectInjector.js.map +1 -1
  348. package/dist/postinstall/unreal/UProjectMetadataReader.d.ts +5 -2
  349. package/dist/postinstall/unreal/UProjectMetadataReader.d.ts.map +1 -1
  350. package/dist/postinstall/unreal/UProjectMetadataReader.js +22 -18
  351. package/dist/postinstall/unreal/UProjectMetadataReader.js.map +1 -1
  352. package/dist/postinstall/unreal/UnrealSourceCatalog.d.ts +17 -14
  353. package/dist/postinstall/unreal/UnrealSourceCatalog.d.ts.map +1 -1
  354. package/dist/postinstall/unreal/UnrealSourceCatalog.js +50 -50
  355. package/dist/postinstall/unreal/UnrealSourceCatalog.js.map +1 -1
  356. package/dist/prompts/InkPromptService.d.ts +10 -7
  357. package/dist/prompts/InkPromptService.d.ts.map +1 -1
  358. package/dist/prompts/InkPromptService.js +100 -71
  359. package/dist/prompts/InkPromptService.js.map +1 -1
  360. package/dist/prompts/ProjectContextDetector.d.ts +10 -7
  361. package/dist/prompts/ProjectContextDetector.d.ts.map +1 -1
  362. package/dist/prompts/ProjectContextDetector.js +32 -26
  363. package/dist/prompts/ProjectContextDetector.js.map +1 -1
  364. package/dist/prompts/PromptService.d.ts +11 -8
  365. package/dist/prompts/PromptService.d.ts.map +1 -1
  366. package/dist/prompts/PromptService.js +1 -8
  367. package/dist/reporting/DiagnosticDeduplicator.d.ts +8 -5
  368. package/dist/reporting/DiagnosticDeduplicator.d.ts.map +1 -1
  369. package/dist/reporting/DiagnosticDeduplicator.js +36 -35
  370. package/dist/reporting/DiagnosticDeduplicator.js.map +1 -1
  371. package/dist/reporting/DiagnosticRenderer.d.ts +11 -8
  372. package/dist/reporting/DiagnosticRenderer.d.ts.map +1 -1
  373. package/dist/reporting/DiagnosticRenderer.js +1 -2
  374. package/dist/reporting/DiagnosticReporter.d.ts +12 -9
  375. package/dist/reporting/DiagnosticReporter.d.ts.map +1 -1
  376. package/dist/reporting/DiagnosticReporter.js +40 -39
  377. package/dist/reporting/DiagnosticReporter.js.map +1 -1
  378. package/dist/reporting/InkDiagnosticRenderer.d.ts +12 -9
  379. package/dist/reporting/InkDiagnosticRenderer.d.ts.map +1 -1
  380. package/dist/reporting/InkDiagnosticRenderer.js +50 -42
  381. package/dist/reporting/InkDiagnosticRenderer.js.map +1 -1
  382. package/dist/reporting/InstallProgressReporter.d.ts +23 -20
  383. package/dist/reporting/InstallProgressReporter.d.ts.map +1 -1
  384. package/dist/reporting/InstallProgressReporter.js +48 -47
  385. package/dist/reporting/InstallProgressReporter.js.map +1 -1
  386. package/dist/reporting/JsonReporter.d.ts +16 -13
  387. package/dist/reporting/JsonReporter.d.ts.map +1 -1
  388. package/dist/reporting/JsonReporter.js +34 -20
  389. package/dist/reporting/JsonReporter.js.map +1 -1
  390. package/dist/reporting/RegistryRequestTerminalFormatter.d.ts +36 -0
  391. package/dist/reporting/RegistryRequestTerminalFormatter.d.ts.map +1 -0
  392. package/dist/reporting/RegistryRequestTerminalFormatter.js +90 -0
  393. package/dist/reporting/RegistryRequestTerminalFormatter.js.map +1 -0
  394. package/dist/reporting/TextDiagnosticRenderer.d.ts +11 -8
  395. package/dist/reporting/TextDiagnosticRenderer.d.ts.map +1 -1
  396. package/dist/reporting/TextDiagnosticRenderer.js +36 -28
  397. package/dist/reporting/TextDiagnosticRenderer.js.map +1 -1
  398. package/dist/reporting/TextSink.d.ts +14 -11
  399. package/dist/reporting/TextSink.d.ts.map +1 -1
  400. package/dist/reporting/TextSink.js +24 -20
  401. package/dist/reporting/TextSink.js.map +1 -1
  402. package/package.json +31 -32
  403. package/dist/cli/parsing/contracts/UAPKGCommandModule.js.map +0 -1
  404. package/dist/cli-bootstrap.d.ts.map +0 -1
  405. package/dist/commands/Command.js.map +0 -1
  406. package/dist/index.d.ts.map +0 -1
  407. package/dist/index.js.map +0 -1
  408. package/dist/postinstall/index.d.ts.map +0 -1
  409. package/dist/postinstall/index.js.map +0 -1
  410. package/dist/postinstall/unreal/CSharpStructures.js.map +0 -1
  411. package/dist/prompts/PromptService.js.map +0 -1
  412. package/dist/reporting/DiagnosticRenderer.js.map +0 -1
@@ -1,7 +1,8 @@
1
- import type { InstallPlan } from '@uapkg/installer';
2
- import type { Lockfile, Manifest } from '@uapkg/package-manifest-schema';
3
- import type { CompositionRoot } from '../app/CompositionRoot.js';
4
- import type { PostinstallCandidate } from '../postinstall/runner/PostinstallOrchestrator.js';
1
+ import { PostinstallCandidate } from "../postinstall/runner/PostinstallOrchestrator.js";
2
+ import { CompositionRoot } from "../app/CompositionRoot.js";
3
+ import { InstallPlan } from "@uapkg/installer";
4
+ import { Lockfile, Manifest } from "@uapkg/package-manifest-schema";
5
+ //#region src/commands/PostinstallCandidateBuilder.d.ts
5
6
  /**
6
7
  * Builds the {@link PostinstallCandidate} list that the postinstall
7
8
  * orchestrator consumes after an installer run.
@@ -17,9 +18,11 @@ import type { PostinstallCandidate } from '../postinstall/runner/PostinstallOrch
17
18
  * This adapter lives in the CLI rather than in `@uapkg/uapkg/postinstall/`
18
19
  * to keep the postinstall subsystem independent of `@uapkg/installer`.
19
20
  */
20
- export declare class PostinstallCandidateBuilder {
21
- build(root: CompositionRoot, plan: InstallPlan, lockfile: Lockfile, installedNames?: ReadonlySet<string>): PostinstallCandidate[];
22
- /** Convenience: returns `'project' | 'plugin'` for the orchestrator's input. */
23
- resolveManifestType(manifest: Manifest): 'project' | 'plugin';
21
+ declare class PostinstallCandidateBuilder {
22
+ build(root: CompositionRoot, plan: InstallPlan, lockfile: Lockfile, installedNames?: ReadonlySet<string>): PostinstallCandidate[];
23
+ /** Convenience: returns `'project' | 'plugin'` for the orchestrator's input. */
24
+ resolveManifestType(manifest: Manifest): 'project' | 'plugin';
24
25
  }
26
+ //#endregion
27
+ export { PostinstallCandidateBuilder };
25
28
  //# sourceMappingURL=PostinstallCandidateBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostinstallCandidateBuilder.d.ts","sourceRoot":"","sources":["../../src/commands/PostinstallCandidateBuilder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAE7F;;;;;;;;;;;;;;GAcG;AACH,qBAAa,2BAA2B;IAC/B,KAAK,CACV,IAAI,EAAE,eAAe,EACrB,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,QAAQ,EAClB,cAAc,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,GACnC,oBAAoB,EAAE;IAmBzB,gFAAgF;IACzE,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ;CAGrE"}
1
+ {"version":3,"file":"PostinstallCandidateBuilder.d.ts","names":[],"sources":["../../src/commands/PostinstallCandidateBuilder.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;cAqBa;EACJ,MACL,MAAM,iBACN,MAAM,aACN,UAAU,UACV,iBAAiB,sBAChB;;EAoBI,oBAAoB,UAAU"}
@@ -1,44 +1,44 @@
1
- import * as path from 'node:path';
1
+ import * as path$1 from "node:path";
2
+
3
+ //#region src/commands/PostinstallCandidateBuilder.ts
2
4
  /**
3
- * Builds the {@link PostinstallCandidate} list that the postinstall
4
- * orchestrator consumes after an installer run.
5
- *
6
- * Rules:
7
- * * Only `add` and `update` actions produce candidates (unchanged/remove never run postinstall).
8
- * * `pluginRoot` is derived from the action's declared install `path` resolved
9
- * against the manifest root — matching what the extractor wrote to disk.
10
- * * `registry` is sourced from the lockfile entry; if the lockfile lacks the
11
- * package (shouldn't happen post-install, but be defensive), the action is
12
- * dropped.
13
- *
14
- * This adapter lives in the CLI rather than in `@uapkg/uapkg/postinstall/`
15
- * to keep the postinstall subsystem independent of `@uapkg/installer`.
16
- */
17
- export class PostinstallCandidateBuilder {
18
- build(root, plan, lockfile, installedNames) {
19
- const lockPackages = lockfile.packages;
20
- const candidates = [];
21
- for (const action of plan.actions) {
22
- if (action.type !== 'add' && action.type !== 'update')
23
- continue;
24
- // Failed/skipped branches never run postinstall.
25
- if (installedNames && !installedNames.has(action.packageName))
26
- continue;
27
- const locked = lockPackages[action.packageName];
28
- const registry = locked?.registry ?? action.registry;
29
- if (!registry)
30
- continue;
31
- candidates.push({
32
- packageName: action.packageName,
33
- registry: registry,
34
- pluginRoot: path.join(root.cwd, action.path),
35
- });
36
- }
37
- return candidates;
38
- }
39
- /** Convenience: returns `'project' | 'plugin'` for the orchestrator's input. */
40
- resolveManifestType(manifest) {
41
- return manifest.kind === 'project' ? 'project' : 'plugin';
42
- }
43
- }
5
+ * Builds the {@link PostinstallCandidate} list that the postinstall
6
+ * orchestrator consumes after an installer run.
7
+ *
8
+ * Rules:
9
+ * * Only `add` and `update` actions produce candidates (unchanged/remove never run postinstall).
10
+ * * `pluginRoot` is derived from the action's declared install `path` resolved
11
+ * against the manifest root — matching what the extractor wrote to disk.
12
+ * * `registry` is sourced from the lockfile entry; if the lockfile lacks the
13
+ * package (shouldn't happen post-install, but be defensive), the action is
14
+ * dropped.
15
+ *
16
+ * This adapter lives in the CLI rather than in `@uapkg/uapkg/postinstall/`
17
+ * to keep the postinstall subsystem independent of `@uapkg/installer`.
18
+ */
19
+ var PostinstallCandidateBuilder = class {
20
+ build(root, plan, lockfile, installedNames) {
21
+ const lockPackages = lockfile.packages;
22
+ const candidates = [];
23
+ for (const action of plan.actions) {
24
+ if (action.type !== "add" && action.type !== "update") continue;
25
+ if (installedNames && !installedNames.has(action.packageName)) continue;
26
+ const registry = lockPackages[action.packageName]?.registry ?? action.registry;
27
+ if (!registry) continue;
28
+ candidates.push({
29
+ packageName: action.packageName,
30
+ registry,
31
+ pluginRoot: path$1.join(root.cwd, action.path)
32
+ });
33
+ }
34
+ return candidates;
35
+ }
36
+ /** Convenience: returns `'project' | 'plugin'` for the orchestrator's input. */
37
+ resolveManifestType(manifest) {
38
+ return manifest.kind === "project" ? "project" : "plugin";
39
+ }
40
+ };
41
+
42
+ //#endregion
43
+ export { PostinstallCandidateBuilder };
44
44
  //# sourceMappingURL=PostinstallCandidateBuilder.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostinstallCandidateBuilder.js","sourceRoot":"","sources":["../../src/commands/PostinstallCandidateBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAMlC;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,2BAA2B;IAC/B,KAAK,CACV,IAAqB,EACrB,IAAiB,EACjB,QAAkB,EAClB,cAAoC;QAEpC,MAAM,YAAY,GAAG,QAAQ,CAAC,QAAgD,CAAC;QAC/E,MAAM,UAAU,GAA2B,EAAE,CAAC;QAC9C,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAClC,IAAI,MAAM,CAAC,IAAI,KAAK,KAAK,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ;gBAAE,SAAS;YAChE,iDAAiD;YACjD,IAAI,cAAc,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC;gBAAE,SAAS;YACxE,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;YAChD,MAAM,QAAQ,GAAG,MAAM,EAAE,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC;YACrD,IAAI,CAAC,QAAQ;gBAAE,SAAS;YACxB,UAAU,CAAC,IAAI,CAAC;gBACd,WAAW,EAAE,MAAM,CAAC,WAAW;gBAC/B,QAAQ,EAAE,QAAkB;gBAC5B,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC;aAC7C,CAAC,CAAC;QACL,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,gFAAgF;IACzE,mBAAmB,CAAC,QAAkB;QAC3C,OAAO,QAAQ,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC;IAC5D,CAAC;CACF"}
1
+ {"version":3,"file":"PostinstallCandidateBuilder.js","names":["path"],"sources":["../../src/commands/PostinstallCandidateBuilder.ts"],"sourcesContent":["import * as path from 'node:path';\nimport type { InstallPlan } from '@uapkg/installer';\nimport type { Lockfile, Manifest } from '@uapkg/package-manifest-schema';\nimport type { CompositionRoot } from '../app/CompositionRoot.js';\nimport type { PostinstallCandidate } from '../postinstall/runner/PostinstallOrchestrator.js';\n\n/**\n * Builds the {@link PostinstallCandidate} list that the postinstall\n * orchestrator consumes after an installer run.\n *\n * Rules:\n * * Only `add` and `update` actions produce candidates (unchanged/remove never run postinstall).\n * * `pluginRoot` is derived from the action's declared install `path` resolved\n * against the manifest root — matching what the extractor wrote to disk.\n * * `registry` is sourced from the lockfile entry; if the lockfile lacks the\n * package (shouldn't happen post-install, but be defensive), the action is\n * dropped.\n *\n * This adapter lives in the CLI rather than in `@uapkg/uapkg/postinstall/`\n * to keep the postinstall subsystem independent of `@uapkg/installer`.\n */\nexport class PostinstallCandidateBuilder {\n public build(\n root: CompositionRoot,\n plan: InstallPlan,\n lockfile: Lockfile,\n installedNames?: ReadonlySet<string>,\n ): PostinstallCandidate[] {\n const lockPackages = lockfile.packages as Record<string, { registry: string }>;\n const candidates: PostinstallCandidate[] = [];\n for (const action of plan.actions) {\n if (action.type !== 'add' && action.type !== 'update') continue;\n // Failed/skipped branches never run postinstall.\n if (installedNames && !installedNames.has(action.packageName)) continue;\n const locked = lockPackages[action.packageName];\n const registry = locked?.registry ?? action.registry;\n if (!registry) continue;\n candidates.push({\n packageName: action.packageName,\n registry: registry as string,\n pluginRoot: path.join(root.cwd, action.path),\n });\n }\n return candidates;\n }\n\n /** Convenience: returns `'project' | 'plugin'` for the orchestrator's input. */\n public resolveManifestType(manifest: Manifest): 'project' | 'plugin' {\n return manifest.kind === 'project' ? 'project' : 'plugin';\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,IAAa,8BAAb,MAAyC;CACvC,AAAO,MACL,MACA,MACA,UACA,gBACwB;EACxB,MAAM,eAAe,SAAS;EAC9B,MAAM,aAAqC,CAAC;EAC5C,KAAK,MAAM,UAAU,KAAK,SAAS;GACjC,IAAI,OAAO,SAAS,SAAS,OAAO,SAAS,UAAU;GAEvD,IAAI,kBAAkB,CAAC,eAAe,IAAI,OAAO,WAAW,GAAG;GAE/D,MAAM,WADS,aAAa,OAAO,YACZ,EAAE,YAAY,OAAO;GAC5C,IAAI,CAAC,UAAU;GACf,WAAW,KAAK;IACd,aAAa,OAAO;IACV;IACV,YAAYA,OAAK,KAAK,KAAK,KAAK,OAAO,IAAI;GAC7C,CAAC;EACH;EACA,OAAO;CACT;;CAGA,AAAO,oBAAoB,UAA0C;EACnE,OAAO,SAAS,SAAS,YAAY,YAAY;CACnD;AACF"}
@@ -1,14 +1,17 @@
1
- import type { CompositionRoot } from '../app/CompositionRoot.js';
2
- import type { Command } from './Command.js';
1
+ import { CompositionRoot } from "../app/CompositionRoot.js";
2
+ import { Command } from "./Command.js";
3
+ //#region src/commands/ProjectGetNameCommand.d.ts
3
4
  /**
4
5
  * Options for {@link ProjectGetNameCommand}. Reserved for future expansion
5
6
  * (e.g. alternate output format); today the command is fully parameterized
6
7
  * by {@link CompositionRoot}.
7
8
  */
8
- export type ProjectGetNameCommandOptions = Record<string, never>;
9
- export declare class ProjectGetNameCommand implements Command {
10
- private readonly root;
11
- constructor(root: CompositionRoot);
12
- execute(): Promise<number>;
9
+ type ProjectGetNameCommandOptions = Record<string, never>;
10
+ declare class ProjectGetNameCommand implements Command {
11
+ private readonly root;
12
+ constructor(root: CompositionRoot);
13
+ execute(): Promise<number>;
13
14
  }
15
+ //#endregion
16
+ export { ProjectGetNameCommand, ProjectGetNameCommandOptions };
14
17
  //# sourceMappingURL=ProjectGetNameCommand.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectGetNameCommand.d.ts","sourceRoot":"","sources":["../../src/commands/ProjectGetNameCommand.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAQjE,qBAAa,qBAAsB,YAAW,OAAO;IAChC,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,eAAe;IAE5C,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC;CAaxC"}
1
+ {"version":3,"file":"ProjectGetNameCommand.d.ts","names":[],"sources":["../../src/commands/ProjectGetNameCommand.ts"],"mappings":";;;;;;;;KASY,+BAA+B;cAQ9B,iCAAiC;mBACR;EAApC,YAAoC,MAAM;EAE7B,WAAW"}
@@ -1,26 +1,26 @@
1
- import { ManifestReader } from '@uapkg/package-manifest';
2
- // ---------------------------------------------------------------------------
3
- // ProjectGetNameCommand — prints the `name` field of the current project
4
- // manifest to stdout. Fails with exit code 1 if the manifest is absent, not
5
- // a project, or invalid. Intended for shell wrapping in CI scripts.
6
- // ---------------------------------------------------------------------------
7
- export class ProjectGetNameCommand {
8
- root;
9
- constructor(root) {
10
- this.root = root;
11
- }
12
- async execute() {
13
- const result = await new ManifestReader().read(this.root.cwd);
14
- if (!result.ok) {
15
- this.root.diagnostics.reportAll(result.diagnostics);
16
- return 1;
17
- }
18
- if (result.value.kind !== 'project') {
19
- process.stderr.write(`[uapkg] Expected manifest kind 'project', received '${result.value.kind}'\n`);
20
- return 1;
21
- }
22
- process.stdout.write(`${String(result.value.name)}\n`);
23
- return 0;
24
- }
25
- }
1
+ import { ManifestReader } from "@uapkg/package-manifest";
2
+
3
+ //#region src/commands/ProjectGetNameCommand.ts
4
+ var ProjectGetNameCommand = class {
5
+ root;
6
+ constructor(root) {
7
+ this.root = root;
8
+ }
9
+ async execute() {
10
+ const result = await new ManifestReader().read(this.root.cwd);
11
+ if (!result.ok) {
12
+ this.root.diagnostics.reportAll(result.diagnostics);
13
+ return 1;
14
+ }
15
+ if (result.value.kind !== "project") {
16
+ process.stderr.write(`[uapkg] Expected manifest kind 'project', received '${result.value.kind}'\n`);
17
+ return 1;
18
+ }
19
+ process.stdout.write(`${String(result.value.name)}\n`);
20
+ return 0;
21
+ }
22
+ };
23
+
24
+ //#endregion
25
+ export { ProjectGetNameCommand };
26
26
  //# sourceMappingURL=ProjectGetNameCommand.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectGetNameCommand.js","sourceRoot":"","sources":["../../src/commands/ProjectGetNameCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAWzD,8EAA8E;AAC9E,yEAAyE;AACzE,4EAA4E;AAC5E,oEAAoE;AACpE,8EAA8E;AAE9E,MAAM,OAAO,qBAAqB;IACI;IAApC,YAAoC,IAAqB;QAArB,SAAI,GAAJ,IAAI,CAAiB;IAAG,CAAC;IAEtD,KAAK,CAAC,OAAO;QAClB,MAAM,MAAM,GAAG,MAAM,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9D,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;YACpD,OAAO,CAAC,CAAC;QACX,CAAC;QACD,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,uDAAuD,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC;YACpG,OAAO,CAAC,CAAC;QACX,CAAC;QACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvD,OAAO,CAAC,CAAC;IACX,CAAC;CACF"}
1
+ {"version":3,"file":"ProjectGetNameCommand.js","names":[],"sources":["../../src/commands/ProjectGetNameCommand.ts"],"sourcesContent":["import { ManifestReader } from '@uapkg/package-manifest';\nimport type { CompositionRoot } from '../app/CompositionRoot.js';\nimport type { Command } from './Command.js';\n\n/**\n * Options for {@link ProjectGetNameCommand}. Reserved for future expansion\n * (e.g. alternate output format); today the command is fully parameterized\n * by {@link CompositionRoot}.\n */\nexport type ProjectGetNameCommandOptions = Record<string, never>;\n\n// ---------------------------------------------------------------------------\n// ProjectGetNameCommand — prints the `name` field of the current project\n// manifest to stdout. Fails with exit code 1 if the manifest is absent, not\n// a project, or invalid. Intended for shell wrapping in CI scripts.\n// ---------------------------------------------------------------------------\n\nexport class ProjectGetNameCommand implements Command {\n public constructor(private readonly root: CompositionRoot) {}\n\n public async execute(): Promise<number> {\n const result = await new ManifestReader().read(this.root.cwd);\n if (!result.ok) {\n this.root.diagnostics.reportAll(result.diagnostics);\n return 1;\n }\n if (result.value.kind !== 'project') {\n process.stderr.write(`[uapkg] Expected manifest kind 'project', received '${result.value.kind}'\\n`);\n return 1;\n }\n process.stdout.write(`${String(result.value.name)}\\n`);\n return 0;\n }\n}\n"],"mappings":";;;AAiBA,IAAa,wBAAb,MAAsD;CAChB;CAApC,AAAO,YAAY,AAAiB,MAAuB;EAAvB;CAAwB;CAE5D,MAAa,UAA2B;EACtC,MAAM,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,KAAK,KAAK,KAAK,GAAG;EAC5D,IAAI,CAAC,OAAO,IAAI;GACd,KAAK,KAAK,YAAY,UAAU,OAAO,WAAW;GAClD,OAAO;EACT;EACA,IAAI,OAAO,MAAM,SAAS,WAAW;GACnC,QAAQ,OAAO,MAAM,uDAAuD,OAAO,MAAM,KAAK,IAAI;GAClG,OAAO;EACT;EACA,QAAQ,OAAO,MAAM,GAAG,OAAO,OAAO,MAAM,IAAI,EAAE,GAAG;EACrD,OAAO;CACT;AACF"}
@@ -1,17 +1,19 @@
1
- import type { CompositionRoot } from '../app/CompositionRoot.js';
2
- import type { UAPKGOutputFormat } from '../cli/UAPKGCommandLine.js';
3
- import { type ControlPlaneAuthMode } from '../control-plane/ControlPlaneTypes.js';
4
- import type { Command } from './Command.js';
5
- export interface PublishCommandOptions {
6
- readonly registry?: string;
7
- readonly owner?: string;
8
- readonly repository?: string;
9
- readonly tag?: string;
10
- readonly asset?: string;
11
- readonly assetPath?: string;
12
- readonly auth: ControlPlaneAuthMode;
13
- readonly detach: boolean;
14
- readonly outputFormat: UAPKGOutputFormat;
1
+ import { ControlPlaneAuthMode } from "../control-plane/ControlPlaneTypes.js";
2
+ import { CompositionRoot } from "../app/CompositionRoot.js";
3
+ import { UAPKGOutputFormat } from "../cli/UAPKGCommandLine.js";
4
+ import { Command } from "./Command.js";
5
+ import { RegistryType } from "@uapkg/registry-schema";
6
+ //#region src/commands/PublishCommand.d.ts
7
+ interface PublishCommandOptions {
8
+ readonly registry?: string;
9
+ readonly owner?: string;
10
+ readonly repository?: string;
11
+ readonly tag?: string;
12
+ readonly asset?: string;
13
+ readonly assetPath?: string;
14
+ readonly auth: ControlPlaneAuthMode;
15
+ readonly detach: boolean;
16
+ readonly outputFormat: UAPKGOutputFormat;
15
17
  }
16
18
  /**
17
19
  * Artifact-first publish (PS-REQ-002): the CLI observes the exact release
@@ -19,14 +21,18 @@ export interface PublishCommandOptions {
19
21
  * submits the route-derived publish operation. The packaged archive — never
20
22
  * the working tree — is what gets published.
21
23
  */
22
- export declare class PublishCommand implements Command {
23
- private readonly root;
24
- private readonly options;
25
- constructor(root: CompositionRoot, options: PublishCommandOptions);
26
- execute(): Promise<number>;
27
- private resolveSource;
28
- private gitOrigin;
29
- private printCreated;
30
- private printTerminal;
24
+ declare class PublishCommand implements Command {
25
+ private readonly root;
26
+ private readonly options;
27
+ constructor(root: CompositionRoot, options: PublishCommandOptions);
28
+ execute(): Promise<number>;
29
+ private resolveSource;
30
+ private gitOrigin;
31
+ private printCreated;
32
+ private printTerminal;
31
33
  }
34
+ /** Reads the installer-trusted registry type from the projected registry snapshot. */
35
+ declare function readTrustedRegistryType(cacheShortId: string): Promise<RegistryType>;
36
+ //#endregion
37
+ export { PublishCommand, PublishCommandOptions, readTrustedRegistryType };
32
38
  //# sourceMappingURL=PublishCommand.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublishCommand.d.ts","sourceRoot":"","sources":["../../src/commands/PublishCommand.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAKpE,OAAO,EACL,KAAK,oBAAoB,EAI1B,MAAM,uCAAuC,CAAC;AAG/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAY5C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAAC;CAC1C;AAED;;;;;GAKG;AACH,qBAAa,cAAe,YAAW,OAAO;IAE1C,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,qBAAqB;IAGpC,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC;YAgJzB,aAAa;YA0Bb,SAAS;IAevB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,aAAa;CAwBtB"}
1
+ {"version":3,"file":"PublishCommand.d.ts","names":[],"sources":["../../src/commands/PublishCommand.ts"],"mappings":";;;;;;UAsCiB;WACN;WACA;WACA;WACA;WACA;WACA;WACA,MAAM;WACN;WACA,cAAc;;;;;;;;cASZ,0BAA0B;mBAElB;mBACA;EAFnB,YACmB,MAAM,iBACN,SAAS;EAGf,WAAW;UAkLV;UA0BA;UAeN;UAQA;;;iBAcY,wBAAwB,uBAAuB,QAAQ"}