@endora-commerce/cli 0.100.0

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 (356) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -0
  3. package/dist/bin/endora.d.ts +28 -0
  4. package/dist/bin/endora.d.ts.map +1 -0
  5. package/dist/bin/endora.js +926 -0
  6. package/dist/bin/endora.js.map +1 -0
  7. package/dist/check/estate.d.ts +189 -0
  8. package/dist/check/estate.d.ts.map +1 -0
  9. package/dist/check/estate.js +1037 -0
  10. package/dist/check/estate.js.map +1 -0
  11. package/dist/check/hosts.d.ts +25 -0
  12. package/dist/check/hosts.d.ts.map +1 -0
  13. package/dist/check/hosts.js +1347 -0
  14. package/dist/check/hosts.js.map +1 -0
  15. package/dist/check/index.d.ts +60 -0
  16. package/dist/check/index.d.ts.map +1 -0
  17. package/dist/check/index.js +111 -0
  18. package/dist/check/index.js.map +1 -0
  19. package/dist/check/layout.d.ts +136 -0
  20. package/dist/check/layout.d.ts.map +1 -0
  21. package/dist/check/layout.js +262 -0
  22. package/dist/check/layout.js.map +1 -0
  23. package/dist/check/ledger.d.ts +98 -0
  24. package/dist/check/ledger.d.ts.map +1 -0
  25. package/dist/check/ledger.js +173 -0
  26. package/dist/check/ledger.js.map +1 -0
  27. package/dist/check/peer-owners.d.ts +116 -0
  28. package/dist/check/peer-owners.d.ts.map +1 -0
  29. package/dist/check/peer-owners.js +225 -0
  30. package/dist/check/peer-owners.js.map +1 -0
  31. package/dist/check/report.d.ts +33 -0
  32. package/dist/check/report.d.ts.map +1 -0
  33. package/dist/check/report.js +107 -0
  34. package/dist/check/report.js.map +1 -0
  35. package/dist/check/run.d.ts +147 -0
  36. package/dist/check/run.d.ts.map +1 -0
  37. package/dist/check/run.js +111 -0
  38. package/dist/check/run.js.map +1 -0
  39. package/dist/checks.d.ts +17 -0
  40. package/dist/checks.d.ts.map +1 -0
  41. package/dist/checks.js +17 -0
  42. package/dist/checks.js.map +1 -0
  43. package/dist/dev/index.d.ts +83 -0
  44. package/dist/dev/index.d.ts.map +1 -0
  45. package/dist/dev/index.js +298 -0
  46. package/dist/dev/index.js.map +1 -0
  47. package/dist/generate/divergence.d.ts +38 -0
  48. package/dist/generate/divergence.d.ts.map +1 -0
  49. package/dist/generate/divergence.js +237 -0
  50. package/dist/generate/divergence.js.map +1 -0
  51. package/dist/generate/index.d.ts +90 -0
  52. package/dist/generate/index.d.ts.map +1 -0
  53. package/dist/generate/index.js +369 -0
  54. package/dist/generate/index.js.map +1 -0
  55. package/dist/index.d.ts +23 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +35 -0
  58. package/dist/index.js.map +1 -0
  59. package/dist/inputs/declaration.d.ts +18 -0
  60. package/dist/inputs/declaration.d.ts.map +1 -0
  61. package/dist/inputs/declaration.js +64 -0
  62. package/dist/inputs/declaration.js.map +1 -0
  63. package/dist/inputs/env-file.d.ts +73 -0
  64. package/dist/inputs/env-file.d.ts.map +1 -0
  65. package/dist/inputs/env-file.js +134 -0
  66. package/dist/inputs/env-file.js.map +1 -0
  67. package/dist/inputs/prompt.d.ts +21 -0
  68. package/dist/inputs/prompt.d.ts.map +1 -0
  69. package/dist/inputs/prompt.js +59 -0
  70. package/dist/inputs/prompt.js.map +1 -0
  71. package/dist/inputs/resolve.d.ts +163 -0
  72. package/dist/inputs/resolve.d.ts.map +1 -0
  73. package/dist/inputs/resolve.js +290 -0
  74. package/dist/inputs/resolve.js.map +1 -0
  75. package/dist/install/host.d.ts +27 -0
  76. package/dist/install/host.d.ts.map +1 -0
  77. package/dist/install/host.js +90 -0
  78. package/dist/install/host.js.map +1 -0
  79. package/dist/install/index.d.ts +173 -0
  80. package/dist/install/index.d.ts.map +1 -0
  81. package/dist/install/index.js +793 -0
  82. package/dist/install/index.js.map +1 -0
  83. package/dist/install/wizard.d.ts +144 -0
  84. package/dist/install/wizard.d.ts.map +1 -0
  85. package/dist/install/wizard.js +362 -0
  86. package/dist/install/wizard.js.map +1 -0
  87. package/dist/lib/admin-artefacts.d.ts +70 -0
  88. package/dist/lib/admin-artefacts.d.ts.map +1 -0
  89. package/dist/lib/admin-artefacts.js +354 -0
  90. package/dist/lib/admin-artefacts.js.map +1 -0
  91. package/dist/lib/admin-surfaces.d.ts +298 -0
  92. package/dist/lib/admin-surfaces.d.ts.map +1 -0
  93. package/dist/lib/admin-surfaces.js +669 -0
  94. package/dist/lib/admin-surfaces.js.map +1 -0
  95. package/dist/lib/delegated-composer.d.ts +85 -0
  96. package/dist/lib/delegated-composer.d.ts.map +1 -0
  97. package/dist/lib/delegated-composer.js +241 -0
  98. package/dist/lib/delegated-composer.js.map +1 -0
  99. package/dist/lib/divergence-artefacts.d.ts +305 -0
  100. package/dist/lib/divergence-artefacts.d.ts.map +1 -0
  101. package/dist/lib/divergence-artefacts.js +828 -0
  102. package/dist/lib/divergence-artefacts.js.map +1 -0
  103. package/dist/lib/divergence.d.ts +337 -0
  104. package/dist/lib/divergence.d.ts.map +1 -0
  105. package/dist/lib/divergence.js +1005 -0
  106. package/dist/lib/divergence.js.map +1 -0
  107. package/dist/lib/docs-artefacts.d.ts +395 -0
  108. package/dist/lib/docs-artefacts.d.ts.map +1 -0
  109. package/dist/lib/docs-artefacts.js +781 -0
  110. package/dist/lib/docs-artefacts.js.map +1 -0
  111. package/dist/lib/emitted-exports.d.ts +21 -0
  112. package/dist/lib/emitted-exports.d.ts.map +1 -0
  113. package/dist/lib/emitted-exports.js +96 -0
  114. package/dist/lib/emitted-exports.js.map +1 -0
  115. package/dist/lib/emitted-freshness.d.ts +112 -0
  116. package/dist/lib/emitted-freshness.d.ts.map +1 -0
  117. package/dist/lib/emitted-freshness.js +288 -0
  118. package/dist/lib/emitted-freshness.js.map +1 -0
  119. package/dist/lib/entity-index-artefact.d.ts +95 -0
  120. package/dist/lib/entity-index-artefact.d.ts.map +1 -0
  121. package/dist/lib/entity-index-artefact.js +210 -0
  122. package/dist/lib/entity-index-artefact.js.map +1 -0
  123. package/dist/lib/instance-build-inputs.d.ts +108 -0
  124. package/dist/lib/instance-build-inputs.d.ts.map +1 -0
  125. package/dist/lib/instance-build-inputs.js +165 -0
  126. package/dist/lib/instance-build-inputs.js.map +1 -0
  127. package/dist/lib/module-docs.d.ts +473 -0
  128. package/dist/lib/module-docs.d.ts.map +1 -0
  129. package/dist/lib/module-docs.js +711 -0
  130. package/dist/lib/module-docs.js.map +1 -0
  131. package/dist/lib/module-package-subpaths.d.ts +56 -0
  132. package/dist/lib/module-package-subpaths.d.ts.map +1 -0
  133. package/dist/lib/module-package-subpaths.js +223 -0
  134. package/dist/lib/module-package-subpaths.js.map +1 -0
  135. package/dist/lib/module-packages.d.ts +200 -0
  136. package/dist/lib/module-packages.d.ts.map +1 -0
  137. package/dist/lib/module-packages.js +580 -0
  138. package/dist/lib/module-packages.js.map +1 -0
  139. package/dist/lib/module-population.d.ts +129 -0
  140. package/dist/lib/module-population.d.ts.map +1 -0
  141. package/dist/lib/module-population.js +172 -0
  142. package/dist/lib/module-population.js.map +1 -0
  143. package/dist/lib/module-roots.d.ts +337 -0
  144. package/dist/lib/module-roots.d.ts.map +1 -0
  145. package/dist/lib/module-roots.js +586 -0
  146. package/dist/lib/module-roots.js.map +1 -0
  147. package/dist/lib/nested-checkouts.d.ts +33 -0
  148. package/dist/lib/nested-checkouts.d.ts.map +1 -0
  149. package/dist/lib/nested-checkouts.js +160 -0
  150. package/dist/lib/nested-checkouts.js.map +1 -0
  151. package/dist/lib/platform-root.d.ts +43 -0
  152. package/dist/lib/platform-root.d.ts.map +1 -0
  153. package/dist/lib/platform-root.js +134 -0
  154. package/dist/lib/platform-root.js.map +1 -0
  155. package/dist/lib/platform-surface.d.ts +235 -0
  156. package/dist/lib/platform-surface.d.ts.map +1 -0
  157. package/dist/lib/platform-surface.js +393 -0
  158. package/dist/lib/platform-surface.js.map +1 -0
  159. package/dist/lib/port-registrations.d.ts +223 -0
  160. package/dist/lib/port-registrations.d.ts.map +1 -0
  161. package/dist/lib/port-registrations.js +532 -0
  162. package/dist/lib/port-registrations.js.map +1 -0
  163. package/dist/lib/read-size.d.ts +154 -0
  164. package/dist/lib/read-size.d.ts.map +1 -0
  165. package/dist/lib/read-size.js +182 -0
  166. package/dist/lib/read-size.js.map +1 -0
  167. package/dist/lib/registration-owners.d.ts +79 -0
  168. package/dist/lib/registration-owners.d.ts.map +1 -0
  169. package/dist/lib/registration-owners.js +77 -0
  170. package/dist/lib/registration-owners.js.map +1 -0
  171. package/dist/lib/release-index.d.ts +53 -0
  172. package/dist/lib/release-index.d.ts.map +1 -0
  173. package/dist/lib/release-index.js +162 -0
  174. package/dist/lib/release-index.js.map +1 -0
  175. package/dist/lib/repeating-timers.d.ts +79 -0
  176. package/dist/lib/repeating-timers.d.ts.map +1 -0
  177. package/dist/lib/repeating-timers.js +189 -0
  178. package/dist/lib/repeating-timers.js.map +1 -0
  179. package/dist/lib/source-text.d.ts +34 -0
  180. package/dist/lib/source-text.d.ts.map +1 -0
  181. package/dist/lib/source-text.js +80 -0
  182. package/dist/lib/source-text.js.map +1 -0
  183. package/dist/lib/specifiers.d.ts +20 -0
  184. package/dist/lib/specifiers.d.ts.map +1 -0
  185. package/dist/lib/specifiers.js +130 -0
  186. package/dist/lib/specifiers.js.map +1 -0
  187. package/dist/lib/sql-tables.d.ts +166 -0
  188. package/dist/lib/sql-tables.d.ts.map +1 -0
  189. package/dist/lib/sql-tables.js +464 -0
  190. package/dist/lib/sql-tables.js.map +1 -0
  191. package/dist/lib/switchable-modules.d.ts +54 -0
  192. package/dist/lib/switchable-modules.d.ts.map +1 -0
  193. package/dist/lib/switchable-modules.js +104 -0
  194. package/dist/lib/switchable-modules.js.map +1 -0
  195. package/dist/lib/tailwind-sources.d.ts +136 -0
  196. package/dist/lib/tailwind-sources.d.ts.map +1 -0
  197. package/dist/lib/tailwind-sources.js +307 -0
  198. package/dist/lib/tailwind-sources.js.map +1 -0
  199. package/dist/lib/ui-layer.d.ts +54 -0
  200. package/dist/lib/ui-layer.d.ts.map +1 -0
  201. package/dist/lib/ui-layer.js +57 -0
  202. package/dist/lib/ui-layer.js.map +1 -0
  203. package/dist/lib/workspace-packages.d.ts +186 -0
  204. package/dist/lib/workspace-packages.d.ts.map +1 -0
  205. package/dist/lib/workspace-packages.js +351 -0
  206. package/dist/lib/workspace-packages.js.map +1 -0
  207. package/dist/new-instance/deploy.d.ts +211 -0
  208. package/dist/new-instance/deploy.d.ts.map +1 -0
  209. package/dist/new-instance/deploy.js +1381 -0
  210. package/dist/new-instance/deploy.js.map +1 -0
  211. package/dist/new-instance/docs-toolchain.d.ts +66 -0
  212. package/dist/new-instance/docs-toolchain.d.ts.map +1 -0
  213. package/dist/new-instance/docs-toolchain.js +69 -0
  214. package/dist/new-instance/docs-toolchain.js.map +1 -0
  215. package/dist/new-instance/host.d.ts +124 -0
  216. package/dist/new-instance/host.d.ts.map +1 -0
  217. package/dist/new-instance/host.js +276 -0
  218. package/dist/new-instance/host.js.map +1 -0
  219. package/dist/new-instance/index.d.ts +118 -0
  220. package/dist/new-instance/index.d.ts.map +1 -0
  221. package/dist/new-instance/index.js +567 -0
  222. package/dist/new-instance/index.js.map +1 -0
  223. package/dist/new-instance/modules.d.ts +188 -0
  224. package/dist/new-instance/modules.d.ts.map +1 -0
  225. package/dist/new-instance/modules.js +392 -0
  226. package/dist/new-instance/modules.js.map +1 -0
  227. package/dist/new-instance/template.d.ts +505 -0
  228. package/dist/new-instance/template.d.ts.map +1 -0
  229. package/dist/new-instance/template.js +1886 -0
  230. package/dist/new-instance/template.js.map +1 -0
  231. package/dist/new-module/emit.d.ts +67 -0
  232. package/dist/new-module/emit.d.ts.map +1 -0
  233. package/dist/new-module/emit.js +1393 -0
  234. package/dist/new-module/emit.js.map +1 -0
  235. package/dist/new-module/host.d.ts +67 -0
  236. package/dist/new-module/host.d.ts.map +1 -0
  237. package/dist/new-module/host.js +224 -0
  238. package/dist/new-module/host.js.map +1 -0
  239. package/dist/new-module/index.d.ts +32 -0
  240. package/dist/new-module/index.d.ts.map +1 -0
  241. package/dist/new-module/index.js +193 -0
  242. package/dist/new-module/index.js.map +1 -0
  243. package/dist/new-module/spec.d.ts +188 -0
  244. package/dist/new-module/spec.d.ts.map +1 -0
  245. package/dist/new-module/spec.js +404 -0
  246. package/dist/new-module/spec.js.map +1 -0
  247. package/dist/new-module/text.d.ts +15 -0
  248. package/dist/new-module/text.d.ts.map +1 -0
  249. package/dist/new-module/text.js +22 -0
  250. package/dist/new-module/text.js.map +1 -0
  251. package/dist/new-storefront/dockerfile.d.ts +20 -0
  252. package/dist/new-storefront/dockerfile.d.ts.map +1 -0
  253. package/dist/new-storefront/dockerfile.js +131 -0
  254. package/dist/new-storefront/dockerfile.js.map +1 -0
  255. package/dist/new-storefront/gitignore.d.ts +23 -0
  256. package/dist/new-storefront/gitignore.d.ts.map +1 -0
  257. package/dist/new-storefront/gitignore.js +39 -0
  258. package/dist/new-storefront/gitignore.js.map +1 -0
  259. package/dist/new-storefront/index.d.ts +93 -0
  260. package/dist/new-storefront/index.d.ts.map +1 -0
  261. package/dist/new-storefront/index.js +329 -0
  262. package/dist/new-storefront/index.js.map +1 -0
  263. package/dist/new-storefront/npmrc.d.ts +98 -0
  264. package/dist/new-storefront/npmrc.d.ts.map +1 -0
  265. package/dist/new-storefront/npmrc.js +217 -0
  266. package/dist/new-storefront/npmrc.js.map +1 -0
  267. package/dist/new-storefront/reference.d.ts +189 -0
  268. package/dist/new-storefront/reference.d.ts.map +1 -0
  269. package/dist/new-storefront/reference.js +430 -0
  270. package/dist/new-storefront/reference.js.map +1 -0
  271. package/dist/new-storefront/rewrite.d.ts +171 -0
  272. package/dist/new-storefront/rewrite.d.ts.map +1 -0
  273. package/dist/new-storefront/rewrite.js +701 -0
  274. package/dist/new-storefront/rewrite.js.map +1 -0
  275. package/dist/release-index.json +284 -0
  276. package/dist/rules/action-route-permissions.d.ts +141 -0
  277. package/dist/rules/action-route-permissions.d.ts.map +1 -0
  278. package/dist/rules/action-route-permissions.js +556 -0
  279. package/dist/rules/action-route-permissions.js.map +1 -0
  280. package/dist/rules/bundle-pairing.d.ts +74 -0
  281. package/dist/rules/bundle-pairing.d.ts.map +1 -0
  282. package/dist/rules/bundle-pairing.js +281 -0
  283. package/dist/rules/bundle-pairing.js.map +1 -0
  284. package/dist/rules/channel-resolution.d.ts +17 -0
  285. package/dist/rules/channel-resolution.d.ts.map +1 -0
  286. package/dist/rules/channel-resolution.js +382 -0
  287. package/dist/rules/channel-resolution.js.map +1 -0
  288. package/dist/rules/command-coverage.d.ts +210 -0
  289. package/dist/rules/command-coverage.d.ts.map +1 -0
  290. package/dist/rules/command-coverage.js +714 -0
  291. package/dist/rules/command-coverage.js.map +1 -0
  292. package/dist/rules/container-imports.d.ts +60 -0
  293. package/dist/rules/container-imports.d.ts.map +1 -0
  294. package/dist/rules/container-imports.js +158 -0
  295. package/dist/rules/container-imports.js.map +1 -0
  296. package/dist/rules/default-language-prose.d.ts +212 -0
  297. package/dist/rules/default-language-prose.d.ts.map +1 -0
  298. package/dist/rules/default-language-prose.js +710 -0
  299. package/dist/rules/default-language-prose.js.map +1 -0
  300. package/dist/rules/diacritic-folds.d.ts +238 -0
  301. package/dist/rules/diacritic-folds.d.ts.map +1 -0
  302. package/dist/rules/diacritic-folds.js +681 -0
  303. package/dist/rules/diacritic-folds.js.map +1 -0
  304. package/dist/rules/entity-tenant-classification.d.ts +171 -0
  305. package/dist/rules/entity-tenant-classification.d.ts.map +1 -0
  306. package/dist/rules/entity-tenant-classification.js +323 -0
  307. package/dist/rules/entity-tenant-classification.js.map +1 -0
  308. package/dist/rules/entry-presence.d.ts +142 -0
  309. package/dist/rules/entry-presence.d.ts.map +1 -0
  310. package/dist/rules/entry-presence.js +339 -0
  311. package/dist/rules/entry-presence.js.map +1 -0
  312. package/dist/rules/entry-scope.d.ts +91 -0
  313. package/dist/rules/entry-scope.d.ts.map +1 -0
  314. package/dist/rules/entry-scope.js +404 -0
  315. package/dist/rules/entry-scope.js.map +1 -0
  316. package/dist/rules/env-inputs.d.ts +222 -0
  317. package/dist/rules/env-inputs.d.ts.map +1 -0
  318. package/dist/rules/env-inputs.js +951 -0
  319. package/dist/rules/env-inputs.js.map +1 -0
  320. package/dist/rules/kernel-boundary.d.ts +37 -0
  321. package/dist/rules/kernel-boundary.d.ts.map +1 -0
  322. package/dist/rules/kernel-boundary.js +195 -0
  323. package/dist/rules/kernel-boundary.js.map +1 -0
  324. package/dist/rules/nul-bytes.d.ts +233 -0
  325. package/dist/rules/nul-bytes.d.ts.map +1 -0
  326. package/dist/rules/nul-bytes.js +332 -0
  327. package/dist/rules/nul-bytes.js.map +1 -0
  328. package/dist/rules/platform-surface.d.ts +479 -0
  329. package/dist/rules/platform-surface.d.ts.map +1 -0
  330. package/dist/rules/platform-surface.js +749 -0
  331. package/dist/rules/platform-surface.js.map +1 -0
  332. package/dist/rules/port-catches.d.ts +225 -0
  333. package/dist/rules/port-catches.d.ts.map +1 -0
  334. package/dist/rules/port-catches.js +1374 -0
  335. package/dist/rules/port-catches.js.map +1 -0
  336. package/dist/rules/port-shape.d.ts +213 -0
  337. package/dist/rules/port-shape.d.ts.map +1 -0
  338. package/dist/rules/port-shape.js +670 -0
  339. package/dist/rules/port-shape.js.map +1 -0
  340. package/dist/rules/queue-names.d.ts +108 -0
  341. package/dist/rules/queue-names.d.ts.map +1 -0
  342. package/dist/rules/queue-names.js +395 -0
  343. package/dist/rules/queue-names.js.map +1 -0
  344. package/dist/rules/singleton-identity.d.ts +205 -0
  345. package/dist/rules/singleton-identity.d.ts.map +1 -0
  346. package/dist/rules/singleton-identity.js +830 -0
  347. package/dist/rules/singleton-identity.js.map +1 -0
  348. package/dist/rules/subscribe-seam.d.ts +121 -0
  349. package/dist/rules/subscribe-seam.d.ts.map +1 -0
  350. package/dist/rules/subscribe-seam.js +594 -0
  351. package/dist/rules/subscribe-seam.js.map +1 -0
  352. package/dist/rules/transaction-context.d.ts +40 -0
  353. package/dist/rules/transaction-context.d.ts.map +1 -0
  354. package/dist/rules/transaction-context.js +294 -0
  355. package/dist/rules/transaction-context.js.map +1 -0
  356. package/package.json +59 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/new-instance/deploy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,OAAO,EAAE,cAAc,EAAyB,MAAM,4BAA4B,CAAC;AAEnF,OAAO,EACL,aAAa,EACb,cAAc,GAEf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAM/C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,aAAa,EAAE,YAAY,CAAwC,CAAC;AAE/F,sDAAsD;AACtD,MAAM,CAAC,MAAM,gBAAgB,GAAa,aAAa,CAAC;AAExD;;;;;;;;GAQG;AACH,MAAM,UAAU,cAAc,CAAC,KAAa;IAC1C,IAAK,UAAgC,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,KAAiB,CAAC;IAChF,MAAM,IAAI,kBAAkB,CAC1B,IAAI,EACJ,gBAAgB,KAAK,iEAAiE;QACpF,UAAU,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,qDAAqD;QACrF,mFAAmF;QACnF,sEAAsE,CACzE,CAAC;AACJ,CAAC;AAiED,MAAM,KAAK,GAAG,CAAC,MAAc,EAAU,EAAE,CACvC,iCAAiC,MAAM,wBAAwB,CAAC;AAElE;;;;;;;;;;;GAWG;AACH,MAAM,mBAAmB,GAAsB;IAC7C,6BAA6B;IAC7B,wBAAwB;IACxB,iCAAiC;IACjC,gBAAgB;IAChB,iGAAiG;IACjG,iCAAiC;IACjC,4CAA4C;IAC5C,4CAA4C;IAC5C,wEAAwE;IACxE,8EAA8E;IAC9E,oDAAoD;IACpD,6CAA6C;IAC7C,8CAA8C;IAC9C,qD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,6EAA6E;QAC7E,+DAA+D;KAChE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * The documentation toolchain an instance's `docs/` member is written with
