@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 @@
|
|
|
1
|
+
{"version":3,"file":"consumer-smoke.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/consumer-smoke.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnG,OAAO,EACL,gBAAgB,GAEjB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,EACL,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EACL,qBAAqB,EACrB,mCAAmC,EACnC,sBAAsB,EACtB,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAC;IACvC,KAAK;IACL,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,cAAc;IACd,KAAK;CACN,CAAC,CAAC;AAEH,sEAAsE;AACtE,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC;IACxC,MAAM;IACN,QAAQ;IACR,SAAS;IACT,SAAS;IACT,QAAQ;CACT,CAAC,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AAO,CAAC,OAAO;YACxB,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,OAAO,EAAE,KAAK;YACd,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;YACtB,GAAG,EAAE,OAAO,CAAC,YAAY;SAC1B,CAAC,CAAC;QACH,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;QAChE,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,iBAAiB,CAAC;YACpC,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,OAAO,EAAE,KAAK;YACd,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;YACtB,GAAG,EAAE,OAAO,CAAC,YAAY;SAC1B,CAAC,CAAC;QACH,OAAO;YACL,EAAE,EAAE,KAAK,CAAC,IAAI,KAAK,CAAC;YACpB,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;iBAC1D,MAAM,CAAC,OAAO,CAAC;iBACf,IAAI,CAAC,IAAI,CAAC;SACd,CAAC;IACJ,CAAC;YAAS,CAAC;QACT,MAAM,4BAA4B,CAChC,OAAO,CAAC,OAAO,EACf,YAAY,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAClC,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Release consumer surfaces: which profile specifiers a consumer imports
|
|
3
|
+
* directly, and the bundler/SSR proof for the ones a bare runtime cannot load.
|
|
4
|
+
*/
|
|
5
|
+
import type { ChildEnvRuntime } from "../../shared/runtime-execution.ts";
|
|
6
|
+
import type { RegistryReleaseSetPlan, RegistryReleaseWorkspacePackage } from "@vibesdotdev/registry";
|
|
7
|
+
import type { RuntimeExecution } from "@vibesdotdev/kernel/execution";
|
|
8
|
+
/**
|
|
9
|
+
* Vite config for the surface proof consumer; release packages are bundled for SSR.
|
|
10
|
+
*/
|
|
11
|
+
export declare function releaseConsumerViteConfig(internalPackageNames: readonly string[]): string;
|
|
12
|
+
/**
|
|
13
|
+
* One bare-runtime import batch: the runtime, owning profile roots and specifiers.
|
|
14
|
+
*/
|
|
15
|
+
export type ReleaseConsumerRootImportPlan = {
|
|
16
|
+
runtime: "node" | "bun";
|
|
17
|
+
profileRoots: string[];
|
|
18
|
+
importSpecifiers: string[];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The subpaths a profile has DECLARED as framework surfaces — the ones a bare
|
|
22
|
+
* runtime cannot load. Read off the profile, never inferred from the specifier's
|
|
23
|
+
* text: a publisher may put a Svelte surface at `/ui`, or ship something at
|
|
24
|
+
* `/svelte-utils` that is plain JS, and the release proof has no business
|
|
25
|
+
* guessing either way from our own naming habits.
|
|
26
|
+
*
|
|
27
|
+
* One definition, because the bare-runtime plan and the installed surface proof
|
|
28
|
+
* must partition the specifier set between them — if they disagree, a specifier
|
|
29
|
+
* is either proven twice or not at all.
|
|
30
|
+
*/
|
|
31
|
+
export declare function releaseConsumerSurfaceSpecifiers(profile: RegistryReleaseSetPlan["profiles"][number]): ReadonlySet<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Binds every proof import to the runtime declared by its profile owner.
|
|
34
|
+
*
|
|
35
|
+
* Svelte surface specifiers are deliberately excluded here: their module graph
|
|
36
|
+
* reaches `.svelte` files, which no bare runtime can load (node throws
|
|
37
|
+
* ERR_UNKNOWN_FILE_EXTENSION, bun needs a registered plugin). They are proven
|
|
38
|
+
* by the stronger installed SvelteKit build + SSR render instead, which is the
|
|
39
|
+
* only place a component can actually be evaluated. Feeding them to the bare
|
|
40
|
+
* runtime import made the whole release proof fail on any package publishing a
|
|
41
|
+
* Svelte surface.
|
|
42
|
+
*
|
|
43
|
+
* The same specifier is intentionally exercised once per declared runtime.
|
|
44
|
+
*/
|
|
45
|
+
export declare function planReleaseConsumerRootImports(options: {
|
|
46
|
+
profiles: RegistryReleaseSetPlan["profiles"];
|
|
47
|
+
workspace: ReadonlyMap<string, RegistryReleaseWorkspacePackage>;
|
|
48
|
+
}): ReleaseConsumerRootImportPlan[];
|
|
49
|
+
/**
|
|
50
|
+
* Import every planned specifier from the installed consumer under its runtime.
|
|
51
|
+
*/
|
|
52
|
+
export declare function runReleaseConsumerRootImports(options: {
|
|
53
|
+
plans: readonly ReleaseConsumerRootImportPlan[];
|
|
54
|
+
consumerDir: string;
|
|
55
|
+
execution: RuntimeExecution;
|
|
56
|
+
/** The runtime child environments are composed from. */
|
|
57
|
+
runtime: ChildEnvRuntime;
|
|
58
|
+
}): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* The installed-surface harness a profile asks for. `sveltekit` is the default
|
|
61
|
+
* and the only one implemented; it is a DECLARED choice rather than an assumed
|
|
62
|
+
* one so a package built on this framework that publishes, say, a React surface
|
|
63
|
+
* gets a clear refusal instead of our SvelteKit scaffold written into its proof.
|
|
64
|
+
*/
|
|
65
|
+
export declare function releaseConsumerSurfaceProofKind(profile: RegistryReleaseSetPlan["profiles"][number]): "sveltekit";
|
|
66
|
+
/** True when any profile declares surfaces proven by the SvelteKit harness. */
|
|
67
|
+
export declare function releaseConsumerNeedsSvelteProof(profiles: RegistryReleaseSetPlan["profiles"]): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Build a SvelteKit consumer that imports every declared surface and renders
|
|
70
|
+
* every SSR probe, when any profile needs the Svelte proof. Returns the
|
|
71
|
+
* profiles' import specifiers.
|
|
72
|
+
*/
|
|
73
|
+
export declare function runReleaseConsumerSurfaceProof(options: {
|
|
74
|
+
plan: RegistryReleaseSetPlan;
|
|
75
|
+
consumerDir: string;
|
|
76
|
+
internalNames: ReadonlySet<string>;
|
|
77
|
+
execution: RuntimeExecution;
|
|
78
|
+
/** The runtime child environments are composed from. */
|
|
79
|
+
runtime: ChildEnvRuntime;
|
|
80
|
+
}): Promise<string[]>;
|
|
81
|
+
//# sourceMappingURL=consumer-surfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consumer-surfaces.d.ts","sourceRoot":"","sources":["../../../../src/cli/npm/publish/consumer-surfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGzE,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGtE;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,oBAAoB,EAAE,SAAS,MAAM,EAAE,GACtC,MAAM,CAER;AAED;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC;IACxB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,GAClD,WAAW,CAAC,MAAM,CAAC,CAKrB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,EAAE;IACtD,QAAQ,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAC7C,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,+BAA+B,CAAC,CAAC;CACjE,GAAG,6BAA6B,EAAE,CA8ClC;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CAAC,OAAO,EAAE;IAC3D,KAAK,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,wDAAwD;IACxD,OAAO,EAAE,eAAe,CAAC;CAC1B,GAAG,OAAO,CAAC,IAAI,CAAC,CAyBhB;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,GAClD,WAAW,CAUb;AAED,+EAA+E;AAC/E,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,sBAAsB,CAAC,UAAU,CAAC,GAC3C,OAAO,CAMT;AAED;;;;GAIG;AACH,wBAAsB,8BAA8B,CAAC,OAAO,EAAE;IAC5D,IAAI,EAAE,sBAAsB,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,SAAS,EAAE,gBAAgB,CAAC;IAC5B,wDAAwD;IACxD,OAAO,EAAE,eAAe,CAAC;CAC1B,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA0FpB"}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { resolveFileSystemAdapter } from "@vibesdotdev/filesystem";
|
|
2
|
+
import { getRuntimePath } from "@vibesdotdev/paths";
|
|
3
|
+
import { runRuntimeCommand } from "../../shared/runtime-execution.js";
|
|
4
|
+
/**
|
|
5
|
+
* Vite config for the surface proof consumer; release packages are bundled for SSR.
|
|
6
|
+
*/
|
|
7
|
+
export function releaseConsumerViteConfig(internalPackageNames) {
|
|
8
|
+
return `import { sveltekit } from '@sveltejs/kit/vite';\nexport default { plugins: [sveltekit()], ssr: { noExternal: ${JSON.stringify([...internalPackageNames].sort())} } };\n`;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The subpaths a profile has DECLARED as framework surfaces — the ones a bare
|
|
12
|
+
* runtime cannot load. Read off the profile, never inferred from the specifier's
|
|
13
|
+
* text: a publisher may put a Svelte surface at `/ui`, or ship something at
|
|
14
|
+
* `/svelte-utils` that is plain JS, and the release proof has no business
|
|
15
|
+
* guessing either way from our own naming habits.
|
|
16
|
+
*
|
|
17
|
+
* One definition, because the bare-runtime plan and the installed surface proof
|
|
18
|
+
* must partition the specifier set between them — if they disagree, a specifier
|
|
19
|
+
* is either proven twice or not at all.
|
|
20
|
+
*/
|
|
21
|
+
export function releaseConsumerSurfaceSpecifiers(profile) {
|
|
22
|
+
return new Set([
|
|
23
|
+
...(profile.surfaceImportSpecifiers ?? []),
|
|
24
|
+
...(profile.ssrRenders ?? []).map((probe) => probe.specifier),
|
|
25
|
+
]);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Binds every proof import to the runtime declared by its profile owner.
|
|
29
|
+
*
|
|
30
|
+
* Svelte surface specifiers are deliberately excluded here: their module graph
|
|
31
|
+
* reaches `.svelte` files, which no bare runtime can load (node throws
|
|
32
|
+
* ERR_UNKNOWN_FILE_EXTENSION, bun needs a registered plugin). They are proven
|
|
33
|
+
* by the stronger installed SvelteKit build + SSR render instead, which is the
|
|
34
|
+
* only place a component can actually be evaluated. Feeding them to the bare
|
|
35
|
+
* runtime import made the whole release proof fail on any package publishing a
|
|
36
|
+
* Svelte surface.
|
|
37
|
+
*
|
|
38
|
+
* The same specifier is intentionally exercised once per declared runtime.
|
|
39
|
+
*/
|
|
40
|
+
export function planReleaseConsumerRootImports(options) {
|
|
41
|
+
const byRuntime = new Map();
|
|
42
|
+
for (const profile of options.profiles) {
|
|
43
|
+
const owner = options.workspace.get(profile.root);
|
|
44
|
+
if (!owner) {
|
|
45
|
+
throw new Error(`Release consumer proof profile ${profile.id} has unknown root ${profile.root}`);
|
|
46
|
+
}
|
|
47
|
+
const declaredRuntime = owner.manifest.vibes?.publishLoadRuntime;
|
|
48
|
+
if (declaredRuntime !== undefined &&
|
|
49
|
+
declaredRuntime !== "node" &&
|
|
50
|
+
declaredRuntime !== "bun") {
|
|
51
|
+
throw new Error(`Release consumer proof profile ${profile.id} root ${profile.root} declares unsupported publishLoadRuntime ${String(declaredRuntime)}`);
|
|
52
|
+
}
|
|
53
|
+
const runtime = declaredRuntime ?? "node";
|
|
54
|
+
const group = byRuntime.get(runtime) ?? {
|
|
55
|
+
roots: new Set(),
|
|
56
|
+
imports: new Set(),
|
|
57
|
+
};
|
|
58
|
+
group.roots.add(profile.root);
|
|
59
|
+
const surfaces = releaseConsumerSurfaceSpecifiers(profile);
|
|
60
|
+
for (const specifier of profile.importSpecifiers) {
|
|
61
|
+
if (surfaces.has(specifier))
|
|
62
|
+
continue;
|
|
63
|
+
group.imports.add(specifier);
|
|
64
|
+
}
|
|
65
|
+
byRuntime.set(runtime, group);
|
|
66
|
+
}
|
|
67
|
+
return ["node", "bun"].flatMap((runtime) => {
|
|
68
|
+
const group = byRuntime.get(runtime);
|
|
69
|
+
if (!group || group.imports.size === 0)
|
|
70
|
+
return [];
|
|
71
|
+
return [
|
|
72
|
+
{
|
|
73
|
+
runtime,
|
|
74
|
+
profileRoots: [...group.roots].sort(),
|
|
75
|
+
importSpecifiers: [...group.imports].sort(),
|
|
76
|
+
},
|
|
77
|
+
];
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Import every planned specifier from the installed consumer under its runtime.
|
|
82
|
+
*/
|
|
83
|
+
export async function runReleaseConsumerRootImports(options) {
|
|
84
|
+
for (const plan of options.plans) {
|
|
85
|
+
const result = await runRuntimeCommand({
|
|
86
|
+
runtime: options.runtime,
|
|
87
|
+
execution: options.execution,
|
|
88
|
+
command: plan.runtime,
|
|
89
|
+
args: plan.runtime === "node"
|
|
90
|
+
? [
|
|
91
|
+
"--input-type=module",
|
|
92
|
+
"--eval",
|
|
93
|
+
`await Promise.all(${JSON.stringify(plan.importSpecifiers)}.map((s) => import(s)))`,
|
|
94
|
+
]
|
|
95
|
+
: [
|
|
96
|
+
"--eval",
|
|
97
|
+
`await Promise.all(${JSON.stringify(plan.importSpecifiers)}.map((s) => import(s)))`,
|
|
98
|
+
],
|
|
99
|
+
cwd: options.consumerDir,
|
|
100
|
+
});
|
|
101
|
+
if (result.code !== 0) {
|
|
102
|
+
throw new Error(`Installed release ${plan.runtime} import failed for ${plan.profileRoots.join(", ")}: ${result.stderr}`);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The installed-surface harness a profile asks for. `sveltekit` is the default
|
|
108
|
+
* and the only one implemented; it is a DECLARED choice rather than an assumed
|
|
109
|
+
* one so a package built on this framework that publishes, say, a React surface
|
|
110
|
+
* gets a clear refusal instead of our SvelteKit scaffold written into its proof.
|
|
111
|
+
*/
|
|
112
|
+
export function releaseConsumerSurfaceProofKind(profile) {
|
|
113
|
+
const declared = profile.surfaceProof ?? "sveltekit";
|
|
114
|
+
if (declared !== "sveltekit") {
|
|
115
|
+
throw new Error(`Release consumer proof profile ${profile.id} declares surfaceProof ${String(declared)}, ` +
|
|
116
|
+
`but this harness implements 'sveltekit' only. Implement that harness or drop the ` +
|
|
117
|
+
`surface declaration; do not let a SvelteKit scaffold stand in for another stack's proof.`);
|
|
118
|
+
}
|
|
119
|
+
return declared;
|
|
120
|
+
}
|
|
121
|
+
/** True when any profile declares surfaces proven by the SvelteKit harness. */
|
|
122
|
+
export function releaseConsumerNeedsSvelteProof(profiles) {
|
|
123
|
+
return profiles.some((profile) => releaseConsumerSurfaceSpecifiers(profile).size > 0 &&
|
|
124
|
+
releaseConsumerSurfaceProofKind(profile) === "sveltekit");
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Build a SvelteKit consumer that imports every declared surface and renders
|
|
128
|
+
* every SSR probe, when any profile needs the Svelte proof. Returns the
|
|
129
|
+
* profiles' import specifiers.
|
|
130
|
+
*/
|
|
131
|
+
export async function runReleaseConsumerSurfaceProof(options) {
|
|
132
|
+
const { plan, consumerDir } = options;
|
|
133
|
+
const imports = [
|
|
134
|
+
...new Set(plan.profiles.flatMap((profile) => profile.importSpecifiers)),
|
|
135
|
+
];
|
|
136
|
+
const ssrRenders = plan.profiles.flatMap((profile) => profile.ssrRenders ?? []);
|
|
137
|
+
const renderedSpecifiers = new Set(ssrRenders.map((probe) => probe.specifier));
|
|
138
|
+
const declaredSurfaces = new Set(plan.profiles.flatMap((profile) => [
|
|
139
|
+
...releaseConsumerSurfaceSpecifiers(profile),
|
|
140
|
+
]));
|
|
141
|
+
const surfaceImports = imports
|
|
142
|
+
.filter((specifier) => declaredSurfaces.has(specifier) && !renderedSpecifiers.has(specifier))
|
|
143
|
+
.map((specifier) => `import ${JSON.stringify(specifier)};`);
|
|
144
|
+
if (!releaseConsumerNeedsSvelteProof(plan.profiles))
|
|
145
|
+
return imports;
|
|
146
|
+
const renderImports = ssrRenders.map((probe, index) => `import { ${probe.exportName} as ReleaseSsrProbe${index} } from ${JSON.stringify(probe.specifier)};`);
|
|
147
|
+
const renderProps = ssrRenders.map((probe, index) => `const releaseSsrProps${index} = ${JSON.stringify(probe.props)};`);
|
|
148
|
+
const renderMarkup = ssrRenders
|
|
149
|
+
.map((_probe, index) => `<ReleaseSsrProbe${index} {...releaseSsrProps${index}} />`)
|
|
150
|
+
.join("\n");
|
|
151
|
+
const releasePage = `<script>\n${surfaceImports.join("\n")}\n${renderImports.join("\n")}\n${renderProps.join("\n")}\n</script>\n${renderMarkup || "<p>release proof</p>"}\n`;
|
|
152
|
+
const paths = await getRuntimePath(options.runtime);
|
|
153
|
+
const files = await resolveFileSystemAdapter(options.runtime, { binding: false });
|
|
154
|
+
await files.writeFile(paths.join(consumerDir, "vite.config.js"), releaseConsumerViteConfig([...options.internalNames]));
|
|
155
|
+
await files.mkdir(paths.join(consumerDir, "src", "routes"), { recursive: true });
|
|
156
|
+
await Promise.all([
|
|
157
|
+
files.writeFile(paths.join(consumerDir, "svelte.config.js"), "export default {};\n"),
|
|
158
|
+
files.writeFile(paths.join(consumerDir, "src", "app.html"), '<head>%sveltekit.head%</head><body><div style="display: contents">%sveltekit.body%</div></body>\n'),
|
|
159
|
+
files.writeFile(paths.join(consumerDir, "src", "routes", "+page.svelte"), releasePage),
|
|
160
|
+
]);
|
|
161
|
+
const synced = await runRuntimeCommand({
|
|
162
|
+
runtime: options.runtime,
|
|
163
|
+
execution: options.execution,
|
|
164
|
+
command: "bun",
|
|
165
|
+
args: [
|
|
166
|
+
paths.join(consumerDir, "node_modules", "@sveltejs", "kit", "svelte-kit.js"),
|
|
167
|
+
"sync",
|
|
168
|
+
],
|
|
169
|
+
cwd: consumerDir,
|
|
170
|
+
});
|
|
171
|
+
if (synced.code !== 0)
|
|
172
|
+
throw new Error(`Installed release SvelteKit sync failed: ${synced.stderr}`);
|
|
173
|
+
const vite = await runRuntimeCommand({
|
|
174
|
+
runtime: options.runtime,
|
|
175
|
+
execution: options.execution,
|
|
176
|
+
command: "bun",
|
|
177
|
+
args: ["--bun", paths.join(consumerDir, "node_modules/vite/bin/vite.js"), "build"],
|
|
178
|
+
cwd: consumerDir,
|
|
179
|
+
});
|
|
180
|
+
if (vite.code !== 0)
|
|
181
|
+
throw new Error(`Installed release surface import failed: ${vite.stderr}`);
|
|
182
|
+
if (ssrRenders.length > 0) {
|
|
183
|
+
const rendered = await runRuntimeCommand({
|
|
184
|
+
runtime: options.runtime,
|
|
185
|
+
execution: options.execution,
|
|
186
|
+
command: "node",
|
|
187
|
+
args: [
|
|
188
|
+
"--input-type=module",
|
|
189
|
+
"--eval",
|
|
190
|
+
"const [{ Server }, { manifest }] = await Promise.all([import('./.svelte-kit/output/server/index.js'), import('./.svelte-kit/output/server/manifest-full.js')]); const server = new Server(manifest); await server.init({ env: {} }); const response = await server.respond(new Request('https://release.invalid/'), { getClientAddress: () => 'proof' }); const body = await response.text(); if (!response.ok || !body) throw new Error(`SvelteKit SSR request failed ${response.status}`);",
|
|
191
|
+
],
|
|
192
|
+
cwd: consumerDir,
|
|
193
|
+
});
|
|
194
|
+
if (rendered.code !== 0)
|
|
195
|
+
throw new Error(`Installed release SSR render failed: ${rendered.stderr}`);
|
|
196
|
+
}
|
|
197
|
+
return imports;
|
|
198
|
+
}
|
|
199
|
+
//# sourceMappingURL=consumer-surfaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consumer-surfaces.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/consumer-surfaces.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE;;GAEG;AACH,MAAM,UAAU,yBAAyB,CACvC,oBAAuC;IAEvC,OAAO,gHAAgH,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,oBAAoB,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC;AACnL,CAAC;AAWD;;;;;;;;;;GAUG;AACH,MAAM,UAAU,gCAAgC,CAC9C,OAAmD;IAEnD,OAAO,IAAI,GAAG,CAAC;QACb,GAAG,CAAC,OAAO,CAAC,uBAAuB,IAAI,EAAE,CAAC;QAC1C,GAAG,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;KAC9D,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,8BAA8B,CAAC,OAG9C;IACC,MAAM,SAAS,GAAG,IAAI,GAAG,EAGtB,CAAC;IACJ,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;QACvC,MAAM,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CACb,kCAAkC,OAAO,CAAC,EAAE,qBAAqB,OAAO,CAAC,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EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,+BAA+B,CAAC,EAAE,OAAO,CAAC;QAClF,GAAG,EAAE,WAAW;KACjB,CAAC,CAAC;IACH,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,4CAA4C,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAC7E,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,QAAQ,GAAG,MAAM,iBAAiB,CAAC;YACvC,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,OAAO,EAAE,MAAM;YACf,IAAI,EAAE;gBACJ,qBAAqB;gBACrB,QAAQ;gBACR,8dAA8d;aAC/d;YACD,GAAG,EAAE,WAAW;SACjB,CAAC,CAAC;QACH,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,wCAAwC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/E,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External requirements of a release: Registry selectors that must be
|
|
3
|
+
* satisfiable, workspace packages consumed as sealed Registry inputs, and the
|
|
4
|
+
* source registries the release proof resolves them from.
|
|
5
|
+
*/
|
|
6
|
+
import type { ChildEnvRuntime } from "../../shared/runtime-execution.ts";
|
|
7
|
+
import { type RegistryReleaseExternalRequirement, type RegistryReleaseSetPlan } from "@vibesdotdev/registry";
|
|
8
|
+
import type { RuntimeExecution } from "@vibesdotdev/kernel/execution";
|
|
9
|
+
import type { JsonValue } from "@vibesdotdev/kernel/schemas/json";
|
|
10
|
+
import { runNpm, type RunNpmResult } from "./npm-exec.ts";
|
|
11
|
+
import { type ReleaseConsumerSourceRegistry } from "./proof-registry.ts";
|
|
12
|
+
import { type RegistryReleaseReadCredential } from "./registry-credentials.ts";
|
|
13
|
+
import { type PublisherManifest } from "./publisher-manifest.ts";
|
|
14
|
+
import type { RegistryReleaseBuildPackage, RegistryReleasePublishTarget } from "./types.ts";
|
|
15
|
+
/**
|
|
16
|
+
* Throw unless an installed/fetched package is the requirement's package and satisfies its selector.
|
|
17
|
+
*/
|
|
18
|
+
export declare function assertExternalPackageSelector(options: {
|
|
19
|
+
from: string;
|
|
20
|
+
name: string;
|
|
21
|
+
selector: string;
|
|
22
|
+
resolvedName: string | undefined;
|
|
23
|
+
resolvedVersion: string;
|
|
24
|
+
}): void;
|
|
25
|
+
/** npm's selector semantics, including `*` accepting any valid version. */
|
|
26
|
+
export declare function npmRegistryVersionSatisfiesSelector(version: string, selector: string): boolean;
|
|
27
|
+
type RegistryExternalReference = {
|
|
28
|
+
packageName: string;
|
|
29
|
+
selector: string;
|
|
30
|
+
dependencySelector: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Parse a requirement's selector (range or `npm:` alias) into the package it fetches.
|
|
34
|
+
*/
|
|
35
|
+
export declare function registryExternalReference(options: {
|
|
36
|
+
from: string;
|
|
37
|
+
name: string;
|
|
38
|
+
selector: string;
|
|
39
|
+
}): RegistryExternalReference;
|
|
40
|
+
/**
|
|
41
|
+
* Throw unless the requirement has a canonical name and a supported selector.
|
|
42
|
+
*/
|
|
43
|
+
export declare function assertRegistryExternalSelector(options: {
|
|
44
|
+
from: string;
|
|
45
|
+
name: string;
|
|
46
|
+
selector: string;
|
|
47
|
+
}): void;
|
|
48
|
+
/** `npm pack` one external requirement into `downloadDir` from `registry`. */
|
|
49
|
+
export declare function runRegistryExternalPack(options: {
|
|
50
|
+
from: string;
|
|
51
|
+
name: string;
|
|
52
|
+
selector: string;
|
|
53
|
+
downloadDir: string;
|
|
54
|
+
registry: string;
|
|
55
|
+
proofRoot: string;
|
|
56
|
+
env: Record<string, string>;
|
|
57
|
+
execution: RuntimeExecution;
|
|
58
|
+
/** The runtime child environments are composed from. */
|
|
59
|
+
runtime: ChildEnvRuntime;
|
|
60
|
+
redactValues?: readonly string[];
|
|
61
|
+
}, runner?: typeof runNpm): Promise<{
|
|
62
|
+
args: string[];
|
|
63
|
+
result: RunNpmResult;
|
|
64
|
+
}>;
|
|
65
|
+
export interface ExternalRequirementMiss {
|
|
66
|
+
from: string;
|
|
67
|
+
name: string;
|
|
68
|
+
selector: string;
|
|
69
|
+
effectiveSelector: string;
|
|
70
|
+
reason: "no-matching-version" | "unreadable";
|
|
71
|
+
}
|
|
72
|
+
export interface RegistryExternalRequirementResolution {
|
|
73
|
+
requirement: RegistryReleaseExternalRequirement;
|
|
74
|
+
effectiveSelector: string;
|
|
75
|
+
version: string;
|
|
76
|
+
}
|
|
77
|
+
export interface SealedWorkspaceRegistryInput extends RegistryExternalRequirementResolution {
|
|
78
|
+
registry: string;
|
|
79
|
+
integrity: string;
|
|
80
|
+
repository: string;
|
|
81
|
+
gitHead: string;
|
|
82
|
+
tarball: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Every planned external requirement must be satisfiable by the registry
|
|
86
|
+
* BEFORE anything packs or publishes: a release that records unsatisfiable
|
|
87
|
+
* externals ships uninstallable-in-isolation packages. The planner is pure,
|
|
88
|
+
* so this is the publish flow's own gate (previously externals were only
|
|
89
|
+
* exercised inside the full offline consumer proof).
|
|
90
|
+
*/
|
|
91
|
+
export declare function assertExternalRequirementsSatisfiable(options: {
|
|
92
|
+
requirements: readonly RegistryReleaseExternalRequirement[];
|
|
93
|
+
rootOverrides: Readonly<Record<string, JsonValue>>;
|
|
94
|
+
listVersions(requirement: RegistryReleaseExternalRequirement, effectiveSelector: string): Promise<readonly string[] | null>;
|
|
95
|
+
}): Promise<readonly RegistryExternalRequirementResolution[]>;
|
|
96
|
+
/**
|
|
97
|
+
* Workspace-source requirements are release inputs, not implicit outputs. Seal
|
|
98
|
+
* the exact compatible Registry artifact before any build or remote mutation so
|
|
99
|
+
* the later consumer proof cannot resolve a different range winner.
|
|
100
|
+
*
|
|
101
|
+
* Each distinct Registry coordinate is sealed once, however many requirements
|
|
102
|
+
* resolve to it, and coordinates are sealed concurrently, each through its own
|
|
103
|
+
* availability temp root. A package name fixes its Registry, so distinct
|
|
104
|
+
* coordinates are distinct name@version pairs and never fetch the same
|
|
105
|
+
* tarball. Sealed inputs keep requirement order, and a failure is the one the
|
|
106
|
+
* first failing requirement hits.
|
|
107
|
+
*/
|
|
108
|
+
export declare function sealWorkspaceRegistryInputs(options: {
|
|
109
|
+
resolutions: readonly RegistryExternalRequirementResolution[];
|
|
110
|
+
buildPackages: readonly RegistryReleaseBuildPackage[];
|
|
111
|
+
expectedGitHeads: ReadonlyMap<string, string>;
|
|
112
|
+
sourceRegistry: ReleaseConsumerSourceRegistry;
|
|
113
|
+
artifactDir: string;
|
|
114
|
+
workspaceRoot: string;
|
|
115
|
+
scope?: string;
|
|
116
|
+
readCredential?: RegistryReleaseReadCredential;
|
|
117
|
+
execution: RuntimeExecution;
|
|
118
|
+
/** The runtime child environments are composed from. */
|
|
119
|
+
runtime: ChildEnvRuntime;
|
|
120
|
+
}): Promise<readonly SealedWorkspaceRegistryInput[]>;
|
|
121
|
+
/**
|
|
122
|
+
* The root `overrides` selector for `name` when set, else the declared selector.
|
|
123
|
+
*/
|
|
124
|
+
export declare function effectiveExternalSelector(overrides: Readonly<NonNullable<PublisherManifest["overrides"]>>, name: string, declaredSelector: string): string;
|
|
125
|
+
export interface RegistryExternalLookup {
|
|
126
|
+
packageName: string;
|
|
127
|
+
registry: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* The package an external requirement fetches and the source registry it comes from.
|
|
131
|
+
*/
|
|
132
|
+
export declare function resolveRegistryExternalLookup(options: {
|
|
133
|
+
requirement: {
|
|
134
|
+
from: string;
|
|
135
|
+
name: string;
|
|
136
|
+
selector: string;
|
|
137
|
+
};
|
|
138
|
+
effectiveSelector: string;
|
|
139
|
+
sourceRegistry: ReleaseConsumerSourceRegistry;
|
|
140
|
+
}): RegistryExternalLookup;
|
|
141
|
+
/**
|
|
142
|
+
* Prove every external requirement of `releasePlan` has a published version
|
|
143
|
+
* satisfying its (root-overridden) selector, reading each source registry with
|
|
144
|
+
* the release read token from an owned temporary npm environment.
|
|
145
|
+
*/
|
|
146
|
+
export declare function resolveReleaseExternalRequirements(options: {
|
|
147
|
+
releasePlan: RegistryReleaseSetPlan;
|
|
148
|
+
/** Every release target; their registries are the external source registries. */
|
|
149
|
+
sourceTargets: readonly RegistryReleasePublishTarget[];
|
|
150
|
+
workspaceRoot: string;
|
|
151
|
+
scope: string;
|
|
152
|
+
readToken?: string;
|
|
153
|
+
execution: RuntimeExecution;
|
|
154
|
+
/** The runtime child environments are composed from. */
|
|
155
|
+
runtime: ChildEnvRuntime;
|
|
156
|
+
}): Promise<readonly RegistryExternalRequirementResolution[]>;
|
|
157
|
+
/**
|
|
158
|
+
* The version each workspace package's `workspace:` selectors are rewritten to: its source version,
|
|
159
|
+
* else the sealed Registry input a dependent was proven against (an internal dependency outside the
|
|
160
|
+
* release), else the version this release assigns it. A dependency outside the release keeping its
|
|
161
|
+
* source version shipped `^<stale source version>`, which `latest` could satisfy with older content.
|
|
162
|
+
*/
|
|
163
|
+
export declare function workspaceSelectorVersions(options: {
|
|
164
|
+
sourceVersions: ReadonlyMap<string, string>;
|
|
165
|
+
sealedWorkspaceInputs: readonly Pick<SealedWorkspaceRegistryInput, "requirement" | "version">[];
|
|
166
|
+
assignments: ReadonlyMap<string, {
|
|
167
|
+
version: string;
|
|
168
|
+
}>;
|
|
169
|
+
}): Map<string, string>;
|
|
170
|
+
export {};
|
|
171
|
+
//# sourceMappingURL=external-requirements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-requirements.d.ts","sourceRoot":"","sources":["../../../../src/cli/npm/publish/external-requirements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;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