@vibesdotdev/infra-deploy 0.0.2 → 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 +76 -12
- 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 +1160 -111
- 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 +107 -38
- 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,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Publishing one package: seal it (stage at its assigned version, pack,
|
|
3
|
+
* verify), prove the Registry does not already hold different bytes at that
|
|
4
|
+
* version, then publish it directly or through a managed lease.
|
|
5
|
+
*/
|
|
6
|
+
import type { ChildEnvRuntime } from "../../shared/runtime-execution.ts";
|
|
7
|
+
import type { UIContext } from "@vibesdotdev/cli/providers";
|
|
8
|
+
import { CapabilityError, type CaughtFailure } from "@vibesdotdev/kernel";
|
|
9
|
+
import type { JobExecutionContext } from "@vibesdotdev/kernel/kinds";
|
|
10
|
+
import type { RuntimeExecution } from "@vibesdotdev/kernel/execution";
|
|
11
|
+
import type { PlatformRegistryClient } from "./platform-registry.ts";
|
|
12
|
+
import type { ReleaseConsumerSourceRegistry } from "./proof-registry.ts";
|
|
13
|
+
import type { ReleasePublishRetryState } from "../../../schemas/release-jobs.ts";
|
|
14
|
+
import type { ManagedRegistryReleaseWorkspaceWire } from "./release-workspace.ts";
|
|
15
|
+
import type { PublishResult, RegistryReleasePublishTarget, RegistryWorkspaceProvenance } from "./types.ts";
|
|
16
|
+
export declare class ReleasePublishRetryRequested extends CapabilityError {
|
|
17
|
+
readonly reason: "transient" | "rate-limit";
|
|
18
|
+
readonly failure: CaughtFailure;
|
|
19
|
+
constructor(reason: "transient" | "rate-limit", failure: CaughtFailure);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Seal and publish one package at `version` (its assigned release version;
|
|
23
|
+
* defaults to the source manifest's). With `sealedArtifact`, publishes those
|
|
24
|
+
* exact sealed bytes instead of re-packing. A version the Registry already
|
|
25
|
+
* holds is reused only when its bytes and provenance match; otherwise refused.
|
|
26
|
+
*/
|
|
27
|
+
export declare function publishPackage(options: {
|
|
28
|
+
/** The release run's Platform Registry client, bound to the command's runtime. */
|
|
29
|
+
platformRegistry: PlatformRegistryClient;
|
|
30
|
+
/** Absolute package directory. */
|
|
31
|
+
packageDir: string;
|
|
32
|
+
/** The publish workspace root; release temporary roots live under it. */
|
|
33
|
+
workspaceRoot: string;
|
|
34
|
+
registry?: string;
|
|
35
|
+
scope?: string;
|
|
36
|
+
tag?: string;
|
|
37
|
+
otp?: string;
|
|
38
|
+
provenance: boolean;
|
|
39
|
+
dryRun: boolean;
|
|
40
|
+
token?: string;
|
|
41
|
+
resolveToken?: () => Promise<string | undefined>;
|
|
42
|
+
rateLimitRetries: number;
|
|
43
|
+
rateLimitDelayMs: number;
|
|
44
|
+
retry?: ReleasePublishRetryState;
|
|
45
|
+
signal?: AbortSignal;
|
|
46
|
+
park?: JobExecutionContext<unknown>["park"];
|
|
47
|
+
ui: Pick<UIContext, "info" | "warn" | "log">;
|
|
48
|
+
versions: Map<string, string>;
|
|
49
|
+
sourceRegistry?: ReleaseConsumerSourceRegistry;
|
|
50
|
+
execution: RuntimeExecution;
|
|
51
|
+
/** The runtime child environments are composed from. */
|
|
52
|
+
runtime: ChildEnvRuntime;
|
|
53
|
+
quiet: boolean;
|
|
54
|
+
build?: boolean;
|
|
55
|
+
managedLease: boolean;
|
|
56
|
+
authorityVerify: boolean;
|
|
57
|
+
artifactDir?: string;
|
|
58
|
+
workspaceProvenance: RegistryWorkspaceProvenance;
|
|
59
|
+
expectedGitHead: string;
|
|
60
|
+
releaseWorkspace?: ManagedRegistryReleaseWorkspaceWire;
|
|
61
|
+
publishTargets?: readonly RegistryReleasePublishTarget[];
|
|
62
|
+
sealedArtifact?: PublishResult;
|
|
63
|
+
/** Assigned release version; defaults to the source manifest version. */
|
|
64
|
+
version?: string;
|
|
65
|
+
}): Promise<PublishResult>;
|
|
66
|
+
//# sourceMappingURL=publish-package.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish-package.d.ts","sourceRoot":"","sources":["../../../../src/cli/npm/publish/publish-package.ts"],"names":[],"m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ChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,wBAAwB,CAAC;IACjC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5C,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC;IAC7C,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,6BAA6B,CAAC;IAC/C,SAAS,EAAE,gBAAgB,CAAC;IAC5B,wDAAwD;IACxD,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,2BAA2B,CAAC;IACjD,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,mCAAmC,CAAC;IACvD,cAAc,CAAC,EAAE,SAAS,4BAA4B,EAAE,CAAC;IACzD,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAAC,aAAa,CAAC,CA0jBzB"}
|
|
@@ -0,0 +1,544 @@
|
|
|
1
|
+
import { GIT_CHILD_ENV } from "@vibesdotdev/git-operations/core";
|
|
2
|
+
import { hashBase64 } from "@vibesdotdev/crypto";
|
|
3
|
+
import { resolveFileSystemAdapter } from "@vibesdotdev/filesystem";
|
|
4
|
+
import { getRuntimePath } from "@vibesdotdev/paths";
|
|
5
|
+
import { z } from "zod/v4";
|
|
6
|
+
import { classifyRegistryReleaseAvailability, publishAccessForManifest, } from "@vibesdotdev/registry";
|
|
7
|
+
import { CapabilityError, CaughtFailureSchema, } from "@vibesdotdev/kernel";
|
|
8
|
+
import { infraDeployLogger } from "../../../logger.js";
|
|
9
|
+
import { runRuntimeCommand } from "../../shared/runtime-execution.js";
|
|
10
|
+
import { defaultDistTagForVersion, putAttestedPackument } from "../put-attested-packument.js";
|
|
11
|
+
import { readPackageJson } from "./fs-paths.js";
|
|
12
|
+
import { assertAuthorityLeaseRejected, mintManagedPublishLease, revokeManagedPublishLease, } from "./managed-lease.js";
|
|
13
|
+
import { isNpmExistingVersionError, isNpmRateLimitError, isTransientPublishError, isolatedNpmPackEnv, NpmCommandError, publishArgs, runNpm, versionSpec, writeTempNpmrc, } from "./npm-exec.js";
|
|
14
|
+
import { sealPackageArtifact, sealedPublishMetadata } from "./package-artifact.js";
|
|
15
|
+
import { MANAGED_LEASE_POLL_DEADLINE_MS, } from "./platform-registry.js";
|
|
16
|
+
import { npmPublishedArtifactIdentity } from "./registry-reads.js";
|
|
17
|
+
import { normalizeRegistryUrl, resolvePublishRegistry, registryServiceOrigin, } from "./registry-credentials.js";
|
|
18
|
+
import { cleanupSensitiveTempRoot, createReleaseTempRoot, SENSITIVE_TEMP_ROOT_PREFIXES, } from "./sensitive-temp.js";
|
|
19
|
+
import { assertRegistryReleaseSourceCommit, assertManagedSourceClean, registryReleaseStatusBlocksSnapshot, REGISTRY_RELEASE_STATUS_ARGS, resolveSourceCommit, } from "./source-snapshot.js";
|
|
20
|
+
/** Bound on the authority-lease expiry wait; the delay itself is 1.25s. */
|
|
21
|
+
const AUTHORITY_LEASE_EXPIRY_WAIT_TIMEOUT_MS = 30_000;
|
|
22
|
+
export class ReleasePublishRetryRequested extends CapabilityError {
|
|
23
|
+
reason;
|
|
24
|
+
failure;
|
|
25
|
+
constructor(reason, failure) {
|
|
26
|
+
super(`Registry publish failed with a retryable ${reason} outcome.`, "UNAVAILABLE", {
|
|
27
|
+
reason: "release-publish-retry-requested",
|
|
28
|
+
retryable: true,
|
|
29
|
+
details: { retryReason: reason },
|
|
30
|
+
cause: failure,
|
|
31
|
+
});
|
|
32
|
+
this.reason = reason;
|
|
33
|
+
this.failure = failure;
|
|
34
|
+
this.name = "ReleasePublishRetryRequested";
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Seal and publish one package at `version` (its assigned release version;
|
|
39
|
+
* defaults to the source manifest's). With `sealedArtifact`, publishes those
|
|
40
|
+
* exact sealed bytes instead of re-packing. A version the Registry already
|
|
41
|
+
* holds is reused only when its bytes and provenance match; otherwise refused.
|
|
42
|
+
*/
|
|
43
|
+
export async function publishPackage(options) {
|
|
44
|
+
const retry = options.retry ?? {
|
|
45
|
+
attempts: 0,
|
|
46
|
+
transientRetries: 0,
|
|
47
|
+
rateLimitRetries: 0,
|
|
48
|
+
leaseDeadlineAt: options.runtime.lifecycle.now() + MANAGED_LEASE_POLL_DEADLINE_MS,
|
|
49
|
+
grantReadLagAttempt: 0,
|
|
50
|
+
leasePolls: 0,
|
|
51
|
+
};
|
|
52
|
+
const publishAttempt = retry.attempts + 1;
|
|
53
|
+
const paths = await getRuntimePath(options.runtime);
|
|
54
|
+
const files = await resolveFileSystemAdapter(options.runtime, { binding: false });
|
|
55
|
+
if (!paths.isAbsolute(options.packageDir)) {
|
|
56
|
+
throw new CapabilityError(`Package directory must be absolute: ${options.packageDir}`, "INVALID_INPUT", { reason: "path-relative", details: { packageDir: options.packageDir } });
|
|
57
|
+
}
|
|
58
|
+
const packageDir = paths.resolve(options.packageDir);
|
|
59
|
+
const tempWorkspaceRoot = options.workspaceRoot;
|
|
60
|
+
const pkg = await readPackageJson(options.runtime, packageDir);
|
|
61
|
+
// The tier is the one access fact; a disagreeing manifest refuses before build.
|
|
62
|
+
const access = publishAccessForManifest(pkg);
|
|
63
|
+
const sourceVersion = pkg.version;
|
|
64
|
+
const version = options.version ?? sourceVersion;
|
|
65
|
+
const registry = resolvePublishRegistry(pkg, options.registry);
|
|
66
|
+
const tag = options.tag ?? pkg.publishConfig?.tag;
|
|
67
|
+
const provenance = options.workspaceProvenance;
|
|
68
|
+
// Key order is part of the sealed-metadata comparison, so the live metadata
|
|
69
|
+
// is built by the same constructor the seal uses.
|
|
70
|
+
const livePublishMetadata = sealedPublishMetadata({
|
|
71
|
+
registry,
|
|
72
|
+
access,
|
|
73
|
+
tag,
|
|
74
|
+
provenance,
|
|
75
|
+
});
|
|
76
|
+
const registryOrigin = await registryServiceOrigin(options.runtime);
|
|
77
|
+
let publishMetadata = livePublishMetadata;
|
|
78
|
+
const tempRoot = await createReleaseTempRoot(options.runtime, tempWorkspaceRoot, SENSITIVE_TEMP_ROOT_PREFIXES.publish);
|
|
79
|
+
const npmrcPath = paths.join(tempRoot, ".npmrc");
|
|
80
|
+
const homeDir = paths.join(tempRoot, "home");
|
|
81
|
+
const cacheDir = paths.join(tempRoot, "cache");
|
|
82
|
+
let lease;
|
|
83
|
+
let expiryLease;
|
|
84
|
+
let resolvedToken;
|
|
85
|
+
let verifiedExpiryLeaseId;
|
|
86
|
+
let primaryFailure;
|
|
87
|
+
try {
|
|
88
|
+
if (options.managedLease) {
|
|
89
|
+
await assertManagedSourceClean({
|
|
90
|
+
pkg,
|
|
91
|
+
packageDir,
|
|
92
|
+
execution: options.execution,
|
|
93
|
+
runtime: options.runtime,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
const packageStatus = await runRuntimeCommand({
|
|
98
|
+
runtime: options.runtime,
|
|
99
|
+
execution: options.execution,
|
|
100
|
+
command: "git",
|
|
101
|
+
inheritEnv: GIT_CHILD_ENV,
|
|
102
|
+
args: [...REGISTRY_RELEASE_STATUS_ARGS, "--untracked-files=all", "--", "."],
|
|
103
|
+
cwd: packageDir,
|
|
104
|
+
});
|
|
105
|
+
if (packageStatus.code === 0 &&
|
|
106
|
+
registryReleaseStatusBlocksSnapshot(packageStatus.stdout)) {
|
|
107
|
+
throw new Error(`Registry publish refuses dirty package source for ${pkg.name}@${version}; dirty paths:\n${packageStatus.stdout}`);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
const gitHead = await resolveSourceCommit({
|
|
111
|
+
pkg,
|
|
112
|
+
packageDir,
|
|
113
|
+
execution: options.execution,
|
|
114
|
+
runtime: options.runtime,
|
|
115
|
+
});
|
|
116
|
+
assertRegistryReleaseSourceCommit({
|
|
117
|
+
expected: options.expectedGitHead,
|
|
118
|
+
observed: gitHead,
|
|
119
|
+
message: `Registry release source commit changed for ${pkg.name}@${version}: expected ${options.expectedGitHead}, found ${gitHead}`,
|
|
120
|
+
});
|
|
121
|
+
await files.mkdir(homeDir, { recursive: true });
|
|
122
|
+
await files.mkdir(cacheDir, { recursive: true });
|
|
123
|
+
await files.writeFile(npmrcPath, "");
|
|
124
|
+
let tarball;
|
|
125
|
+
let verifiedFiles;
|
|
126
|
+
let verifiedExports;
|
|
127
|
+
let retainedTarball;
|
|
128
|
+
if (options.sealedArtifact) {
|
|
129
|
+
const sealed = options.sealedArtifact;
|
|
130
|
+
if (!sealed.publishMetadata) {
|
|
131
|
+
throw new Error(`Sealed publish metadata is unavailable for ${pkg.name}@${version}`);
|
|
132
|
+
}
|
|
133
|
+
if (JSON.stringify(sealed.publishMetadata) !==
|
|
134
|
+
JSON.stringify(livePublishMetadata)) {
|
|
135
|
+
throw new Error(`Sealed publish metadata changed for ${pkg.name}@${version}`);
|
|
136
|
+
}
|
|
137
|
+
publishMetadata = sealed.publishMetadata;
|
|
138
|
+
if (sealed.name !== pkg.name ||
|
|
139
|
+
sealed.version !== version ||
|
|
140
|
+
sealed.packageDir !== packageDir) {
|
|
141
|
+
throw new Error(`Sealed release artifact identity does not match ${pkg.name}@${version}`);
|
|
142
|
+
}
|
|
143
|
+
if (!sealed.tarball || !paths.isAbsolute(sealed.tarball)) {
|
|
144
|
+
throw new Error(`Sealed release artifact path is unavailable for ${pkg.name}@${version}`);
|
|
145
|
+
}
|
|
146
|
+
if (!sealed.artifactIntegrity) {
|
|
147
|
+
throw new Error(`Sealed release evidence is incomplete for ${pkg.name}@${version}`);
|
|
148
|
+
}
|
|
149
|
+
assertRegistryReleaseSourceCommit({
|
|
150
|
+
expected: sealed.gitHead,
|
|
151
|
+
observed: gitHead,
|
|
152
|
+
message: `Sealed release evidence is incomplete for ${pkg.name}@${version}`,
|
|
153
|
+
});
|
|
154
|
+
await files.stat(sealed.tarball);
|
|
155
|
+
tarball = sealed.tarball;
|
|
156
|
+
verifiedFiles = sealed.verifiedFiles;
|
|
157
|
+
verifiedExports = sealed.verifiedExports;
|
|
158
|
+
retainedTarball = sealed.tarball;
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
const fresh = await sealPackageArtifact({
|
|
162
|
+
pkg,
|
|
163
|
+
version,
|
|
164
|
+
packageDir,
|
|
165
|
+
tempRoot,
|
|
166
|
+
versions: options.versions,
|
|
167
|
+
gitHead,
|
|
168
|
+
workspaceProvenance: options.workspaceProvenance,
|
|
169
|
+
registry: options.registry,
|
|
170
|
+
tag: options.tag,
|
|
171
|
+
artifactDir: options.artifactDir,
|
|
172
|
+
build: options.build,
|
|
173
|
+
npmEnv: isolatedNpmPackEnv({ homeDir, cacheDir, npmrcPath }),
|
|
174
|
+
sourceRegistry: options.sourceRegistry,
|
|
175
|
+
execution: options.execution,
|
|
176
|
+
runtime: options.runtime,
|
|
177
|
+
quiet: options.quiet,
|
|
178
|
+
ui: options.ui,
|
|
179
|
+
});
|
|
180
|
+
tarball = fresh.tarball;
|
|
181
|
+
verifiedFiles = fresh.verification.verifiedFiles;
|
|
182
|
+
verifiedExports = fresh.verification.verifiedExports;
|
|
183
|
+
retainedTarball = fresh.retainedTarball;
|
|
184
|
+
publishMetadata = fresh.publishMetadata;
|
|
185
|
+
}
|
|
186
|
+
const candidate = {
|
|
187
|
+
name: pkg.name,
|
|
188
|
+
version,
|
|
189
|
+
integrity: `sha512-${await hashBase64(options.runtime, "sha512", z.instanceof(Uint8Array).parse(await files.readFile(tarball)))}`,
|
|
190
|
+
repository: publishMetadata.provenance.repository,
|
|
191
|
+
gitHead,
|
|
192
|
+
};
|
|
193
|
+
if (options.sealedArtifact &&
|
|
194
|
+
options.sealedArtifact.artifactIntegrity !== candidate.integrity) {
|
|
195
|
+
throw new Error(`Sealed release artifact bytes changed for ${pkg.name}@${version}`);
|
|
196
|
+
}
|
|
197
|
+
const availability = classifyRegistryReleaseAvailability(candidate, await npmPublishedArtifactIdentity({
|
|
198
|
+
name: pkg.name,
|
|
199
|
+
version,
|
|
200
|
+
registry: publishMetadata.registry,
|
|
201
|
+
scope: options.scope,
|
|
202
|
+
cwd: tempRoot,
|
|
203
|
+
env: isolatedNpmPackEnv({ homeDir, cacheDir, npmrcPath }),
|
|
204
|
+
execution: options.execution,
|
|
205
|
+
runtime: options.runtime,
|
|
206
|
+
}));
|
|
207
|
+
if (availability.action === "conflict") {
|
|
208
|
+
throw new Error(`${pkg.name}@${version} is immutable and differs from the published artifact (${availability.mismatches.join(", ")}); the Registry changed after version assignment, so rerun the release to assign a new version`);
|
|
209
|
+
}
|
|
210
|
+
if (availability.action === "reuse") {
|
|
211
|
+
if (!options.quiet)
|
|
212
|
+
options.ui.info(`Reusing verified-identical ${pkg.name}@${version}.`);
|
|
213
|
+
const reused = {
|
|
214
|
+
name: pkg.name,
|
|
215
|
+
version,
|
|
216
|
+
sourceVersion,
|
|
217
|
+
packageDir,
|
|
218
|
+
tarball: retainedTarball ?? tarball,
|
|
219
|
+
dryRun: options.dryRun,
|
|
220
|
+
ok: true,
|
|
221
|
+
skipped: true,
|
|
222
|
+
reason: "already-published",
|
|
223
|
+
attempts: 0,
|
|
224
|
+
artifactIntegrity: candidate.integrity,
|
|
225
|
+
gitHead,
|
|
226
|
+
publishMetadata,
|
|
227
|
+
};
|
|
228
|
+
if (verifiedFiles !== undefined)
|
|
229
|
+
reused.verifiedFiles = verifiedFiles;
|
|
230
|
+
if (verifiedExports !== undefined)
|
|
231
|
+
reused.verifiedExports = verifiedExports;
|
|
232
|
+
return reused;
|
|
233
|
+
}
|
|
234
|
+
if (options.authorityVerify &&
|
|
235
|
+
(!options.managedLease || !gitHead || !options.releaseWorkspace || !options.publishTargets)) {
|
|
236
|
+
throw new Error("Authority verification requires a managed lease and sealed release evidence");
|
|
237
|
+
}
|
|
238
|
+
if (options.managedLease &&
|
|
239
|
+
(!gitHead || !options.releaseWorkspace || !options.publishTargets)) {
|
|
240
|
+
throw new Error(`Managed Registry publish requires sealed release evidence for ${pkg.name}`);
|
|
241
|
+
}
|
|
242
|
+
const mintLease = (ttlSeconds) => {
|
|
243
|
+
const request = {
|
|
244
|
+
runtime: options.runtime,
|
|
245
|
+
request: options.platformRegistry.raw,
|
|
246
|
+
pkg: {
|
|
247
|
+
...pkg,
|
|
248
|
+
version,
|
|
249
|
+
repository: publishMetadata.provenance.repository,
|
|
250
|
+
vibes: {
|
|
251
|
+
...pkg.vibes,
|
|
252
|
+
registry: {
|
|
253
|
+
repositoryId: publishMetadata.provenance.repositoryId,
|
|
254
|
+
directory: publishMetadata.provenance.directory,
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
gitHead: gitHead,
|
|
259
|
+
integrity: candidate.integrity,
|
|
260
|
+
releaseWorkspace: options.releaseWorkspace,
|
|
261
|
+
registry: publishMetadata.registry,
|
|
262
|
+
deadlineAt: retry.leaseDeadlineAt,
|
|
263
|
+
signal: options.signal,
|
|
264
|
+
park: options.park,
|
|
265
|
+
};
|
|
266
|
+
if (ttlSeconds !== undefined)
|
|
267
|
+
request.ttlSeconds = ttlSeconds;
|
|
268
|
+
return mintManagedPublishLease(request);
|
|
269
|
+
};
|
|
270
|
+
if (options.managedLease) {
|
|
271
|
+
lease = await mintLease();
|
|
272
|
+
}
|
|
273
|
+
if (options.authorityVerify) {
|
|
274
|
+
expiryLease = await mintLease(1);
|
|
275
|
+
verifiedExpiryLeaseId = expiryLease.id;
|
|
276
|
+
}
|
|
277
|
+
// If either lease request needs a delayed Workers continuation, the
|
|
278
|
+
// cleanup below revokes every issued lease before this attempt returns.
|
|
279
|
+
resolvedToken = lease?.token ?? await options.resolveToken?.() ?? options.token;
|
|
280
|
+
await writeTempNpmrc({
|
|
281
|
+
runtime: options.runtime,
|
|
282
|
+
path: npmrcPath,
|
|
283
|
+
registry: publishMetadata.registry,
|
|
284
|
+
scope: options.scope,
|
|
285
|
+
token: resolvedToken,
|
|
286
|
+
homeDir,
|
|
287
|
+
});
|
|
288
|
+
const env = {
|
|
289
|
+
NPM_CONFIG_USERCONFIG: npmrcPath,
|
|
290
|
+
HOME: homeDir,
|
|
291
|
+
USERPROFILE: homeDir,
|
|
292
|
+
};
|
|
293
|
+
const publishEnv = options.otp === undefined
|
|
294
|
+
? env
|
|
295
|
+
: { ...env, NPM_CONFIG_OTP: options.otp };
|
|
296
|
+
const args = publishArgs({
|
|
297
|
+
tarball,
|
|
298
|
+
registry: publishMetadata.registry,
|
|
299
|
+
access: publishMetadata.access,
|
|
300
|
+
tag: publishMetadata.tag ?? (defaultDistTagForVersion(version) === "rc" ? "rc" : undefined),
|
|
301
|
+
provenance: options.provenance &&
|
|
302
|
+
normalizeRegistryUrl(publishMetadata.registry) !== registryOrigin,
|
|
303
|
+
dryRun: options.dryRun,
|
|
304
|
+
});
|
|
305
|
+
if (options.authorityVerify) {
|
|
306
|
+
if (!lease || !expiryLease || !verifiedExpiryLeaseId)
|
|
307
|
+
throw new Error("Authority verification leases were not created");
|
|
308
|
+
await writeTempNpmrc({
|
|
309
|
+
runtime: options.runtime,
|
|
310
|
+
path: npmrcPath,
|
|
311
|
+
registry: publishMetadata.registry,
|
|
312
|
+
scope: options.scope,
|
|
313
|
+
token: expiryLease.token,
|
|
314
|
+
homeDir,
|
|
315
|
+
});
|
|
316
|
+
await options.runtime.lifecycle.wait(() => options.runtime.lifecycle.delay(1_250), {
|
|
317
|
+
timeoutMs: AUTHORITY_LEASE_EXPIRY_WAIT_TIMEOUT_MS,
|
|
318
|
+
signal: options.signal,
|
|
319
|
+
reason: "authority lease expiry verification",
|
|
320
|
+
});
|
|
321
|
+
const expired = await runNpm(options.execution, args, {
|
|
322
|
+
runtime: options.runtime,
|
|
323
|
+
cwd: tempRoot,
|
|
324
|
+
env,
|
|
325
|
+
quiet: true,
|
|
326
|
+
allowFailure: true,
|
|
327
|
+
redactValues: [expiryLease.token],
|
|
328
|
+
});
|
|
329
|
+
assertAuthorityLeaseRejected(expired, "Expired publish lease");
|
|
330
|
+
await writeTempNpmrc({
|
|
331
|
+
runtime: options.runtime,
|
|
332
|
+
path: npmrcPath,
|
|
333
|
+
registry: publishMetadata.registry,
|
|
334
|
+
scope: options.scope,
|
|
335
|
+
token: lease.token,
|
|
336
|
+
homeDir,
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
if (!options.quiet) {
|
|
340
|
+
options.ui.info(`${options.dryRun ? "Dry-running publish" : "Publishing"} ${pkg.name}@${version} to ${publishMetadata.registry}`);
|
|
341
|
+
}
|
|
342
|
+
const publishOnce = async () => {
|
|
343
|
+
try {
|
|
344
|
+
const attestedToken = resolvedToken;
|
|
345
|
+
if (!options.dryRun &&
|
|
346
|
+
normalizeRegistryUrl(publishMetadata.registry) === registryOrigin) {
|
|
347
|
+
if (!attestedToken) {
|
|
348
|
+
throw new Error(`Attested publish to ${registryOrigin} requires a bearer token for ${pkg.name}@${version}`);
|
|
349
|
+
}
|
|
350
|
+
const put = await putAttestedPackument({
|
|
351
|
+
runtime: options.runtime,
|
|
352
|
+
tarball: { path: tarball },
|
|
353
|
+
registry: publishMetadata.registry,
|
|
354
|
+
token: attestedToken,
|
|
355
|
+
tag: publishMetadata.tag,
|
|
356
|
+
access: publishMetadata.access,
|
|
357
|
+
});
|
|
358
|
+
if (put.latestTag.state === "unread") {
|
|
359
|
+
const { code, reason } = put.latestTag.failure;
|
|
360
|
+
options.ui.warn(`${pkg.name}@${version} is published on ${publishMetadata.tag ?? defaultDistTagForVersion(version)}, but its dist-tags could not be read ` +
|
|
361
|
+
`(${code ?? "error"}${reason ? ` ${reason}` : ""}), so a prerelease latest tag was not advanced.`);
|
|
362
|
+
}
|
|
363
|
+
return { ok: true };
|
|
364
|
+
}
|
|
365
|
+
const npmResult = await runNpm(options.execution, args, {
|
|
366
|
+
runtime: options.runtime,
|
|
367
|
+
cwd: tempRoot,
|
|
368
|
+
env: publishEnv,
|
|
369
|
+
quiet: options.quiet,
|
|
370
|
+
allowFailure: true,
|
|
371
|
+
onLine: (_stream, line) => options.ui.log(line),
|
|
372
|
+
redactValues: [
|
|
373
|
+
...(lease ? [lease.token] : []),
|
|
374
|
+
...(options.otp ? [options.otp] : []),
|
|
375
|
+
],
|
|
376
|
+
});
|
|
377
|
+
if (npmResult.status !== 0) {
|
|
378
|
+
return {
|
|
379
|
+
ok: false,
|
|
380
|
+
cause: new NpmCommandError(args, npmResult),
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
return { ok: true };
|
|
384
|
+
}
|
|
385
|
+
catch (error) {
|
|
386
|
+
return { ok: false, cause: CaughtFailureSchema.parse(error) };
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
const attempts = publishAttempt;
|
|
390
|
+
const outcome = await publishOnce();
|
|
391
|
+
if (!outcome.ok) {
|
|
392
|
+
if (isNpmExistingVersionError(outcome.cause)) {
|
|
393
|
+
const winner = await npmPublishedArtifactIdentity({
|
|
394
|
+
name: pkg.name,
|
|
395
|
+
version,
|
|
396
|
+
registry: publishMetadata.registry,
|
|
397
|
+
scope: options.scope,
|
|
398
|
+
cwd: tempRoot,
|
|
399
|
+
env: isolatedNpmPackEnv({ homeDir, cacheDir, npmrcPath }),
|
|
400
|
+
execution: options.execution,
|
|
401
|
+
runtime: options.runtime,
|
|
402
|
+
});
|
|
403
|
+
const racedAvailability = classifyRegistryReleaseAvailability(candidate, winner);
|
|
404
|
+
if (racedAvailability.action !== "reuse") {
|
|
405
|
+
throw new Error(`${pkg.name}@${version} appeared during publication but its published identity could not be verified as identical`, { cause: outcome.cause });
|
|
406
|
+
}
|
|
407
|
+
if (!options.quiet)
|
|
408
|
+
options.ui.info(`${pkg.name}@${version} is already published; skipping.`);
|
|
409
|
+
const skipped = {
|
|
410
|
+
name: pkg.name,
|
|
411
|
+
version,
|
|
412
|
+
sourceVersion,
|
|
413
|
+
packageDir,
|
|
414
|
+
tarball: retainedTarball ?? tarball,
|
|
415
|
+
dryRun: options.dryRun,
|
|
416
|
+
ok: true,
|
|
417
|
+
skipped: true,
|
|
418
|
+
reason: "already-published",
|
|
419
|
+
attempts,
|
|
420
|
+
artifactIntegrity: candidate.integrity,
|
|
421
|
+
gitHead,
|
|
422
|
+
publishMetadata,
|
|
423
|
+
};
|
|
424
|
+
if (verifiedFiles !== undefined)
|
|
425
|
+
skipped.verifiedFiles = verifiedFiles;
|
|
426
|
+
if (verifiedExports !== undefined)
|
|
427
|
+
skipped.verifiedExports = verifiedExports;
|
|
428
|
+
return skipped;
|
|
429
|
+
}
|
|
430
|
+
if (isTransientPublishError(outcome.cause)) {
|
|
431
|
+
throw new ReleasePublishRetryRequested("transient", CaughtFailureSchema.parse(outcome.cause));
|
|
432
|
+
}
|
|
433
|
+
if (isNpmRateLimitError(outcome.cause)) {
|
|
434
|
+
throw new ReleasePublishRetryRequested("rate-limit", CaughtFailureSchema.parse(outcome.cause));
|
|
435
|
+
}
|
|
436
|
+
throw outcome.cause;
|
|
437
|
+
}
|
|
438
|
+
let authority;
|
|
439
|
+
if (options.authorityVerify) {
|
|
440
|
+
if (!lease || !gitHead)
|
|
441
|
+
throw new Error("Authority verification requires a managed publish lease");
|
|
442
|
+
if (!verifiedExpiryLeaseId)
|
|
443
|
+
throw new Error("Authority verification expiry lease was not created");
|
|
444
|
+
const replay = await runNpm(options.execution, [...args, "--force"], {
|
|
445
|
+
runtime: options.runtime,
|
|
446
|
+
cwd: tempRoot,
|
|
447
|
+
env,
|
|
448
|
+
quiet: true,
|
|
449
|
+
allowFailure: true,
|
|
450
|
+
redactValues: [lease.token],
|
|
451
|
+
});
|
|
452
|
+
assertAuthorityLeaseRejected(replay, "Consumed publish lease replay");
|
|
453
|
+
const installDir = paths.join(tempRoot, "install");
|
|
454
|
+
await files.mkdir(installDir, { recursive: true });
|
|
455
|
+
await files.writeFile(paths.join(installDir, "package.json"), '{"private":true}\n');
|
|
456
|
+
await runNpm(options.execution, [
|
|
457
|
+
"install",
|
|
458
|
+
versionSpec(pkg.name, version),
|
|
459
|
+
"--registry",
|
|
460
|
+
publishMetadata.registry,
|
|
461
|
+
"--no-audit",
|
|
462
|
+
"--no-fund",
|
|
463
|
+
], {
|
|
464
|
+
runtime: options.runtime,
|
|
465
|
+
cwd: installDir,
|
|
466
|
+
env,
|
|
467
|
+
quiet: true,
|
|
468
|
+
redactValues: [lease.token],
|
|
469
|
+
});
|
|
470
|
+
authority = {
|
|
471
|
+
publish: "passed",
|
|
472
|
+
install: "passed",
|
|
473
|
+
replay: "rejected",
|
|
474
|
+
expiry: "rejected",
|
|
475
|
+
leaseId: lease.id,
|
|
476
|
+
expiryLeaseId: verifiedExpiryLeaseId,
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
const published = {
|
|
480
|
+
name: pkg.name,
|
|
481
|
+
version,
|
|
482
|
+
sourceVersion,
|
|
483
|
+
packageDir,
|
|
484
|
+
tarball: retainedTarball ?? paths.basename(tarball),
|
|
485
|
+
dryRun: options.dryRun,
|
|
486
|
+
ok: true,
|
|
487
|
+
attempts,
|
|
488
|
+
artifactIntegrity: candidate.integrity,
|
|
489
|
+
publishMetadata,
|
|
490
|
+
gitHead,
|
|
491
|
+
};
|
|
492
|
+
if (verifiedFiles !== undefined)
|
|
493
|
+
published.verifiedFiles = verifiedFiles;
|
|
494
|
+
if (verifiedExports !== undefined)
|
|
495
|
+
published.verifiedExports = verifiedExports;
|
|
496
|
+
if (options.provenance) {
|
|
497
|
+
published.provenance =
|
|
498
|
+
normalizeRegistryUrl(publishMetadata.registry) === registryOrigin
|
|
499
|
+
? "source-commit"
|
|
500
|
+
: "npm-attestation";
|
|
501
|
+
}
|
|
502
|
+
if (authority !== undefined)
|
|
503
|
+
published.authority = authority;
|
|
504
|
+
return published;
|
|
505
|
+
}
|
|
506
|
+
catch (error) {
|
|
507
|
+
primaryFailure = { error };
|
|
508
|
+
throw error;
|
|
509
|
+
}
|
|
510
|
+
finally {
|
|
511
|
+
const afterRemove = [];
|
|
512
|
+
const revokeLease = async (id) => {
|
|
513
|
+
const revoked = await revokeManagedPublishLease(options.platformRegistry, id, publishMetadata?.registry);
|
|
514
|
+
if (revoked.ok)
|
|
515
|
+
return;
|
|
516
|
+
infraDeployLogger(options.runtime).warn("Publish lease revoke failed; the one-use lease expires on its own.", { error: revoked.cause });
|
|
517
|
+
};
|
|
518
|
+
if (expiryLease) {
|
|
519
|
+
const expiryLeaseId = expiryLease.id;
|
|
520
|
+
afterRemove.push(() => revokeLease(expiryLeaseId));
|
|
521
|
+
}
|
|
522
|
+
if (lease) {
|
|
523
|
+
const leaseId = lease.id;
|
|
524
|
+
afterRemove.push(() => revokeLease(leaseId));
|
|
525
|
+
}
|
|
526
|
+
const cleanupRedactValues = [
|
|
527
|
+
options.token,
|
|
528
|
+
resolvedToken,
|
|
529
|
+
lease?.token,
|
|
530
|
+
expiryLease?.token,
|
|
531
|
+
].filter((value) => Boolean(value));
|
|
532
|
+
await cleanupSensitiveTempRoot({
|
|
533
|
+
runtime: options.runtime,
|
|
534
|
+
root: tempRoot,
|
|
535
|
+
npmrcPath,
|
|
536
|
+
expectedPrefix: SENSITIVE_TEMP_ROOT_PREFIXES.publish,
|
|
537
|
+
workspaceRoot: tempWorkspaceRoot,
|
|
538
|
+
primaryFailure,
|
|
539
|
+
afterRemove,
|
|
540
|
+
redactValues: cleanupRedactValues,
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
//# sourceMappingURL=publish-package.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish-package.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/publish-package.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,wBAAwB,GAEzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf,mBAAmB,GAEpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,MAAM,EACN,WAAW,EACX,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnF,OAAO,EACL,8BAA8B,GAE/B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AAInC,OAAO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