3
+ * (`contracts/instance-tree.md` §2.4a; `specs/110-instance-repository/` T137).
4
+ *
5
+ * ## Why this is a declaration and not a derivation
6
+ *
7
+ * Every other range `endora new instance` writes is read off a manifest the run
8
+ * resolved (R2.5a): the four platform peers come from
9
+ * `@endora-commerce/platform`'s own `peerDependencies`, the admin member's build
10
+ * tools from `@endora-commerce/admin-shell`'s optional peers, `typescript` from
11
+ * the CLI's own manifest. That works because in each case a package **owns** the
12
+ * statement — *"a host that mounts me is a Vite application"* is the shell's to
13
+ * make.
14
+ *
15
+ * Nothing in the estate owns a statement about Docusaurus. No module package
16
+ * peers on it, the platform does not, and the admin shell does not. Two
17
+ * candidates were tried and both were wrong:
18
+ *
19
+ * * **an optional `peerDependencies` entry on `@endora-commerce/cli`**, which
20
+ * is the shell's mechanism asked of the package that renders the
21
+ * navigation. Measured, and rejected on the measurement: pnpm's
22
+ * `auto-install-peers` is on by default and **installs an optional peer**
23
+ * — `packages/cli/node_modules/@docusaurus/` appeared after one
24
+ * `pnpm install --frozen-lockfile`, and 279 lines of lockfile moved with
25
+ * it. An instance's admin member declares this CLI as a `devDependency`, so
26
+ * every client with an operator interface and no documentation site would
27
+ * have installed a documentation toolchain;
28
+ * * **a `devDependencies` entry**, which a consumer never installs and which
29
+ * would be a range this package neither builds nor tests with — true of
30
+ * nothing, and therefore a statement nobody could check.
31
+ *
32
+ * ## So it is declared here, and **reconciled** against the site we build
33
+ *
34
+ * `packages/cli/test/new-instance/docs-toolchain.test.ts` holds every entry
35
+ * below to this repository's own `docs/package.json` in **both** directions.
36
+ * That is the honest owner of the statement: the Docusaurus we ask a client to
37
+ * build their documentation with is the Docusaurus we build ours with, and a
38
+ * bump on one side is a bump on the other in the same merge request. A range
39
+ * that went stale silently is what R2.5a is about; a range a reviewer reads
40
+ * beside its reason, held to a manifest that has to agree with it, is not that.
41
+ *
42
+ * A name removed from `docs/package.json` makes this red rather than making an
43
+ * instance's manifest wrong later — and an entry with no range makes the member
44
+ * an **omission** naming the name, never a guess.
45
+ */
46
+ /** One package the documentation member declares, with the reason it is there. */
47
+ export interface DocsToolchainEntry {
48
+ readonly name: string;
49
+ /** The semver range, held to `docs/package.json`'s by the companion test. */
50
+ readonly range: string;
51
+ /** What the member cannot do without it. */
52
+ readonly why: string;
53
+ }
54
+ /**
55
+ * The two packages — and there are two, deliberately.
56
+ *
57
+ * `react` and `react-dom` are **not** here: `@docusaurus/core` declares both as
58
+ * its own non-optional `peerDependencies`, which pnpm resolves, and declaring
59
+ * them in the member would be a second spelling of a range Docusaurus already
60
+ * owns. The type packages (`@docusaurus/types`, `@docusaurus/tsconfig`,
61
+ * `@docusaurus/module-type-aliases`) are not here either, because §2.4a's
62
+ * configuration files are `.js`: three more ranges to write two object
63
+ * literals with is a trade the member does not make.
64
+ */
65
+ export declare const DOCS_TOOLCHAIN: readonly DocsToolchainEntry[];
66
+ //# sourceMappingURL=docs-toolchain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs-toolchain.d.ts","sourceRoot":"","sources":["../../src/new-instance/docs-toolchain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,kFAAkF;AAClF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,EAAE,SAAS,kBAAkB,EAWvD,CAAC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * The documentation toolchain an instance's `docs/` member is written with
3
+ * (`contracts/instance-tree.md` §2.4a; `specs/110-instance-repository/` T137).
4
+ *
5
+ * ## Why this is a declaration and not a derivation
6
+ *
7
+ * Every other range `endora new instance` writes is read off a manifest the run
8
+ * resolved (R2.5a): the four platform peers come from
9
+ * `@endora-commerce/platform`'s own `peerDependencies`, the admin member's build
10
+ * tools from `@endora-commerce/admin-shell`'s optional peers, `typescript` from
11
+ * the CLI's own manifest. That works because in each case a package **owns** the
12
+ * statement — *"a host that mounts me is a Vite application"* is the shell's to
13
+ * make.
14
+ *
15
+ * Nothing in the estate owns a statement about Docusaurus. No module package
16
+ * peers on it, the platform does not, and the admin shell does not. Two
17
+ * candidates were tried and both were wrong:
18
+ *
19
+ * * **an optional `peerDependencies` entry on `@endora-commerce/cli`**, which
20
+ * is the shell's mechanism asked of the package that renders the
21
+ * navigation. Measured, and rejected on the measurement: pnpm's
22
+ * `auto-install-peers` is on by default and **installs an optional peer**
23
+ * — `packages/cli/node_modules/@docusaurus/` appeared after one
24
+ * `pnpm install --frozen-lockfile`, and 279 lines of lockfile moved with
25
+ * it. An instance's admin member declares this CLI as a `devDependency`, so
26
+ * every client with an operator interface and no documentation site would
27
+ * have installed a documentation toolchain;
28
+ * * **a `devDependencies` entry**, which a consumer never installs and which
29
+ * would be a range this package neither builds nor tests with — true of
30
+ * nothing, and therefore a statement nobody could check.
31
+ *
32
+ * ## So it is declared here, and **reconciled** against the site we build
33
+ *
34
+ * `packages/cli/test/new-instance/docs-toolchain.test.ts` holds every entry
35
+ * below to this repository's own `docs/package.json` in **both** directions.
36
+ * That is the honest owner of the statement: the Docusaurus we ask a client to
37
+ * build their documentation with is the Docusaurus we build ours with, and a
38
+ * bump on one side is a bump on the other in the same merge request. A range
39
+ * that went stale silently is what R2.5a is about; a range a reviewer reads
40
+ * beside its reason, held to a manifest that has to agree with it, is not that.
41
+ *
42
+ * A name removed from `docs/package.json` makes this red rather than making an
43
+ * instance's manifest wrong later — and an entry with no range makes the member
44
+ * an **omission** naming the name, never a guess.
45
+ */
46
+ /**
47
+ * The two packages — and there are two, deliberately.
48
+ *
49
+ * `react` and `react-dom` are **not** here: `@docusaurus/core` declares both as
50
+ * its own non-optional `peerDependencies`, which pnpm resolves, and declaring
51
+ * them in the member would be a second spelling of a range Docusaurus already
52
+ * owns. The type packages (`@docusaurus/types`, `@docusaurus/tsconfig`,
53
+ * `@docusaurus/module-type-aliases`) are not here either, because §2.4a's
54
+ * configuration files are `.js`: three more ranges to write two object
55
+ * literals with is a trade the member does not make.
56
+ */
57
+ export const DOCS_TOOLCHAIN = [
58
+ {
59
+ name: '@docusaurus/core',
60
+ range: '^3.10.2',
61
+ why: 'the site itself — the build, the router and the sidebar it is handed',
62
+ },
63
+ {
64
+ name: '@docusaurus/preset-classic',
65
+ range: '^3.10.2',
66
+ why: "the `'classic'` preset the configuration names, which is what makes the docs plugin, the theme and the search available",
67
+ },
68
+ ];
69
+ //# sourceMappingURL=docs-toolchain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs-toolchain.js","sourceRoot":"","sources":["../../src/new-instance/docs-toolchain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAWH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,SAAS;QAChB,GAAG,EAAE,sEAAsE;KAC5E;IACD;QACE,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,SAAS;QAChB,GAAG,EAAE,yHAAyH;KAC/H;CACF,CAAC"}
@@ -0,0 +1,124 @@
1
+ /** A refusal the operator can act on — F1…F4, exit `1`. */
2
+ export declare class InstanceInputError extends Error {
3
+ readonly name = "InstanceInputError";
4
+ /** The refusal class from `instance-tree.md` §4, so a test asserts the class. */
5
+ readonly refusal: 'F1' | 'F2' | 'F3' | 'F4' | 'F10' | 'F11';
6
+ constructor(refusal: 'F1' | 'F2' | 'F3' | 'F4' | 'F10' | 'F11', message: string);
7
+ }
8
+ /** An input this run could not read — F5…F8, exit `2`. */
9
+ export declare class InstanceHostError extends Error {
10
+ readonly name = "InstanceHostError";
11
+ readonly refusal: 'F5' | 'F6' | 'F7' | 'F8';
12
+ constructor(refusal: 'F5' | 'F6' | 'F7' | 'F8', message: string);
13
+ }
14
+ /** The platform package every instance depends on. */
15
+ export declare const PLATFORM_PACKAGE = "platform";
16
+ /** The admin shell, when it resolves (`instance-tree.md` §2.4). */
17
+ export declare const ADMIN_SHELL_PACKAGE = "admin-shell";
18
+ /**
19
+ * The admin design system, §2.4's other package.
20
+ *
21
+ * Both are named because the member is mounted on both and neither is reachable
22
+ * through the other: the shell is what `main.tsx` mounts and the kit is what
23
+ * `index.css` imports the token and class vocabulary from. A build in which one
24
+ * resolves and the other does not writes no admin member, and says which.
25
+ */
26
+ export declare const ADMIN_KIT_PACKAGE = "admin-kit";
27
+ /** One `@endora-commerce/*` package this run resolved, with its own manifest. */
28
+ export interface ResolvedPackage {
29
+ /** The npm name, verbatim — this is what goes into `dependencies`. */
30
+ readonly name: string;
31
+ /** Where it resolved from, so a refusal can name a real path. */
32
+ readonly dir: string;
33
+ readonly version: string;
34
+ /** The `endora` block a module package declares about itself, when it has one. */
35
+ readonly endora?: {
36
+ readonly type?: string;
37
+ readonly id?: string;
38
+ } | undefined;
39
+ readonly manifest: Readonly<Record<string, unknown>>;
40
+ }
41
+ /** Everything the command reads before it decides anything. */
42
+ export interface InstanceHost {
43
+ /** `@endora-commerce/`, with its trailing slash, off the CLI's own name. */
44
+ readonly scope: string;
45
+ /**
46
+ * The CLI's own version — F8's subject, and the source of **this package's
47
+ * own** `^` range and of no other.
48
+ *
49
+ * This read *"the source of every `^` range"*, and the sentence was load-bearing
50
+ * in the wrong direction: it says a range is a property of the build rather
51
+ * than of the package being ranged, which is precisely the premise under which
52
+ * every module came to be declared at the platform's version. Every `^` range
53
+ * an instance's manifest carries is over the version of **the package it
54
+ * names** — this one for `@endora-commerce/cli`, {@link platformVersion} for
55
+ * the platform, and each module package's own for itself.
56
+ */
57
+ readonly cliVersion: string;
58
+ /** The CLI's own `engines.node`, which the instance re-declares (R2.3). */
59
+ readonly enginesNode: string;
60
+ /** The CLI's own `packageManager`, when it declares one. Never invented. */
61
+ readonly packageManager: string | undefined;
62
+ /**
63
+ * The CLI's own manifest, whole.
64
+ *
65
+ * Carried rather than picked apart here because R2.3 names it as a *source*
66
+ * and the fields a later rule reads off it are that rule's business — the
67
+ * `typescript` range `devDependenciesFor` needs is the standing example.
68
+ */
69
+ readonly ownManifest: Readonly<Record<string, unknown>>;
70
+ /** The directories searched, in order, so a refusal names where it looked. */
71
+ readonly searched: readonly string[];
72
+ /** Every scope package this run resolved, keyed by npm name. */
73
+ readonly packages: ReadonlyMap<string, ResolvedPackage>;
74
+ /**
75
+ * The platform's own version — F6's subject, and the range of the platform
76
+ * entry alone.
77
+ *
78
+ * Every other `@endora-commerce/*` entry an instance declares is ranged at the
79
+ * version its **own** package declares, which {@link packages} carries per
80
+ * package. A release is not uniform and a range over the wrong package's
81
+ * version is one no registry can satisfy.
82
+ */
83
+ readonly platformVersion: string;
84
+ }
85
+ /** `@endora-commerce/cli` -> `@endora-commerce/`. */
86
+ export declare function scopeOfPackageName(name: string): string | null;
87
+ /**
88
+ * The CLI's own manifest, found by walking up from this module.
89
+ *
90
+ * Up from `import.meta.url` rather than from `process.cwd()`, for
91
+ * `isDirectEntry`'s reason one layer over: an installed consumer's working
92
+ * directory is their own and has no relation to where this package lives.
93
+ */
94
+ export declare function readOwnManifest(moduleUrl?: string): Readonly<Record<string, unknown>>;
95
+ /**
96
+ * Does the platform resolve from here — without deciding anything else?
97
+ *
98
+ * The question `endora install` asks before it resolves (D-271): when the
99
+ * answer is no, it provisions a temporary host and resolves from there. The
100
+ * same scope, the same roots and the same order {@link resolveInstanceHost}
101
+ * reads, so the two cannot disagree about "beside the target". The scope comes
102
+ * back with the answer because the host's `.npmrc` is keyed on it.
103
+ */
104
+ export declare function probePlatform(options: {
105
+ readonly cwd: string;
106
+ readonly targetDir: string;
107
+ readonly moduleUrl?: string | undefined;
108
+ }): {
109
+ readonly scope: string;
110
+ readonly resolves: boolean;
111
+ };
112
+ /**
113
+ * What this run can see, or the refusal saying which input it could not read.
114
+ *
115
+ * Validate-then-write (R5.2) starts here: every F5–F8 condition is decided
116
+ * before the plan is built, so a run that is going to refuse has written
117
+ * nothing and has touched no directory.
118
+ */
119
+ export declare function resolveInstanceHost(options: {
120
+ readonly cwd: string;
121
+ readonly targetDir: string;
122
+ readonly moduleUrl?: string | undefined;
123
+ }): InstanceHost;
124
+ //# sourceMappingURL=host.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../src/new-instance/host.ts"],"names":[],"mappings":"AA+DA,2DAA2D;AAC3D,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C,SAAkB,IAAI,wBAAwB;IAC9C,iFAAiF;IACjF,QAAQ,CAAC,OAAO,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAC;gBAEhD,OAAO,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,EAAE,OAAO,EAAE,MAAM;CAIhF;AAED,0DAA0D;AAC1D,qBAAa,iBAAkB,SAAQ,KAAK;IAC1C,SAAkB,IAAI,uBAAuB;IAC7C,QAAQ,CAAC,OAAO,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;gBAEhC,OAAO,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM;CAIhE;AAED,sDAAsD;AACtD,eAAO,MAAM,gBAAgB,aAAa,CAAC;AAE3C,mEAAmE;AACnE,eAAO,MAAM,mBAAmB,gBAAgB,CAAC;AAEjD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,cAAc,CAAC;AAE7C,iFAAiF;A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AAS,GAAE,MAAwB,GAClC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA+BnC;AAuDD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAgBzD;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE;IAC3C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC,GAAG,YAAY,CA2Ef"}
@@ -0,0 +1,276 @@
1
+ /**
2
+ * What `endora new instance` may read, and what it refuses when it cannot.
3
+ *
4
+ * `contracts/cli-product.md` R2.3 is the whole of this file's brief: a command
5
+ * derives what it needs from **what a client's machine can see** — the CLI's
6
+ * own manifest, the packages installed beside the target directory, and the
7
+ * registry — and never from this repository's layout. So there is no
8
+ * `findRepoRoot` here and no `pnpm-workspace.yaml` read: `endora new module`
9
+ * has both and is therefore a command that only works inside a checkout, which
10
+ * is the state T130 exists to end.
11
+ *
12
+ * ## Two error classes, and the split is the exit-code contract
13
+ *
14
+ * `contracts/instance-tree.md` §4 and `cli-surface.md` §2: **1** is a refusal
15
+ * the operator can act on, **2** is an input the run could not read. F1–F4 are
16
+ * the first, F5–F8 the second, and the reason F5–F8 are not merged into F1 is
17
+ * the estate's own everywhere: *a run that could not read its input has said
18
+ * nothing*, and a scaffold written from values it could not read is worse than
19
+ * no scaffold. Each error carries its class as a field so a test asserts the
20
+ * class rather than matching prose that a later edit will legitimately reword.
21
+ *
22
+ * ## Where the packages come from
23
+ *
24
+ * One mechanism, and it answers identically in a client's tree and in this
25
+ * checkout: **the nearest `node_modules/<scope>` on the way up from the target
26
+ * directory, then from the working directory.** That is R2.3's *"the packages
27
+ * installed beside the target directory"*, and it is what
28
+ * `installed-packages.ts` already reads at runtime — so the set this command
29
+ * writes a manifest for is the set the platform will later discover, rather
30
+ * than a second answer derived a second way (D-100).
31
+ *
32
+ * It is deliberately **not** a workspace walk. A workspace member is a fact
33
+ * about a tree (D-149) and a client has no workspace above their instance; a
34
+ * command that fell back to one would work here and refuse on the machine it
35
+ * was written for, which is the failure `cli-product.md` §1 measures.
36
+ *
37
+ * The **scope** is derived from the CLI's own name rather than written down, so
38
+ * a fork publishing under another scope needs no edit here.
39
+ *
40
+ * ## Where a `^` range comes from, which is a different question
41
+ *
42
+ * **From the package being ranged, and from no other.** {@link readPackage}
43
+ * reads every resolved package's own `version`, so the answer is already here
44
+ * for each of them; what it is *not* is a property of this build, of the
45
+ * platform, or of the release as a whole. A release is not uniform and nothing
46
+ * in the estate makes it so — of the packages this repository published on
47
+ * 2026-09-11, 68 moved to `0.8.0` and 15 to `0.7.1` — so a range built from
48
+ * another package's version is a range the registry answers
49
+ * `ERR_PNPM_NO_MATCHING_VERSION` to, at the client's first install and nowhere
50
+ * earlier.
51
+ *
52
+ * That is the version the package **installed beside the target directory**
53
+ * declares, which is the right source for the same reason the module set is: it
54
+ * is the manifest the platform will read when it composes this same install, so
55
+ * the tree the client gets back is pinned to what they already have rather than
56
+ * to a second answer derived a second way (D-100). It is deliberately not a
57
+ * registry query — this command makes no network call and would otherwise
58
+ * scaffold against a version nobody had installed.
59
+ */
60
+ import { existsSync, readdirSync, readFileSync } from 'node:fs';
61
+ import { dirname, join, resolve } from 'node:path';
62
+ import { fileURLToPath } from 'node:url';
63
+ /** A refusal the operator can act on — F1…F4, exit `1`. */
64
+ export class InstanceInputError extends Error {
65
+ name = 'InstanceInputError';
66
+ /** The refusal class from `instance-tree.md` §4, so a test asserts the class. */
67
+ refusal;
68
+ constructor(refusal, message) {
69
+ super(message);
70
+ this.refusal = refusal;
71
+ }
72
+ }
73
+ /** An input this run could not read — F5…F8, exit `2`. */
74
+ export class InstanceHostError extends Error {
75
+ name = 'InstanceHostError';
76
+ refusal;
77
+ constructor(refusal, message) {
78
+ super(message);
79
+ this.refusal = refusal;
80
+ }
81
+ }
82
+ /** The platform package every instance depends on. */
83
+ export const PLATFORM_PACKAGE = 'platform';
84
+ /** The admin shell, when it resolves (`instance-tree.md` §2.4). */
85
+ export const ADMIN_SHELL_PACKAGE = 'admin-shell';
86
+ /**
87
+ * The admin design system, §2.4's other package.
88
+ *
89
+ * Both are named because the member is mounted on both and neither is reachable
90
+ * through the other: the shell is what `main.tsx` mounts and the kit is what
91
+ * `index.css` imports the token and class vocabulary from. A build in which one
92
+ * resolves and the other does not writes no admin member, and says which.
93
+ */
94
+ export const ADMIN_KIT_PACKAGE = 'admin-kit';
95
+ /** `@endora-commerce/cli` -> `@endora-commerce/`. */
96
+ export function scopeOfPackageName(name) {
97
+ const match = /^(@[^/]+)\//.exec(name);
98
+ return match === null ? null : `${match[1]}/`;
99
+ }
100
+ /**
101
+ * The CLI's own manifest, found by walking up from this module.
102
+ *
103
+ * Up from `import.meta.url` rather than from `process.cwd()`, for
104
+ * `isDirectEntry`'s reason one layer over: an installed consumer's working
105
+ * directory is their own and has no relation to where this package lives.
106
+ */
107
+ export function readOwnManifest(moduleUrl = import.meta.url) {
108
+ let current = dirname(fileURLToPath(moduleUrl));
109
+ for (;;) {
110
+ const candidate = join(current, 'package.json');
111
+ if (existsSync(candidate)) {
112
+ try {
113
+ return JSON.parse(readFileSync(candidate, 'utf8'));
114
+ }
115
+ catch (error) {
116
+ throw new InstanceHostError('F8', `this build's own manifest at ${candidate} could not be parsed ` +
117
+ `(${error instanceof Error ? error.message : String(error)}), so the npm scope an ` +
118
+ `instance resolves and declares its packages under, the \`engines.node\` it ` +
119
+ `re-declares and the \`^<version>\` it installs this CLI at all have no source. ` +
120
+ `Nothing is written: a scaffold whose values the tool invented is a scaffold ` +
121
+ `nobody reviewed.`);
122
+ }
123
+ }
124
+ const parent = dirname(current);
125
+ if (parent === current) {
126
+ throw new InstanceHostError('F8', `this build has no \`package.json\` above ${dirname(fileURLToPath(moduleUrl))}, so it ` +
127
+ `cannot determine its own version, its own npm scope or the \`engines.node\` an ` +
128
+ `instance re-declares — and the scope is what every package it installs is resolved ` +
129
+ `under. Reinstall \`@endora-commerce/cli\` rather than running it from a loose file.`);
130
+ }
131
+ current = parent;
132
+ }
133
+ }
134
+ /** Every `<dir>/node_modules/<scope>` on the way up from `start`, outermost last. */
135
+ function scopeRootsAbove(start, scope) {
136
+ const roots = [];
137
+ let current = resolve(start);
138
+ for (;;) {
139
+ const candidate = join(current, 'node_modules', scope.slice(0, -1));
140
+ if (existsSync(candidate))
141
+ roots.push(candidate);
142
+ const parent = dirname(current);
143
+ if (parent === current)
144
+ return roots;
145
+ current = parent;
146
+ }
147
+ }
148
+ /**
149
+ * Read one package directory's manifest, or refuse.
150
+ *
151
+ * F7 rather than a skip: a package the run cannot read is a package whose id,
152
+ * version and dependencies are unknown, and crediting it with none would put a
153
+ * silently short module set into a manifest the client then installs.
154
+ */
155
+ function readPackage(dir) {
156
+ const manifestPath = join(dir, 'package.json');
157
+ if (!existsSync(manifestPath))
158
+ return null;
159
+ let manifest;
160
+ try {
161
+ manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));
162
+ }
163
+ catch (error) {
164
+ throw new InstanceHostError('F7', `${manifestPath} could not be parsed ` +
165
+ `(${error instanceof Error ? error.message : String(error)}). Nothing is written: a ` +
166
+ `module set derived from packages this run could not read would be short by however ` +
167
+ `many it could not read, and the shortfall would be invisible in the tree.`);
168
+ }
169
+ const name = manifest['name'];
170
+ const version = manifest['version'];
171
+ if (typeof name !== 'string' || typeof version !== 'string') {
172
+ throw new InstanceHostError('F7', `${manifestPath} declares no \`name\` or no \`version\`, so no dependency entry can be ` +
173
+ `written for it. Nothing is written.`);
174
+ }
175
+ return {
176
+ name,
177
+ dir,
178
+ version,
179
+ endora: manifest['endora'],
180
+ manifest,
181
+ };
182
+ }
183
+ /**
184
+ * Does the platform resolve from here — without deciding anything else?
185
+ *
186
+ * The question `endora install` asks before it resolves (D-271): when the
187
+ * answer is no, it provisions a temporary host and resolves from there. The
188
+ * same scope, the same roots and the same order {@link resolveInstanceHost}
189
+ * reads, so the two cannot disagree about "beside the target". The scope comes
190
+ * back with the answer because the host's `.npmrc` is keyed on it.
191
+ */
192
+ export function probePlatform(options) {
193
+ const own = readOwnManifest(options.moduleUrl);
194
+ const ownName = own['name'];
195
+ const scope = typeof ownName === 'string' ? scopeOfPackageName(ownName) : null;
196
+ if (scope === null) {
197
+ throw new InstanceHostError('F8', `this build's own manifest declares no scoped \`name\`, so the scope an instance ` +
198
+ `installs its packages from cannot be derived from it.`);
199
+ }
200
+ const resolves = [
201
+ ...scopeRootsAbove(options.targetDir, scope),
202
+ ...scopeRootsAbove(options.cwd, scope),
203
+ ].some((root) => existsSync(join(root, PLATFORM_PACKAGE, 'package.json')));
204
+ return { scope, resolves };
205
+ }
206
+ /**
207
+ * What this run can see, or the refusal saying which input it could not read.
208
+ *
209
+ * Validate-then-write (R5.2) starts here: every F5–F8 condition is decided
210
+ * before the plan is built, so a run that is going to refuse has written
211
+ * nothing and has touched no directory.
212
+ */
213
+ export function resolveInstanceHost(options) {
214
+ const own = readOwnManifest(options.moduleUrl);
215
+ const ownName = own['name'];
216
+ const cliVersion = own['version'];
217
+ if (typeof ownName !== 'string' || typeof cliVersion !== 'string') {
218
+ throw new InstanceHostError('F8', `this build's own manifest declares no \`name\` or no \`version\`, so the scope an ` +
219
+ `instance installs from and the \`^<version>\` it installs this CLI at both have no ` +
220
+ `source.`);
221
+ }
222
+ const scope = scopeOfPackageName(ownName);
223
+ if (scope === null) {
224
+ throw new InstanceHostError('F8', `this build's own name (${ownName}) carries no npm scope, so the scope an instance ` +
225
+ `installs its packages from cannot be derived from it.`);
226
+ }
227
+ const engines = own['engines'];
228
+ const enginesNode = typeof engines?.node === 'string' ? engines.node : undefined;
229
+ if (enginesNode === undefined) {
230
+ throw new InstanceHostError('F8', `this build declares no \`engines.node\`, which is the value R2.3 says an instance ` +
231
+ `re-declares from the CLI's own manifest. A version this command chose would be a ` +
232
+ `value nobody reviewed.`);
233
+ }
234
+ const packageManager = own['packageManager'];
235
+ const searched = [
236
+ ...scopeRootsAbove(options.targetDir, scope),
237
+ ...scopeRootsAbove(options.cwd, scope),
238
+ ];
239
+ const packages = new Map();
240
+ for (const root of searched) {
241
+ for (const entry of readdirSync(root)) {
242
+ if (entry.startsWith('.'))
243
+ continue;
244
+ const resolved = readPackage(join(root, entry));
245
+ // First root wins: the nearest install to the target is the one whose
246
+ // versions that tree will actually resolve.
247
+ if (resolved !== null && !packages.has(resolved.name))
248
+ packages.set(resolved.name, resolved);
249
+ }
250
+ }
251
+ const platform = packages.get(`${scope}${PLATFORM_PACKAGE}`);
252
+ if (platform === undefined) {
253
+ throw new InstanceHostError('F6', `${scope}${PLATFORM_PACKAGE} does not resolve from ${options.targetDir} or ` +
254
+ `${options.cwd}, so the version the instance's own platform range would be taken from ` +
255
+ `has no source, and neither do the module manifests the module set is closed over.` +
256
+ (searched.length === 0
257
+ ? ` No \`node_modules/${scope.slice(0, -1)}\` was found on the way up from either.`
258
+ : ` Looked in: ${searched.join(', ')}.`) +
259
+ ` Install the platform beside the directory you are scaffolding into — ` +
260
+ `\`pnpm add ${scope}${PLATFORM_PACKAGE}\` in the parent of the target, or run this ` +
261
+ `command from a directory that already has it — and try again. This command writes a ` +
262
+ `tree and installs nothing; \`endora install <dir>\` is the one that provisions the ` +
263
+ `packages for you.`);
264
+ }
265
+ return {
266
+ scope,
267
+ cliVersion,
268
+ ownManifest: own,
269
+ enginesNode,
270
+ packageManager: typeof packageManager === 'string' ? packageManager : undefined,
271
+ searched,
272
+ packages,
273
+ platformVersion: platform.version,
274
+ };
275
+ }
276
+ //# sourceMappingURL=host.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.js","sourceRoot":"","sources":["../../src/new-instance/host.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,2DAA2D;AAC3D,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IACzB,IAAI,GAAG,oBAAoB,CAAC;IAC9C,iFAAiF;IACxE,OAAO,CAA4C;IAE5D,YAAY,OAAkD,EAAE,OAAe;QAC7E,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF;AAED,0DAA0D;AAC1D,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IACxB,IAAI,GAAG,mBAAmB,CAAC;IACpC,OAAO,CAA4B;IAE5C,YAAY,OAAkC,EAAE,OAAe;QAC7D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF;AAED,sDAAsD;AACtD,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAE3C,mEAAmE;AACnE,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAEjD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC;AA2D7C,qDAAqD;AACrD,MAAM,UAAU,kBAAkB,CAAC,IAAY;IAC7C,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvC,OAA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