@vibesdotdev/infra-deploy 0.0.1 → 1.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +79 -118
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts +48 -35
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js +31 -21
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts +26 -27
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js +11 -11
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts +19 -17
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js +15 -14
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts +24 -17
- package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.descriptor.js +8 -3
- package/dist/cli/audit/infra-audit.cli-command.descriptor.js.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.d.ts +164 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.js +557 -76
- package/dist/cli/audit/infra-audit.cli-command.impl.js.map +1 -1
- package/dist/cli/db/infra-db.cli-command.descriptor.d.ts +49 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.js +60 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.js.map +1 -0
- package/dist/cli/db/infra-db.cli-command.impl.d.ts +30 -0
- package/dist/cli/db/infra-db.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/db/infra-db.cli-command.impl.js +167 -0
- package/dist/cli/db/infra-db.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts +6 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.js +53 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js +50 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts +12 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.js +70 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts +32 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js +39 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts +17 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.js +66 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts +58 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js +72 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts +14 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.js +110 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts +41 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.js +47 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.js.map +1 -0
- package/dist/cli/dns/resolve-dns-provider.d.ts +24 -0
- package/dist/cli/dns/resolve-dns-provider.d.ts.map +1 -0
- package/dist/cli/dns/resolve-dns-provider.js +62 -0
- package/dist/cli/dns/resolve-dns-provider.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts +37 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js +45 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts +15 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js +78 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts +29 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js +35 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts +19 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js +73 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js +50 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts +16 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js +81 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts +40 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js +49 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts +14 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js +78 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js +12 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts +25 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts.map +1 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.js +74 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.js.map +1 -0
- package/dist/cli/infra-deploy.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/infra-deploy.cli-group.descriptor.js +1 -1
- package/dist/cli/infra-deploy.cli-group.descriptor.js.map +1 -1
- package/dist/cli/infra.cli-group.descriptor.d.ts +7 -7
- package/dist/cli/infra.cli-group.descriptor.js +1 -1
- package/dist/cli/infra.cli-group.descriptor.js.map +1 -1
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts +26 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js +18 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts +18 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.js +204 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.js.map +1 -0
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts +40 -30
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js +7 -3
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts +35 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.js +202 -20
- package/dist/cli/list/infra-deploy.list.cli-command.impl.js.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts +113 -35
- package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.descriptor.js +87 -3
- package/dist/cli/logs/infra-logs.cli-command.descriptor.js.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.d.ts +61 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.js +1161 -108
- package/dist/cli/logs/infra-logs.cli-command.impl.js.map +1 -1
- package/dist/cli/logs/stream-worker-tail.d.ts +7 -2
- package/dist/cli/logs/stream-worker-tail.d.ts.map +1 -1
- package/dist/cli/logs/stream-worker-tail.js +280 -113
- package/dist/cli/logs/stream-worker-tail.js.map +1 -1
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts +62 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js +79 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts +8 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js +105 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts +34 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js +42 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts +13 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js +82 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts +80 -23
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js +48 -16
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts +47 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.js +532 -351
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.js.map +1 -1
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts +28 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js +34 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts +12 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js +134 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/npm/infra-npm.cli-group.descriptor.js +1 -1
- package/dist/cli/npm/infra-npm.cli-group.descriptor.js.map +1 -1
- package/dist/cli/npm/mirror-registry-artifacts.d.ts +64 -0
- package/dist/cli/npm/mirror-registry-artifacts.d.ts.map +1 -0
- package/dist/cli/npm/mirror-registry-artifacts.js +114 -0
- package/dist/cli/npm/mirror-registry-artifacts.js.map +1 -0
- package/dist/cli/npm/publish/command-options.d.ts +24 -0
- package/dist/cli/npm/publish/command-options.d.ts.map +1 -0
- package/dist/cli/npm/publish/command-options.js +85 -0
- package/dist/cli/npm/publish/command-options.js.map +1 -0
- package/dist/cli/npm/publish/concurrency.d.ts +19 -0
- package/dist/cli/npm/publish/concurrency.d.ts.map +1 -0
- package/dist/cli/npm/publish/concurrency.js +60 -0
- package/dist/cli/npm/publish/concurrency.js.map +1 -0
- package/dist/cli/npm/publish/consumer-smoke.d.ts +83 -0
- package/dist/cli/npm/publish/consumer-smoke.d.ts.map +1 -0
- package/dist/cli/npm/publish/consumer-smoke.js +371 -0
- package/dist/cli/npm/publish/consumer-smoke.js.map +1 -0
- package/dist/cli/npm/publish/consumer-surfaces.d.ts +81 -0
- package/dist/cli/npm/publish/consumer-surfaces.d.ts.map +1 -0
- package/dist/cli/npm/publish/consumer-surfaces.js +199 -0
- package/dist/cli/npm/publish/consumer-surfaces.js.map +1 -0
- package/dist/cli/npm/publish/external-requirements.d.ts +171 -0
- package/dist/cli/npm/publish/external-requirements.d.ts.map +1 -0
- package/dist/cli/npm/publish/external-requirements.js +365 -0
- package/dist/cli/npm/publish/external-requirements.js.map +1 -0
- package/dist/cli/npm/publish/forge-source-identity.d.ts +64 -0
- package/dist/cli/npm/publish/forge-source-identity.d.ts.map +1 -0
- package/dist/cli/npm/publish/forge-source-identity.js +201 -0
- package/dist/cli/npm/publish/forge-source-identity.js.map +1 -0
- package/dist/cli/npm/publish/fs-paths.d.ts +25 -0
- package/dist/cli/npm/publish/fs-paths.d.ts.map +1 -0
- package/dist/cli/npm/publish/fs-paths.js +87 -0
- package/dist/cli/npm/publish/fs-paths.js.map +1 -0
- package/dist/cli/npm/publish/lease-preflight-answer.d.ts +17 -0
- package/dist/cli/npm/publish/lease-preflight-answer.d.ts.map +1 -0
- package/dist/cli/npm/publish/lease-preflight-answer.js +35 -0
- package/dist/cli/npm/publish/lease-preflight-answer.js.map +1 -0
- package/dist/cli/npm/publish/lease-preflight.d.ts +92 -0
- package/dist/cli/npm/publish/lease-preflight.d.ts.map +1 -0
- package/dist/cli/npm/publish/lease-preflight.js +205 -0
- package/dist/cli/npm/publish/lease-preflight.js.map +1 -0
- package/dist/cli/npm/publish/managed-lease.d.ts +110 -0
- package/dist/cli/npm/publish/managed-lease.d.ts.map +1 -0
- package/dist/cli/npm/publish/managed-lease.js +191 -0
- package/dist/cli/npm/publish/managed-lease.js.map +1 -0
- package/dist/cli/npm/publish/npm-exec.d.ts +148 -0
- package/dist/cli/npm/publish/npm-exec.d.ts.map +1 -0
- package/dist/cli/npm/publish/npm-exec.js +311 -0
- package/dist/cli/npm/publish/npm-exec.js.map +1 -0
- package/dist/cli/npm/publish/package-artifact.d.ts +107 -0
- package/dist/cli/npm/publish/package-artifact.d.ts.map +1 -0
- package/dist/cli/npm/publish/package-artifact.js +418 -0
- package/dist/cli/npm/publish/package-artifact.js.map +1 -0
- package/dist/cli/npm/publish/platform-registry.d.ts +76 -0
- package/dist/cli/npm/publish/platform-registry.d.ts.map +1 -0
- package/dist/cli/npm/publish/platform-registry.js +324 -0
- package/dist/cli/npm/publish/platform-registry.js.map +1 -0
- package/dist/cli/npm/publish/proof-external-closure.d.ts +139 -0
- package/dist/cli/npm/publish/proof-external-closure.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-external-closure.js +339 -0
- package/dist/cli/npm/publish/proof-external-closure.js.map +1 -0
- package/dist/cli/npm/publish/proof-installed-graph.d.ts +26 -0
- package/dist/cli/npm/publish/proof-installed-graph.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-installed-graph.js +229 -0
- package/dist/cli/npm/publish/proof-installed-graph.js.map +1 -0
- package/dist/cli/npm/publish/proof-registry.d.ts +74 -0
- package/dist/cli/npm/publish/proof-registry.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-registry.js +335 -0
- package/dist/cli/npm/publish/proof-registry.js.map +1 -0
- package/dist/cli/npm/publish/proof-source-credentials.d.ts +42 -0
- package/dist/cli/npm/publish/proof-source-credentials.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-source-credentials.js +129 -0
- package/dist/cli/npm/publish/proof-source-credentials.js.map +1 -0
- package/dist/cli/npm/publish/publish-package.d.ts +66 -0
- package/dist/cli/npm/publish/publish-package.d.ts.map +1 -0
- package/dist/cli/npm/publish/publish-package.js +544 -0
- package/dist/cli/npm/publish/publish-package.js.map +1 -0
- package/dist/cli/npm/publish/publisher-manifest.d.ts +173 -0
- package/dist/cli/npm/publish/publisher-manifest.d.ts.map +1 -0
- package/dist/cli/npm/publish/publisher-manifest.js +79 -0
- package/dist/cli/npm/publish/publisher-manifest.js.map +1 -0
- package/dist/cli/npm/publish/rc-major-exception.d.ts +20 -0
- package/dist/cli/npm/publish/rc-major-exception.d.ts.map +1 -0
- package/dist/cli/npm/publish/rc-major-exception.js +46 -0
- package/dist/cli/npm/publish/rc-major-exception.js.map +1 -0
- package/dist/cli/npm/publish/registry-availability.d.ts +150 -0
- package/dist/cli/npm/publish/registry-availability.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-availability.js +570 -0
- package/dist/cli/npm/publish/registry-availability.js.map +1 -0
- package/dist/cli/npm/publish/registry-credentials.d.ts +108 -0
- package/dist/cli/npm/publish/registry-credentials.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-credentials.js +290 -0
- package/dist/cli/npm/publish/registry-credentials.js.map +1 -0
- package/dist/cli/npm/publish/registry-reads.d.ts +42 -0
- package/dist/cli/npm/publish/registry-reads.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-reads.js +164 -0
- package/dist/cli/npm/publish/registry-reads.js.map +1 -0
- package/dist/cli/npm/publish/release-build.d.ts +46 -0
- package/dist/cli/npm/publish/release-build.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-build.js +140 -0
- package/dist/cli/npm/publish/release-build.js.map +1 -0
- package/dist/cli/npm/publish/release-consumer-proof.d.ts +70 -0
- package/dist/cli/npm/publish/release-consumer-proof.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-consumer-proof.js +397 -0
- package/dist/cli/npm/publish/release-consumer-proof.js.map +1 -0
- package/dist/cli/npm/publish/release-executor.d.ts +46 -0
- package/dist/cli/npm/publish/release-executor.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-executor.js +181 -0
- package/dist/cli/npm/publish/release-executor.js.map +1 -0
- package/dist/cli/npm/publish/release-grants.client.impl.d.ts +10 -0
- package/dist/cli/npm/publish/release-grants.client.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-grants.client.impl.js +63 -0
- package/dist/cli/npm/publish/release-grants.client.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.client.d.ts +39 -0
- package/dist/cli/npm/publish/release-jobs.client.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.client.js +124 -0
- package/dist/cli/npm/publish/release-jobs.client.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts +20 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.js +82 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.impl.d.ts +15 -0
- package/dist/cli/npm/publish/release-jobs.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.impl.js +42 -0
- package/dist/cli/npm/publish/release-jobs.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-lock.d.ts +143 -0
- package/dist/cli/npm/publish/release-lock.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-lock.js +371 -0
- package/dist/cli/npm/publish/release-lock.js.map +1 -0
- package/dist/cli/npm/publish/release-phases.d.ts +93 -0
- package/dist/cli/npm/publish/release-phases.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-phases.js +175 -0
- package/dist/cli/npm/publish/release-phases.js.map +1 -0
- package/dist/cli/npm/publish/release-plan.d.ts +65 -0
- package/dist/cli/npm/publish/release-plan.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-plan.js +178 -0
- package/dist/cli/npm/publish/release-plan.js.map +1 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.d.ts +16 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.js +71 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-publish.job.impl.d.ts +18 -0
- package/dist/cli/npm/publish/release-publish.job.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-publish.job.impl.js +295 -0
- package/dist/cli/npm/publish/release-publish.job.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-workspace.d.ts +95 -0
- package/dist/cli/npm/publish/release-workspace.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-workspace.js +243 -0
- package/dist/cli/npm/publish/release-workspace.js.map +1 -0
- package/dist/cli/npm/publish/sensitive-temp.d.ts +90 -0
- package/dist/cli/npm/publish/sensitive-temp.d.ts.map +1 -0
- package/dist/cli/npm/publish/sensitive-temp.js +351 -0
- package/dist/cli/npm/publish/sensitive-temp.js.map +1 -0
- package/dist/cli/npm/publish/source-snapshot.d.ts +91 -0
- package/dist/cli/npm/publish/source-snapshot.d.ts.map +1 -0
- package/dist/cli/npm/publish/source-snapshot.js +245 -0
- package/dist/cli/npm/publish/source-snapshot.js.map +1 -0
- package/dist/cli/npm/publish/types.d.ts +69 -0
- package/dist/cli/npm/publish/types.d.ts.map +1 -0
- package/dist/cli/npm/publish/types.js +2 -0
- package/dist/cli/npm/publish/types.js.map +1 -0
- package/dist/cli/npm/publish/workspace-discovery.d.ts +48 -0
- package/dist/cli/npm/publish/workspace-discovery.d.ts.map +1 -0
- package/dist/cli/npm/publish/workspace-discovery.js +313 -0
- package/dist/cli/npm/publish/workspace-discovery.js.map +1 -0
- package/dist/cli/npm/put-attested-packument.d.ts +96 -0
- package/dist/cli/npm/put-attested-packument.d.ts.map +1 -0
- package/dist/cli/npm/put-attested-packument.js +240 -0
- package/dist/cli/npm/put-attested-packument.js.map +1 -0
- package/dist/cli/npm/reconcile-latest.d.ts +55 -0
- package/dist/cli/npm/reconcile-latest.d.ts.map +1 -0
- package/dist/cli/npm/reconcile-latest.js +59 -0
- package/dist/cli/npm/reconcile-latest.js.map +1 -0
- package/dist/cli/observability/blind-spots.d.ts +10 -0
- package/dist/cli/observability/blind-spots.d.ts.map +1 -0
- package/dist/cli/observability/blind-spots.js +19 -0
- package/dist/cli/observability/blind-spots.js.map +1 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts +6 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js +75 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js.map +1 -0
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts +42 -21
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js +3 -3
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts +3 -2
- package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.impl.js +14 -14
- package/dist/cli/observability/infra-observability-set.cli-command.impl.js.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts +25 -17
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts +2 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.js +30 -23
- package/dist/cli/observability/infra-observability-status.cli-command.impl.js.map +1 -1
- package/dist/cli/observability/infra-observability.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/observability/infra-observability.cli-group.descriptor.js +1 -1
- package/dist/cli/observability/infra-observability.cli-group.descriptor.js.map +1 -1
- package/dist/cli/plugin.d.ts +3 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +45 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts +38 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js +43 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts +117 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js +678 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js.map +1 -0
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts +37 -23
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js +7 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts +2 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js +100 -25
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js.map +1 -1
- package/dist/cli/release/cli/latest-manifest.d.ts +148 -0
- package/dist/cli/release/cli/latest-manifest.d.ts.map +1 -0
- package/dist/cli/release/cli/latest-manifest.js +152 -0
- package/dist/cli/release/cli/latest-manifest.js.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js +49 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts +16 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js +52 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js.map +1 -0
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts +19 -17
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts +2 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.js +21 -15
- package/dist/cli/rum/infra-rum-status.cli-command.impl.js.map +1 -1
- package/dist/cli/rum/infra-rum.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/rum/infra-rum.cli-group.descriptor.js +1 -1
- package/dist/cli/rum/infra-rum.cli-group.descriptor.js.map +1 -1
- package/dist/cli/run/deploy-smoke.d.ts +57 -0
- package/dist/cli/run/deploy-smoke.d.ts.map +1 -0
- package/dist/cli/run/deploy-smoke.js +251 -0
- package/dist/cli/run/deploy-smoke.js.map +1 -0
- package/dist/cli/run/deployment-marker.d.ts +74 -0
- package/dist/cli/run/deployment-marker.d.ts.map +1 -0
- package/dist/cli/run/deployment-marker.js +237 -0
- package/dist/cli/run/deployment-marker.js.map +1 -0
- package/dist/cli/run/deployment-provider.d.ts +56 -0
- package/dist/cli/run/deployment-provider.d.ts.map +1 -0
- package/dist/cli/run/deployment-provider.js +295 -0
- package/dist/cli/run/deployment-provider.js.map +1 -0
- package/dist/cli/run/deployment-run-ledger.d.ts +72 -0
- package/dist/cli/run/deployment-run-ledger.d.ts.map +1 -0
- package/dist/cli/run/deployment-run-ledger.js +164 -0
- package/dist/cli/run/deployment-run-ledger.js.map +1 -0
- package/dist/cli/run/git-source-identity.d.ts +21 -0
- package/dist/cli/run/git-source-identity.d.ts.map +1 -0
- package/dist/cli/run/git-source-identity.js +73 -0
- package/dist/cli/run/git-source-identity.js.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts +403 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.js +589 -0
- package/dist/cli/run/immutable-deployment-release.program.js.map +1 -0
- package/dist/cli/run/immutable-deployment-workspace.d.ts +39 -0
- package/dist/cli/run/immutable-deployment-workspace.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-workspace.js +525 -0
- package/dist/cli/run/immutable-deployment-workspace.js.map +1 -0
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts +80 -23
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js +50 -8
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts +46 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js +464 -226
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js.map +1 -1
- package/dist/cli/shared/build-workspace-artifacts.d.ts +147 -0
- package/dist/cli/shared/build-workspace-artifacts.d.ts.map +1 -0
- package/dist/cli/shared/build-workspace-artifacts.js +2013 -0
- package/dist/cli/shared/build-workspace-artifacts.js.map +1 -0
- package/dist/cli/shared/credential-source.d.ts +3 -0
- package/dist/cli/shared/credential-source.d.ts.map +1 -0
- package/dist/cli/shared/credential-source.js +19 -0
- package/dist/cli/shared/credential-source.js.map +1 -0
- package/dist/cli/shared/discover-deployments.d.ts +46 -5
- package/dist/cli/shared/discover-deployments.d.ts.map +1 -1
- package/dist/cli/shared/discover-deployments.js +167 -41
- package/dist/cli/shared/discover-deployments.js.map +1 -1
- package/dist/cli/shared/infer-apex-zone.d.ts +18 -0
- package/dist/cli/shared/infer-apex-zone.d.ts.map +1 -0
- package/dist/cli/shared/infer-apex-zone.js +75 -0
- package/dist/cli/shared/infer-apex-zone.js.map +1 -0
- package/dist/cli/shared/option-strings.d.ts +2 -0
- package/dist/cli/shared/option-strings.d.ts.map +1 -0
- package/dist/cli/shared/option-strings.js +13 -0
- package/dist/cli/shared/option-strings.js.map +1 -0
- package/dist/cli/shared/repository-collection.d.ts +42 -0
- package/dist/cli/shared/repository-collection.d.ts.map +1 -0
- package/dist/cli/shared/repository-collection.js +111 -0
- package/dist/cli/shared/repository-collection.js.map +1 -0
- package/dist/cli/shared/runtime-execution.d.ts +78 -0
- package/dist/cli/shared/runtime-execution.d.ts.map +1 -0
- package/dist/cli/shared/runtime-execution.js +182 -0
- package/dist/cli/shared/runtime-execution.js.map +1 -0
- package/dist/cli/shared/workspace-artifact-lock.d.ts +17 -0
- package/dist/cli/shared/workspace-artifact-lock.d.ts.map +1 -0
- package/dist/cli/shared/workspace-artifact-lock.js +37 -0
- package/dist/cli/shared/workspace-artifact-lock.js.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts +238 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.js +410 -0
- package/dist/cli/workers/doks-worker-runtime.js.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts +28 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js +28 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.js +75 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts +31 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js +32 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.js +67 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts +48 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js +60 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.js +74 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.js +12 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.js.map +1 -0
- package/dist/config-loader.d.ts +60 -13
- package/dist/config-loader.d.ts.map +1 -1
- package/dist/config-loader.js +371 -104
- package/dist/config-loader.js.map +1 -1
- package/dist/declared-provider.d.ts +27 -0
- package/dist/declared-provider.d.ts.map +1 -0
- package/dist/declared-provider.js +46 -0
- package/dist/declared-provider.js.map +1 -0
- package/dist/deployment-collisions.d.ts +55 -0
- package/dist/deployment-collisions.d.ts.map +1 -0
- package/dist/deployment-collisions.js +70 -0
- package/dist/deployment-collisions.js.map +1 -0
- package/dist/deployment-environment.d.ts +57 -0
- package/dist/deployment-environment.d.ts.map +1 -0
- package/dist/deployment-environment.js +198 -0
- package/dist/deployment-environment.js.map +1 -0
- package/dist/deployment-settings.d.ts +27 -0
- package/dist/deployment-settings.d.ts.map +1 -0
- package/dist/deployment-settings.js +52 -0
- package/dist/deployment-settings.js.map +1 -0
- package/dist/deployment.config.descriptor.d.ts +59 -0
- package/dist/deployment.config.descriptor.d.ts.map +1 -0
- package/dist/deployment.config.descriptor.js +54 -0
- package/dist/deployment.config.descriptor.js.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts +29 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js +35 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts +12 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js +12 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js.map +1 -0
- package/dist/index.d.ts +11 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/infra-deploy.plugin.d.ts +2 -2
- package/dist/infra-deploy.plugin.d.ts.map +1 -1
- package/dist/infra-deploy.plugin.js +63 -20
- package/dist/infra-deploy.plugin.js.map +1 -1
- package/dist/logger.d.ts +10 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +11 -0
- package/dist/logger.js.map +1 -0
- package/dist/migrations/migrate-workspace.d.ts +21 -0
- package/dist/migrations/migrate-workspace.d.ts.map +1 -0
- package/dist/migrations/migrate-workspace.js +83 -0
- package/dist/migrations/migrate-workspace.js.map +1 -0
- package/dist/migrations/run-migrate.d.ts +15 -0
- package/dist/migrations/run-migrate.d.ts.map +1 -0
- package/dist/migrations/run-migrate.js +314 -0
- package/dist/migrations/run-migrate.js.map +1 -0
- package/dist/regenerate.d.ts +52 -30
- package/dist/regenerate.d.ts.map +1 -1
- package/dist/regenerate.js +176 -148
- package/dist/regenerate.js.map +1 -1
- package/dist/runtime-execution.d.ts +5 -0
- package/dist/runtime-execution.d.ts.map +1 -0
- package/dist/runtime-execution.js +12 -0
- package/dist/runtime-execution.js.map +1 -0
- package/dist/schemas/migrate.d.ts +110 -0
- package/dist/schemas/migrate.d.ts.map +1 -0
- package/dist/schemas/migrate.js +55 -0
- package/dist/schemas/migrate.js.map +1 -0
- package/dist/schemas/proof-registry.d.ts +25 -0
- package/dist/schemas/proof-registry.d.ts.map +1 -0
- package/dist/schemas/proof-registry.js +24 -0
- package/dist/schemas/proof-registry.js.map +1 -0
- package/dist/schemas/release-grants.d.ts +7 -0
- package/dist/schemas/release-grants.d.ts.map +1 -0
- package/dist/schemas/release-grants.js +6 -0
- package/dist/schemas/release-grants.js.map +1 -0
- package/dist/schemas/release-jobs.d.ts +444 -0
- package/dist/schemas/release-jobs.d.ts.map +1 -0
- package/dist/schemas/release-jobs.js +204 -0
- package/dist/schemas/release-jobs.js.map +1 -0
- package/dist/schemas/service-release.d.ts +15 -0
- package/dist/schemas/service-release.d.ts.map +1 -0
- package/dist/schemas/service-release.js +13 -0
- package/dist/schemas/service-release.js.map +1 -0
- package/dist/schemas/worker-logs.d.ts +42 -0
- package/dist/schemas/worker-logs.d.ts.map +1 -0
- package/dist/schemas/worker-logs.js +29 -0
- package/dist/schemas/worker-logs.js.map +1 -0
- package/dist/storage/deployment-runs.schema.d.ts +199 -0
- package/dist/storage/deployment-runs.schema.d.ts.map +1 -0
- package/dist/storage/deployment-runs.schema.js +61 -0
- package/dist/storage/deployment-runs.schema.js.map +1 -0
- package/dist/storage/deployment-runs.storage.descriptor.d.ts +4 -0
- package/dist/storage/deployment-runs.storage.descriptor.d.ts.map +1 -0
- package/dist/storage/deployment-runs.storage.descriptor.js +36 -0
- package/dist/storage/deployment-runs.storage.descriptor.js.map +1 -0
- package/package.json +110 -42
- package/SPEC.md +0 -181
- package/src/cli/alerts/infra-alerts-create.cli-command.descriptor.ts +0 -61
- package/src/cli/alerts/infra-alerts-create.cli-command.impl.ts +0 -131
- package/src/cli/alerts/infra-alerts-delete.cli-command.descriptor.ts +0 -36
- package/src/cli/alerts/infra-alerts-delete.cli-command.impl.ts +0 -75
- package/src/cli/alerts/infra-alerts-list.cli-command.descriptor.ts +0 -27
- package/src/cli/alerts/infra-alerts-list.cli-command.impl.ts +0 -88
- package/src/cli/alerts/infra-alerts.cli-group.descriptor.ts +0 -12
- package/src/cli/audit/infra-audit.cli-command.descriptor.ts +0 -28
- package/src/cli/audit/infra-audit.cli-command.impl.ts +0 -293
- package/src/cli/infra-deploy.cli-group.descriptor.ts +0 -12
- package/src/cli/infra.cli-group.descriptor.ts +0 -11
- package/src/cli/list/infra-deploy.list.cli-command.descriptor.ts +0 -29
- package/src/cli/list/infra-deploy.list.cli-command.impl.ts +0 -125
- package/src/cli/logs/infra-logs.cli-command.descriptor.ts +0 -65
- package/src/cli/logs/infra-logs.cli-command.impl.ts +0 -354
- package/src/cli/logs/stream-worker-tail.ts +0 -202
- package/src/cli/npm/infra-npm-publish.cli-command.descriptor.ts +0 -75
- package/src/cli/npm/infra-npm-publish.cli-command.impl.ts +0 -474
- package/src/cli/npm/infra-npm.cli-group.descriptor.ts +0 -12
- package/src/cli/observability/infra-observability-set.cli-command.descriptor.ts +0 -57
- package/src/cli/observability/infra-observability-set.cli-command.impl.ts +0 -173
- package/src/cli/observability/infra-observability-status.cli-command.descriptor.ts +0 -35
- package/src/cli/observability/infra-observability-status.cli-command.impl.ts +0 -124
- package/src/cli/observability/infra-observability.cli-group.descriptor.ts +0 -12
- package/src/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.ts +0 -36
- package/src/cli/regenerate/infra-deploy.regenerate.cli-command.impl.ts +0 -103
- package/src/cli/rum/infra-rum-status.cli-command.descriptor.ts +0 -27
- package/src/cli/rum/infra-rum-status.cli-command.impl.ts +0 -112
- package/src/cli/rum/infra-rum.cli-group.descriptor.ts +0 -12
- package/src/cli/run/infra-deploy.run.cli-command.descriptor.ts +0 -49
- package/src/cli/run/infra-deploy.run.cli-command.impl.ts +0 -330
- package/src/cli/shared/discover-deployments.ts +0 -127
- package/src/config-loader.ts +0 -179
- package/src/index.ts +0 -11
- package/src/infra-deploy.plugin.ts +0 -83
- package/src/regenerate.ts +0 -230
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import { hashBase64, hashHex } from "@vibesdotdev/crypto";
|
|
2
|
+
import { resolveFileSystemAdapter } from "@vibesdotdev/filesystem";
|
|
3
|
+
import { getRuntimePath } from "@vibesdotdev/paths";
|
|
4
|
+
import { z } from "zod/v4";
|
|
5
|
+
import { validRange } from "semver";
|
|
6
|
+
import { assertExternalPackageSelector, effectiveExternalSelector, npmRegistryVersionSatisfiesSelector, registryExternalReference, runRegistryExternalPack, } from "./external-requirements.js";
|
|
7
|
+
import { newestTarball, NpmCommandError } from "./npm-exec.js";
|
|
8
|
+
import { readProofArtifactManifest, registryForProofPackage, } from "./proof-registry.js";
|
|
9
|
+
import { isPublicNpmProofRegistry, normalizeRegistryUrl, } from "./registry-credentials.js";
|
|
10
|
+
import { hostPlatformFacts, isPackagePlatformCompatible } from "./workspace-discovery.js";
|
|
11
|
+
const concealedNotFound = /\bE404\b|404 Not Found|is not in this registry/i;
|
|
12
|
+
/**
|
|
13
|
+
* Whether an optional coordinate's fetch failed only because it is absent: the
|
|
14
|
+
* package is not in the registry, or no published version satisfies the
|
|
15
|
+
* selector yet (an optional peer on a release line whose own batch has not
|
|
16
|
+
* published). Either way a consumer installs without it.
|
|
17
|
+
*/
|
|
18
|
+
export function optionalCoordinateAbsent(output) {
|
|
19
|
+
return concealedNotFound.test(output) || /\bETARGET\b|No matching version found/i.test(output);
|
|
20
|
+
}
|
|
21
|
+
function requirementKey(requirement) {
|
|
22
|
+
return `${requirement.from}\0${requirement.name}\0${requirement.selector}\0${requirement.kind}`;
|
|
23
|
+
}
|
|
24
|
+
/** True when a release package of `internalVersions` satisfies `selector` for `name`. */
|
|
25
|
+
function satisfiedByRelease(internalVersions, name, effectiveSelector) {
|
|
26
|
+
const internalVersion = internalVersions.get(name);
|
|
27
|
+
return Boolean(internalVersion &&
|
|
28
|
+
validRange(effectiveSelector) &&
|
|
29
|
+
npmRegistryVersionSatisfiesSelector(internalVersion, effectiveSelector));
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The skipped public edges the proof registry would break. Its filter hides every upstream version
|
|
33
|
+
* of a sealed package that is newer than a sealed one and inside `^sealed`, so an edge to a package
|
|
34
|
+
* the closure already sealed, whose selector no sealed version satisfies, needs that version sealed
|
|
35
|
+
* too (a transitive's exact pin on a version npm's engine preference skipped). An edge to a package
|
|
36
|
+
* with nothing sealed stays unsealed: the filter leaves that package's upstream versions alone.
|
|
37
|
+
*/
|
|
38
|
+
export function publicEdgesToSeal(skipped, sealedVersions) {
|
|
39
|
+
return skipped.filter((edge) => {
|
|
40
|
+
const sealed = sealedVersions.get(edge.packageName);
|
|
41
|
+
if (!sealed || sealed.length === 0 || !validRange(edge.effectiveSelector))
|
|
42
|
+
return false;
|
|
43
|
+
return !sealed.some((version) => npmRegistryVersionSatisfiesSelector(version, edge.effectiveSelector));
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Optional peers of release artifacts that no release package satisfies; the
|
|
48
|
+
* proof acquires them so an installed consumer can exercise them.
|
|
49
|
+
*/
|
|
50
|
+
export function internalOptionalPeerRequirements(options) {
|
|
51
|
+
return options.artifacts.flatMap((artifact) => Object.entries(artifact.manifest.peerDependencies ?? {})
|
|
52
|
+
.filter(([name]) => artifact.manifest.peerDependenciesMeta?.[name]?.optional === true)
|
|
53
|
+
.filter(([name, selector]) => !satisfiedByRelease(options.internalVersions, name, effectiveExternalSelector(options.rootOverrides, name, selector)))
|
|
54
|
+
.map(([name, selector]) => ({ artifact, name, selector })));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Fetch the plan's external requirements and optional peers, and every
|
|
58
|
+
* private-registry dependency beneath them, into `externalRoot`.
|
|
59
|
+
*/
|
|
60
|
+
export async function acquireExternalProofClosure(options) {
|
|
61
|
+
const { rootOverrides, sourceRegistry, credentials } = options;
|
|
62
|
+
const sealedWorkspaceInputByRequirement = new Map((options.sealedWorkspaceInputs ?? []).map((input) => [
|
|
63
|
+
requirementKey(input.requirement),
|
|
64
|
+
input,
|
|
65
|
+
]));
|
|
66
|
+
const internalOptionalPeerEdges = new Map();
|
|
67
|
+
const externalNodes = new Map();
|
|
68
|
+
const externalRequests = new Map();
|
|
69
|
+
const externalRequestNodes = new Map();
|
|
70
|
+
const skippedPublicEdges = [];
|
|
71
|
+
const discoverExternal = async (from, expectedName, selector, optional = false, sealedInput) => {
|
|
72
|
+
const effectiveSelector = effectiveExternalSelector(rootOverrides, expectedName, selector);
|
|
73
|
+
if (sealedInput &&
|
|
74
|
+
(sealedInput.effectiveSelector !== effectiveSelector ||
|
|
75
|
+
!npmRegistryVersionSatisfiesSelector(sealedInput.version, effectiveSelector))) {
|
|
76
|
+
throw new Error(`Sealed workspace input ${expectedName}@${sealedInput.version} no longer satisfies ${effectiveSelector}`);
|
|
77
|
+
}
|
|
78
|
+
const reference = registryExternalReference({
|
|
79
|
+
from,
|
|
80
|
+
name: expectedName,
|
|
81
|
+
selector: effectiveSelector,
|
|
82
|
+
});
|
|
83
|
+
const registry = registryForProofPackage(reference.packageName, sourceRegistry);
|
|
84
|
+
if (sealedInput &&
|
|
85
|
+
normalizeRegistryUrl(sealedInput.registry) !== registry) {
|
|
86
|
+
throw new Error(`Sealed workspace input ${expectedName}@${sealedInput.version} changed Registry origin`);
|
|
87
|
+
}
|
|
88
|
+
const requestSelector = sealedInput?.version ?? reference.selector;
|
|
89
|
+
const requestKey = `${registry}\0${reference.packageName}\0${requestSelector}${sealedInput ? `\0sealed:${sealedInput.integrity}` : ""}`;
|
|
90
|
+
const resolvedRequest = externalRequestNodes.get(requestKey);
|
|
91
|
+
if (resolvedRequest)
|
|
92
|
+
return resolvedRequest;
|
|
93
|
+
const pending = externalRequests.get(requestKey);
|
|
94
|
+
if (pending)
|
|
95
|
+
return pending;
|
|
96
|
+
const request = (async () => {
|
|
97
|
+
const paths = await getRuntimePath(options.runtime);
|
|
98
|
+
const files = await resolveFileSystemAdapter(options.runtime, { binding: false });
|
|
99
|
+
const digest = (await hashHex(options.runtime, "sha256", requestKey)).slice(0, 16);
|
|
100
|
+
const downloadDir = paths.join(options.externalRoot, "downloads", digest);
|
|
101
|
+
await files.mkdir(downloadDir, { recursive: true });
|
|
102
|
+
let tarball;
|
|
103
|
+
if (sealedInput) {
|
|
104
|
+
await files.stat(sealedInput.tarball);
|
|
105
|
+
tarball = sealedInput.tarball;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
await credentials.ensureFresh(registry);
|
|
109
|
+
const packExternal = () => runRegistryExternalPack({
|
|
110
|
+
from,
|
|
111
|
+
name: expectedName,
|
|
112
|
+
selector: effectiveSelector,
|
|
113
|
+
downloadDir,
|
|
114
|
+
registry,
|
|
115
|
+
proofRoot: options.proofRoot,
|
|
116
|
+
env: options.env,
|
|
117
|
+
execution: options.execution,
|
|
118
|
+
runtime: options.runtime,
|
|
119
|
+
redactValues: [...credentials.redactValues],
|
|
120
|
+
});
|
|
121
|
+
let { args, result } = await packExternal();
|
|
122
|
+
let output = `${result.stdout}\n${result.stderr}`;
|
|
123
|
+
if (result.status !== 0 &&
|
|
124
|
+
concealedNotFound.test(output) &&
|
|
125
|
+
(await credentials.ensureFresh(registry, { force: true }))) {
|
|
126
|
+
({ args, result } = await packExternal());
|
|
127
|
+
output = `${result.stdout}\n${result.stderr}`;
|
|
128
|
+
}
|
|
129
|
+
if (result.status !== 0) {
|
|
130
|
+
if (optional && optionalCoordinateAbsent(output)) {
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
throw new NpmCommandError(args, result);
|
|
134
|
+
}
|
|
135
|
+
tarball = await newestTarball(options.runtime, downloadDir);
|
|
136
|
+
}
|
|
137
|
+
const manifest = await readProofArtifactManifest(options.execution, options.runtime, tarball);
|
|
138
|
+
if (manifest.name !== reference.packageName) {
|
|
139
|
+
throw new Error(`Offline release proof expected ${expectedName}@${effectiveSelector} to fetch ${reference.packageName} from ${registry}, found ${manifest.name}`);
|
|
140
|
+
}
|
|
141
|
+
assertExternalPackageSelector({
|
|
142
|
+
from,
|
|
143
|
+
name: expectedName,
|
|
144
|
+
selector: effectiveSelector,
|
|
145
|
+
resolvedName: manifest.name,
|
|
146
|
+
resolvedVersion: manifest.version,
|
|
147
|
+
});
|
|
148
|
+
if (sealedInput) {
|
|
149
|
+
const tarballBytes = z.instanceof(Uint8Array).parse(await files.readFile(tarball));
|
|
150
|
+
const integrity = `sha512-${await hashBase64(options.runtime, "sha512", tarballBytes)}`;
|
|
151
|
+
if (manifest.version !== sealedInput.version ||
|
|
152
|
+
integrity !== sealedInput.integrity) {
|
|
153
|
+
throw new Error(`Sealed workspace input changed after preflight: ${manifest.name}@${manifest.version}`);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
if (optional && !isPackagePlatformCompatible(manifest, hostPlatformFacts(options.runtime).platform, hostPlatformFacts(options.runtime).architecture))
|
|
157
|
+
return null;
|
|
158
|
+
const key = `${manifest.name}@${manifest.version}#${(await hashHex(options.runtime, "sha256", registry)).slice(0, 12)}`;
|
|
159
|
+
const artifactSha256 = await hashHex(options.runtime, "sha256", z.instanceof(Uint8Array).parse(await files.readFile(tarball)));
|
|
160
|
+
const existing = externalNodes.get(key);
|
|
161
|
+
if (existing) {
|
|
162
|
+
if (existing.artifactSha256 !== artifactSha256) {
|
|
163
|
+
throw new Error(`External proof Registry returned conflicting bytes for ${manifest.name}@${manifest.version}`);
|
|
164
|
+
}
|
|
165
|
+
externalRequestNodes.set(requestKey, existing.key);
|
|
166
|
+
return existing.key;
|
|
167
|
+
}
|
|
168
|
+
const node = {
|
|
169
|
+
key,
|
|
170
|
+
registry,
|
|
171
|
+
manifest,
|
|
172
|
+
dependencies: new Map(),
|
|
173
|
+
optionalDependencies: new Map(),
|
|
174
|
+
peerDependencies: new Map(),
|
|
175
|
+
tarball,
|
|
176
|
+
artifactSha256,
|
|
177
|
+
};
|
|
178
|
+
externalNodes.set(key, node);
|
|
179
|
+
externalRequestNodes.set(requestKey, key);
|
|
180
|
+
for (const [field, selectors] of [
|
|
181
|
+
["dependencies", manifest.dependencies ?? {}],
|
|
182
|
+
["optionalDependencies", manifest.optionalDependencies ?? {}],
|
|
183
|
+
["peerDependencies", manifest.peerDependencies ?? {}],
|
|
184
|
+
]) {
|
|
185
|
+
for (const name of Object.keys(selectors).sort()) {
|
|
186
|
+
const selector = selectors[name];
|
|
187
|
+
const effectiveSelector = effectiveExternalSelector(rootOverrides, name, selector);
|
|
188
|
+
const optionalPeer = field === "peerDependencies" &&
|
|
189
|
+
manifest.peerDependenciesMeta?.[name]?.optional === true;
|
|
190
|
+
if (satisfiedByRelease(options.internalVersions, name, effectiveSelector)) {
|
|
191
|
+
continue;
|
|
192
|
+
}
|
|
193
|
+
// Resolve the dependency's Registry origin before packing. Public
|
|
194
|
+
// npm transitive edges stay unsealed: consumer install proves they
|
|
195
|
+
// resolve via the proof-local upstream proxy instead of pre-packing
|
|
196
|
+
// the entire public graph (ETIMEDOUT on ~3-4k packs).
|
|
197
|
+
const dependencyReference = registryExternalReference({
|
|
198
|
+
from: key,
|
|
199
|
+
name,
|
|
200
|
+
selector: effectiveSelector,
|
|
201
|
+
});
|
|
202
|
+
if (isPublicNpmProofRegistry(registryForProofPackage(dependencyReference.packageName, sourceRegistry))) {
|
|
203
|
+
skippedPublicEdges.push({
|
|
204
|
+
from: key,
|
|
205
|
+
name,
|
|
206
|
+
selector,
|
|
207
|
+
effectiveSelector,
|
|
208
|
+
packageName: dependencyReference.packageName,
|
|
209
|
+
optional: field === "optionalDependencies" || optionalPeer,
|
|
210
|
+
});
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
213
|
+
const dependencyKey = await discoverExternal(key, name, selector, field === "optionalDependencies" || optionalPeer);
|
|
214
|
+
if (dependencyKey) {
|
|
215
|
+
const edge = {
|
|
216
|
+
key: dependencyKey,
|
|
217
|
+
packageName: dependencyReference.packageName,
|
|
218
|
+
selector: dependencyReference.selector,
|
|
219
|
+
dependencySelector: dependencyReference.dependencySelector,
|
|
220
|
+
};
|
|
221
|
+
if (optionalPeer) {
|
|
222
|
+
edge.optionalPeer = true;
|
|
223
|
+
}
|
|
224
|
+
node[field].set(name, edge);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
return key;
|
|
229
|
+
})();
|
|
230
|
+
externalRequests.set(requestKey, request);
|
|
231
|
+
return request;
|
|
232
|
+
};
|
|
233
|
+
const rootKeys = new Set();
|
|
234
|
+
const acquiredRequirements = new Set();
|
|
235
|
+
for (const requirement of options.plan.externalRequirements) {
|
|
236
|
+
if (!options.workspace.has(requirement.from)) {
|
|
237
|
+
throw new Error(`Offline release proof has unknown requirement owner ${requirement.from}`);
|
|
238
|
+
}
|
|
239
|
+
if (options.internalNames.has(requirement.name))
|
|
240
|
+
continue;
|
|
241
|
+
const sealedInput = sealedWorkspaceInputByRequirement.get(requirementKey(requirement));
|
|
242
|
+
if (requirement.source === "workspace" && !sealedInput) {
|
|
243
|
+
throw new Error(`Offline release proof requires a preflight-sealed workspace input for ${requirement.from} -> ${requirement.name}@${requirement.selector}`);
|
|
244
|
+
}
|
|
245
|
+
const key = await discoverExternal(requirement.from, requirement.name, requirement.selector, requirement.kind === "optional-dependency", sealedInput);
|
|
246
|
+
if (!key) {
|
|
247
|
+
if (requirement.kind === "optional-dependency")
|
|
248
|
+
continue;
|
|
249
|
+
throw new Error(`Offline release proof cannot fetch ${requirement.from} dependency ${requirement.name}`);
|
|
250
|
+
}
|
|
251
|
+
rootKeys.add(key);
|
|
252
|
+
acquiredRequirements.add(requirement);
|
|
253
|
+
}
|
|
254
|
+
for (const { artifact, name, selector } of [
|
|
255
|
+
...options.optionalPeerRequirements,
|
|
256
|
+
].sort((left, right) => `${left.artifact.manifest.name}\0${left.name}`.localeCompare(`${right.artifact.manifest.name}\0${right.name}`))) {
|
|
257
|
+
const from = `${artifact.manifest.name}@${artifact.manifest.version}`;
|
|
258
|
+
const dependencyKey = await discoverExternal(from, name, selector, true);
|
|
259
|
+
if (!dependencyKey)
|
|
260
|
+
continue;
|
|
261
|
+
const edges = internalOptionalPeerEdges.get(artifact.manifest.name) ?? new Map();
|
|
262
|
+
const reference = registryExternalReference({
|
|
263
|
+
from,
|
|
264
|
+
name,
|
|
265
|
+
selector: effectiveExternalSelector(rootOverrides, name, selector),
|
|
266
|
+
});
|
|
267
|
+
edges.set(name, {
|
|
268
|
+
key: dependencyKey,
|
|
269
|
+
packageName: reference.packageName,
|
|
270
|
+
selector: reference.selector,
|
|
271
|
+
dependencySelector: reference.dependencySelector,
|
|
272
|
+
optionalPeer: true,
|
|
273
|
+
});
|
|
274
|
+
internalOptionalPeerEdges.set(artifact.manifest.name, edges);
|
|
275
|
+
}
|
|
276
|
+
// Seal what the proof registry's filter would otherwise hide: until a pass seals nothing new, every
|
|
277
|
+
// skipped public edge to an already sealed package that no sealed version satisfies is sealed too.
|
|
278
|
+
const sealedEdgeKeys = new Set();
|
|
279
|
+
for (;;) {
|
|
280
|
+
const sealedVersions = new Map();
|
|
281
|
+
for (const node of externalNodes.values()) {
|
|
282
|
+
const versions = sealedVersions.get(node.manifest.name) ?? [];
|
|
283
|
+
versions.push(node.manifest.version);
|
|
284
|
+
sealedVersions.set(node.manifest.name, versions);
|
|
285
|
+
}
|
|
286
|
+
const pending = publicEdgesToSeal(skippedPublicEdges, sealedVersions).filter((edge) => !sealedEdgeKeys.has(`${edge.packageName}\0${edge.effectiveSelector}`));
|
|
287
|
+
if (pending.length === 0)
|
|
288
|
+
break;
|
|
289
|
+
for (const edge of pending) {
|
|
290
|
+
sealedEdgeKeys.add(`${edge.packageName}\0${edge.effectiveSelector}`);
|
|
291
|
+
await discoverExternal(edge.from, edge.name, edge.selector, edge.optional);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
return {
|
|
295
|
+
nodes: externalNodes,
|
|
296
|
+
rootKeys,
|
|
297
|
+
acquiredRequirements,
|
|
298
|
+
internalOptionalPeerEdges,
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
/** Every package name the external closure can install, for override scoping. */
|
|
302
|
+
export function externalProofPackageNames(plan, closure) {
|
|
303
|
+
return new Set([
|
|
304
|
+
...[...closure.nodes.values()].flatMap((node) => [
|
|
305
|
+
node.manifest.name,
|
|
306
|
+
...node.dependencies.keys(),
|
|
307
|
+
...node.optionalDependencies.keys(),
|
|
308
|
+
...node.peerDependencies.keys(),
|
|
309
|
+
]),
|
|
310
|
+
...plan.externalRequirements.map((requirement) => requirement.name),
|
|
311
|
+
...[...closure.internalOptionalPeerEdges.values()].flatMap((edges) => [
|
|
312
|
+
...edges.keys(),
|
|
313
|
+
]),
|
|
314
|
+
]);
|
|
315
|
+
}
|
|
316
|
+
/** The auditable `release-consumer-plan.json` record of what the proof installs. */
|
|
317
|
+
export function releaseConsumerPlanRecord(options) {
|
|
318
|
+
const edgeKeys = (edges) => Object.fromEntries([...edges].map(([name, edge]) => [name, edge.key]));
|
|
319
|
+
return {
|
|
320
|
+
internalInstallRoots: options.internalInstallRoots,
|
|
321
|
+
externalInstallRoots: [...options.closure.rootKeys].sort(),
|
|
322
|
+
consumerOverrides: options.consumerOverrides,
|
|
323
|
+
internalOptionalPeerDependencies: Object.fromEntries([...options.closure.internalOptionalPeerEdges]
|
|
324
|
+
.sort(([left], [right]) => left.localeCompare(right))
|
|
325
|
+
.map(([from, edges]) => [from, edgeKeys(edges)])),
|
|
326
|
+
externalNodes: [...options.closure.nodes.values()]
|
|
327
|
+
.sort((left, right) => left.key.localeCompare(right.key))
|
|
328
|
+
.map((node) => ({
|
|
329
|
+
key: node.key,
|
|
330
|
+
registry: node.registry,
|
|
331
|
+
dependencies: edgeKeys(node.dependencies),
|
|
332
|
+
optionalDependencies: edgeKeys(node.optionalDependencies),
|
|
333
|
+
peerDependencies: edgeKeys(node.peerDependencies),
|
|
334
|
+
tarball: node.tarball,
|
|
335
|
+
artifactSha256: node.artifactSha256,
|
|
336
|
+
})),
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
//# sourceMappingURL=proof-external-closure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proof-external-closure.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/proof-external-closure.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAQ3B,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,mCAAmC,EACnC,yBAAyB,EACzB,uBAAuB,GAExB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAE/D,OAAO,EACL,yBAAyB,EACzB,uBAAuB,GAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AA+C1F,MAAM,iBAAiB,GAAG,iDAAiD,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CAAC,MAAc;IACrD,OAAO,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,wCAAwC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACjG,CAAC;AAED,SAAS,cAAc,CAAC,WAKvB;IACC,OAAO,GAAG,WAAW,CAAC,IAAI,KAAK,WAAW,CAAC,IAAI,KAAK,WAAW,CAAC,QAAQ,KAAK,WA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AC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;aACpD,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CACnD;QACD,aAAa,EAAE,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;aAC/C,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aACxD,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACd,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC;YACzC,oBAAoB,EAAE,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC;YACzD,gBAAgB,EAAE,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACjD,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,cAAc,EAAE,IAAI,CAAC,cAAc;SACpC,CAAC,CAAC;KACN,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ChildEnvRuntime } from "../../shared/runtime-execution.ts";
|
|
2
|
+
import type { RegistryReleaseSetPlan } from "@vibesdotdev/registry";
|
|
3
|
+
import type { PublisherManifest } from "./publisher-manifest.ts";
|
|
4
|
+
import type { ExternalProofClosure } from "./proof-external-closure.ts";
|
|
5
|
+
import { type ReleaseConsumerSourceRegistry } from "./proof-registry.ts";
|
|
6
|
+
/** The verified resolutions of an installed release proof consumer. */
|
|
7
|
+
export type InstalledReleaseGraph = {
|
|
8
|
+
/** `name@version#path` of every verified release installation, sorted. */
|
|
9
|
+
internalResolutions: string[];
|
|
10
|
+
/** `from->name@version#path` of every direct external requirement. */
|
|
11
|
+
externalResolutions: string[];
|
|
12
|
+
/** `from->name@version#path` of every verified sealed external edge, sorted. */
|
|
13
|
+
externalGraphResolutions: string[];
|
|
14
|
+
};
|
|
15
|
+
/** Walk the installed consumer from its roots and verify every resolution. */
|
|
16
|
+
export declare function verifyInstalledReleaseGraph(options: {
|
|
17
|
+
runtime: ChildEnvRuntime;
|
|
18
|
+
consumerDir: string;
|
|
19
|
+
plan: RegistryReleaseSetPlan;
|
|
20
|
+
/** Internal install roots and the exact version each must resolve to. */
|
|
21
|
+
internalProofDependencies: Readonly<Record<string, string>>;
|
|
22
|
+
rootOverrides: Readonly<NonNullable<PublisherManifest["overrides"]>>;
|
|
23
|
+
sourceRegistry: ReleaseConsumerSourceRegistry;
|
|
24
|
+
closure: ExternalProofClosure;
|
|
25
|
+
}): Promise<InstalledReleaseGraph>;
|
|
26
|
+
//# sourceMappingURL=proof-installed-graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proof-installed-graph.d.ts","sourceRoot":"","sources":["../../../../src/cli/npm/publish/proof-installed-graph.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,EAEV,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,qBAAqB,CAAC;AAE7B,uEAAuE;AACvE,MAAM,MAAM,qBAAqB,GAAG;IAClC,0EAA0E;IAC1E,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,sEAAsE;IACtE,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,gFAAgF;IAChF,wBAAwB,EAAE,MAAM,EAAE,CAAC;CACpC,CAAC;AAuBF,8EAA8E;AAC9E,wBAAsB,2BAA2B,CAAC,OAAO,EAAE;IACzD,OAAO,EAAE,eAAe,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,yEAAyE;IACzE,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5D,aAAa,EAAE,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACrE,cAAc,EAAE,6BAA6B,CAAC;IAC9C,OAAO,EAAE,oBAAoB,CAAC;CAC/B,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA+LjC"}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verification of an installed release proof consumer: every internal root and
|
|
3
|
+
* internal edge resolves to the exact planned version, every external
|
|
4
|
+
* requirement satisfies its selector, and every private-registry resolution is
|
|
5
|
+
* one of the sealed external nodes (never an unsealed coordinate).
|
|
6
|
+
*/
|
|
7
|
+
import { getRuntimePath } from "@vibesdotdev/paths";
|
|
8
|
+
import { assertExternalPackageSelector, effectiveExternalSelector, registryExternalReference, } from "./external-requirements.js";
|
|
9
|
+
import { readPackageJson } from "./fs-paths.js";
|
|
10
|
+
import { registryForProofPackage, resolveInstalledPackageDirectory, } from "./proof-registry.js";
|
|
11
|
+
/** The sealed node an installed package resolves to, or an unsealed-coordinate error. */
|
|
12
|
+
function sealedExternalNode(options) {
|
|
13
|
+
const node = [...options.closure.nodes.values()].find((candidate) => candidate.registry === options.registry &&
|
|
14
|
+
candidate.manifest.name === options.resolved.name &&
|
|
15
|
+
candidate.manifest.version === options.resolved.version);
|
|
16
|
+
if (!node) {
|
|
17
|
+
throw new Error(`Installed release proof resolved an unsealed external coordinate for ${options.from}: ${options.resolved.name ?? "unknown"}@${options.resolved.version ?? "unknown"}`);
|
|
18
|
+
}
|
|
19
|
+
return node;
|
|
20
|
+
}
|
|
21
|
+
/** Walk the installed consumer from its roots and verify every resolution. */
|
|
22
|
+
export async function verifyInstalledReleaseGraph(options) {
|
|
23
|
+
const { consumerDir, plan, closure, sourceRegistry } = options;
|
|
24
|
+
const paths = await getRuntimePath(options.runtime);
|
|
25
|
+
const internalResolutions = [];
|
|
26
|
+
const pendingInternalInstalls = [];
|
|
27
|
+
for (const [name, version] of Object.entries(options.internalProofDependencies)) {
|
|
28
|
+
const resolvedDir = await resolveInstalledPackageDirectory({
|
|
29
|
+
runtime: options.runtime,
|
|
30
|
+
workspaceRoot: consumerDir,
|
|
31
|
+
fromDir: consumerDir,
|
|
32
|
+
name,
|
|
33
|
+
});
|
|
34
|
+
if (!resolvedDir) {
|
|
35
|
+
throw new Error(`Installed release proof cannot resolve internal root ${name}@${version}`);
|
|
36
|
+
}
|
|
37
|
+
const resolved = await readPackageJson(options.runtime, resolvedDir, { binding: false });
|
|
38
|
+
if (resolved.version !== version) {
|
|
39
|
+
throw new Error(`Installed release proof expected internal root ${name}@${version}, resolved ${resolved.version ?? "unknown"}`);
|
|
40
|
+
}
|
|
41
|
+
pendingInternalInstalls.push([name, resolvedDir]);
|
|
42
|
+
}
|
|
43
|
+
const externalResolutions = [];
|
|
44
|
+
const externalGraphResolutions = [];
|
|
45
|
+
const installedExternalDirectories = new Map();
|
|
46
|
+
const recordInstalledExternal = (nodeKey, directory) => {
|
|
47
|
+
installedExternalDirectories.set(`${nodeKey}\0${directory}`, [
|
|
48
|
+
nodeKey,
|
|
49
|
+
directory,
|
|
50
|
+
]);
|
|
51
|
+
};
|
|
52
|
+
for (const requirement of plan.externalRequirements) {
|
|
53
|
+
await verifyExternalRequirement({
|
|
54
|
+
runtime: options.runtime,
|
|
55
|
+
requirement,
|
|
56
|
+
consumerDir,
|
|
57
|
+
rootOverrides: options.rootOverrides,
|
|
58
|
+
sourceRegistry,
|
|
59
|
+
closure,
|
|
60
|
+
onSealed: recordInstalledExternal,
|
|
61
|
+
onResolved: (resolution) => externalResolutions.push(resolution),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
const internalInstallations = [];
|
|
65
|
+
const verifiedInternalInstalls = new Set();
|
|
66
|
+
while (pendingInternalInstalls.length > 0) {
|
|
67
|
+
const [name, directory] = pendingInternalInstalls.shift();
|
|
68
|
+
const installationKey = `${name}\0${directory}`;
|
|
69
|
+
if (verifiedInternalInstalls.has(installationKey))
|
|
70
|
+
continue;
|
|
71
|
+
verifiedInternalInstalls.add(installationKey);
|
|
72
|
+
internalInstallations.push([name, directory]);
|
|
73
|
+
const manifest = await readPackageJson(options.runtime, directory, { binding: false });
|
|
74
|
+
internalResolutions.push(`${name}@${manifest.version}#${paths.relative(consumerDir, directory)}`);
|
|
75
|
+
for (const edge of plan.edges.filter((candidate) => candidate.from === name)) {
|
|
76
|
+
const dependencyDir = await resolveInstalledPackageDirectory({
|
|
77
|
+
runtime: options.runtime,
|
|
78
|
+
workspaceRoot: consumerDir,
|
|
79
|
+
fromDir: directory,
|
|
80
|
+
name: edge.to,
|
|
81
|
+
});
|
|
82
|
+
if (!dependencyDir) {
|
|
83
|
+
if (edge.kind === "optional-dependency")
|
|
84
|
+
continue;
|
|
85
|
+
throw new Error(`Installed release proof cannot resolve internal edge ${name} -> ${edge.to}@${edge.resolvedVersion}`);
|
|
86
|
+
}
|
|
87
|
+
const resolvedDependency = await readPackageJson(options.runtime, dependencyDir, { binding: false });
|
|
88
|
+
if (resolvedDependency.name !== edge.to ||
|
|
89
|
+
resolvedDependency.version !== edge.resolvedVersion) {
|
|
90
|
+
throw new Error(`Installed release proof expected internal edge ${name} -> ${edge.to}@${edge.resolvedVersion}, resolved ${resolvedDependency.name ?? "unknown"}@${resolvedDependency.version ?? "unknown"}`);
|
|
91
|
+
}
|
|
92
|
+
pendingInternalInstalls.push([edge.to, dependencyDir]);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
for (const [from, fromDir] of internalInstallations) {
|
|
96
|
+
const edges = closure.internalOptionalPeerEdges.get(from);
|
|
97
|
+
if (!edges)
|
|
98
|
+
continue;
|
|
99
|
+
for (const [name, edge] of edges) {
|
|
100
|
+
const dependencyDir = await resolveInstalledPackageDirectory({
|
|
101
|
+
runtime: options.runtime,
|
|
102
|
+
workspaceRoot: consumerDir,
|
|
103
|
+
fromDir,
|
|
104
|
+
name,
|
|
105
|
+
});
|
|
106
|
+
if (!dependencyDir)
|
|
107
|
+
continue;
|
|
108
|
+
const resolvedDependency = await readPackageJson(options.runtime, dependencyDir, { binding: false });
|
|
109
|
+
if (resolvedDependency.name !== edge.packageName) {
|
|
110
|
+
throw new Error(`Installed release proof expected ${from} -> ${name}@${edge.dependencySelector}, resolved ${resolvedDependency.name ?? "unknown"}@${resolvedDependency.version ?? "unknown"}`);
|
|
111
|
+
}
|
|
112
|
+
assertExternalPackageSelector({
|
|
113
|
+
from,
|
|
114
|
+
name,
|
|
115
|
+
selector: edge.dependencySelector,
|
|
116
|
+
resolvedName: resolvedDependency.name,
|
|
117
|
+
resolvedVersion: resolvedDependency.version,
|
|
118
|
+
});
|
|
119
|
+
const resolvedNode = sealedExternalNode({
|
|
120
|
+
closure,
|
|
121
|
+
registry: registryForProofPackage(edge.packageName, sourceRegistry),
|
|
122
|
+
resolved: resolvedDependency,
|
|
123
|
+
from,
|
|
124
|
+
});
|
|
125
|
+
externalGraphResolutions.push(`${from}->${resolvedNode.manifest.name}@${resolvedNode.manifest.version}#${paths.relative(consumerDir, dependencyDir)}`);
|
|
126
|
+
recordInstalledExternal(resolvedNode.key, dependencyDir);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
const pendingExternalInstalls = [...installedExternalDirectories.values()];
|
|
130
|
+
const verifiedExternalInstalls = new Set();
|
|
131
|
+
while (pendingExternalInstalls.length > 0) {
|
|
132
|
+
const [nodeKey, nodeDir] = pendingExternalInstalls.shift();
|
|
133
|
+
const installationKey = `${nodeKey}\0${nodeDir}`;
|
|
134
|
+
if (verifiedExternalInstalls.has(installationKey))
|
|
135
|
+
continue;
|
|
136
|
+
verifiedExternalInstalls.add(installationKey);
|
|
137
|
+
const node = closure.nodes.get(nodeKey);
|
|
138
|
+
const from = `${node.manifest.name}@${node.manifest.version}`;
|
|
139
|
+
for (const dependencies of [
|
|
140
|
+
node.dependencies,
|
|
141
|
+
node.optionalDependencies,
|
|
142
|
+
node.peerDependencies,
|
|
143
|
+
]) {
|
|
144
|
+
for (const [name, edge] of dependencies) {
|
|
145
|
+
const dependencyDir = await resolveInstalledPackageDirectory({
|
|
146
|
+
runtime: options.runtime,
|
|
147
|
+
workspaceRoot: consumerDir,
|
|
148
|
+
fromDir: nodeDir,
|
|
149
|
+
name,
|
|
150
|
+
});
|
|
151
|
+
const acquiredDependency = closure.nodes.get(edge.key);
|
|
152
|
+
if (!dependencyDir) {
|
|
153
|
+
if (edge.optionalPeer ||
|
|
154
|
+
dependencies === node.optionalDependencies ||
|
|
155
|
+
dependencies === node.peerDependencies) {
|
|
156
|
+
continue;
|
|
157
|
+
}
|
|
158
|
+
throw new Error(`Installed release proof cannot resolve ${from} -> ${acquiredDependency.manifest.name}@${edge.selector}`);
|
|
159
|
+
}
|
|
160
|
+
const resolvedDependency = await readPackageJson(options.runtime, dependencyDir, { binding: false });
|
|
161
|
+
if (resolvedDependency.name !== edge.packageName) {
|
|
162
|
+
throw new Error(`Installed release proof expected ${from} -> ${name}@${edge.dependencySelector}, resolved ${resolvedDependency.name ?? "unknown"}@${resolvedDependency.version ?? "unknown"}`);
|
|
163
|
+
}
|
|
164
|
+
assertExternalPackageSelector({
|
|
165
|
+
from,
|
|
166
|
+
name,
|
|
167
|
+
selector: edge.dependencySelector,
|
|
168
|
+
resolvedName: resolvedDependency.name,
|
|
169
|
+
resolvedVersion: resolvedDependency.version,
|
|
170
|
+
});
|
|
171
|
+
const resolvedNode = sealedExternalNode({
|
|
172
|
+
closure,
|
|
173
|
+
registry: registryForProofPackage(edge.packageName, sourceRegistry),
|
|
174
|
+
resolved: resolvedDependency,
|
|
175
|
+
from,
|
|
176
|
+
});
|
|
177
|
+
externalGraphResolutions.push(`${from}->${resolvedNode.manifest.name}@${resolvedNode.manifest.version}#${paths.relative(consumerDir, dependencyDir)}`);
|
|
178
|
+
pendingExternalInstalls.push([resolvedNode.key, dependencyDir]);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return {
|
|
183
|
+
internalResolutions: internalResolutions.sort(),
|
|
184
|
+
externalResolutions,
|
|
185
|
+
externalGraphResolutions: [...new Set(externalGraphResolutions)].sort(),
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
/** Verify one direct external requirement as installed under its owner. */
|
|
189
|
+
async function verifyExternalRequirement(options) {
|
|
190
|
+
const { requirement, consumerDir } = options;
|
|
191
|
+
const paths = await getRuntimePath(options.runtime);
|
|
192
|
+
const ownerDir = paths.join(consumerDir, "node_modules", ...requirement.from.split("/"));
|
|
193
|
+
const resolvedDir = await resolveInstalledPackageDirectory({
|
|
194
|
+
runtime: options.runtime,
|
|
195
|
+
workspaceRoot: consumerDir,
|
|
196
|
+
fromDir: ownerDir,
|
|
197
|
+
name: requirement.name,
|
|
198
|
+
});
|
|
199
|
+
if (!resolvedDir) {
|
|
200
|
+
if (requirement.kind === "optional-dependency")
|
|
201
|
+
return;
|
|
202
|
+
throw new Error(`Installed release proof cannot resolve ${requirement.from} -> ${requirement.name}`);
|
|
203
|
+
}
|
|
204
|
+
const resolved = await readPackageJson(options.runtime, resolvedDir, { binding: false });
|
|
205
|
+
const effectiveSelector = effectiveExternalSelector(options.rootOverrides, requirement.name, requirement.selector);
|
|
206
|
+
const reference = registryExternalReference({
|
|
207
|
+
from: requirement.from,
|
|
208
|
+
name: requirement.name,
|
|
209
|
+
selector: effectiveSelector,
|
|
210
|
+
});
|
|
211
|
+
assertExternalPackageSelector({
|
|
212
|
+
from: requirement.from,
|
|
213
|
+
name: requirement.name,
|
|
214
|
+
selector: effectiveSelector,
|
|
215
|
+
resolvedName: resolved.name,
|
|
216
|
+
resolvedVersion: resolved.version,
|
|
217
|
+
});
|
|
218
|
+
if (options.closure.acquiredRequirements.has(requirement)) {
|
|
219
|
+
const resolvedNode = sealedExternalNode({
|
|
220
|
+
closure: options.closure,
|
|
221
|
+
registry: registryForProofPackage(reference.packageName, options.sourceRegistry),
|
|
222
|
+
resolved,
|
|
223
|
+
from: requirement.from,
|
|
224
|
+
});
|
|
225
|
+
options.onSealed(resolvedNode.key, resolvedDir);
|
|
226
|
+
}
|
|
227
|
+
options.onResolved(`${requirement.from}->${requirement.name}@${resolved.version}#${paths.relative(consumerDir, resolvedDir)}`);
|
|
228
|
+
}
|
|
229
|
+
//# sourceMappingURL=proof-installed-graph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proof-installed-graph.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/proof-installed-graph.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMpD,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMhD,OAAO,EACL,uBAAuB,EACvB,gCAAgC,GAEjC,MAAM,qBAAqB,CAAC;AAY7B,yFAAyF;AACzF,SAAS,kBAAkB,CAAC,OAK3B;IACC,MAAM,IAAI,GAAG,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACnD,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,CAAC,QAAQ,KAAK,OAAO,CAAC,QAAQ;QACvC,SAAS,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,CAAC,QAAQ,CAAC,IAAI;QACjD,SAAS,CAAC,QAAQ,CAAC,OAAO,KAAK,OAA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