@vibesdotdev/infra-deploy 0.0.2 → 1.0.0-rc.5
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 +40 -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 +50 -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 +108 -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 +83 -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 +52 -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 +52 -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 +568 -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 +91 -0
- package/dist/cli/npm/mirror-registry-artifacts.d.ts.map +1 -0
- package/dist/cli/npm/mirror-registry-artifacts.js +99 -0
- package/dist/cli/npm/mirror-registry-artifacts.js.map +1 -0
- package/dist/cli/npm/npm-protocol-package-registry.d.ts +32 -0
- package/dist/cli/npm/npm-protocol-package-registry.d.ts.map +1 -0
- package/dist/cli/npm/npm-protocol-package-registry.js +237 -0
- package/dist/cli/npm/npm-protocol-package-registry.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/publish-to-mirror.d.ts +28 -0
- package/dist/cli/npm/publish/publish-to-mirror.d.ts.map +1 -0
- package/dist/cli/npm/publish/publish-to-mirror.js +36 -0
- package/dist/cli/npm/publish/publish-to-mirror.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 +181 -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 +142 -0
- package/dist/cli/npm/put-attested-packument.d.ts.map +1 -0
- package/dist/cli/npm/put-attested-packument.js +353 -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/npm/registries/npmjs.package-registry.descriptor.d.ts +56 -0
- package/dist/cli/npm/registries/npmjs.package-registry.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/registries/npmjs.package-registry.descriptor.js +16 -0
- package/dist/cli/npm/registries/npmjs.package-registry.descriptor.js.map +1 -0
- package/dist/cli/npm/registries/package-registries.plugin.d.ts +3 -0
- package/dist/cli/npm/registries/package-registries.plugin.d.ts.map +1 -0
- package/dist/cli/npm/registries/package-registries.plugin.js +44 -0
- package/dist/cli/npm/registries/package-registries.plugin.js.map +1 -0
- package/dist/cli/npm/registries/resolve-package-registry.d.ts +29 -0
- package/dist/cli/npm/registries/resolve-package-registry.d.ts.map +1 -0
- package/dist/cli/npm/registries/resolve-package-registry.js +58 -0
- package/dist/cli/npm/registries/resolve-package-registry.js.map +1 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.d.ts +53 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.js +12 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.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 +51 -0
- package/dist/cli/run/deployment-provider.d.ts.map +1 -0
- package/dist/cli/run/deployment-provider.js +274 -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 +404 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.js +585 -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 +77 -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 +49 -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 +440 -229
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js.map +1 -1
- package/dist/cli/shared/build-workspace-artifacts.d.ts +152 -0
- package/dist/cli/shared/build-workspace-artifacts.d.ts.map +1 -0
- package/dist/cli/shared/build-workspace-artifacts.js +2049 -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/shared/workspace-artifact-store.d.ts +14 -0
- package/dist/cli/shared/workspace-artifact-store.d.ts.map +1 -0
- package/dist/cli/shared/workspace-artifact-store.js +53 -0
- package/dist/cli/shared/workspace-artifact-store.js.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts +239 -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 +65 -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
package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "infra-observability-exports.list";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "list";
|
|
5
|
+
readonly description: "Read safe export destination inventory and Worker bindings";
|
|
6
|
+
readonly group: "infra-observability-exports";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--worker <name>";
|
|
9
|
+
readonly description: "Scope to a single Worker (omit for fleet-wide sweep)";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--filter <glob>";
|
|
12
|
+
readonly description: "Glob to narrow the fleet sweep (e.g. \"vibes-*\")";
|
|
13
|
+
}, {
|
|
14
|
+
readonly flags: "--provider <id>";
|
|
15
|
+
readonly description: "Registered provider id or adapter";
|
|
16
|
+
}, {
|
|
17
|
+
readonly flags: "--environment <name>";
|
|
18
|
+
readonly description: "Vibes environment for secret resolution (local|dev|staging|production)";
|
|
19
|
+
}, {
|
|
20
|
+
readonly flags: "-o, --output <format>";
|
|
21
|
+
readonly description: "Output format (text|json)";
|
|
22
|
+
readonly default: "text";
|
|
23
|
+
}];
|
|
24
|
+
readonly surfaces: ["cli"];
|
|
25
|
+
readonly hardware: ["consumer", "cloud"];
|
|
26
|
+
readonly enabled: true;
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=infra-observability-exports-list.cli-command.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-observability-exports-list.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAgCG"}
|
package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-observability-exports.list',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'list',
|
|
6
|
+
description: 'Read safe export destination inventory and Worker bindings',
|
|
7
|
+
group: 'infra-observability-exports',
|
|
8
|
+
options: [
|
|
9
|
+
{
|
|
10
|
+
flags: '--worker <name>',
|
|
11
|
+
description: 'Scope to a single Worker (omit for fleet-wide sweep)'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
flags: '--filter <glob>',
|
|
15
|
+
description: 'Glob to narrow the fleet sweep (e.g. "vibes-*")'
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
flags: '--provider <id>',
|
|
19
|
+
description: 'Registered provider id or adapter'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
flags: '--environment <name>',
|
|
23
|
+
description: 'Vibes environment for secret resolution (local|dev|staging|production)'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
flags: '-o, --output <format>',
|
|
27
|
+
description: 'Output format (text|json)',
|
|
28
|
+
default: 'text'
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
surfaces: ['cli'],
|
|
32
|
+
hardware: ['consumer', 'cloud'],
|
|
33
|
+
enabled: true
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=infra-observability-exports-list.cli-command.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-observability-exports-list.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,kCAAkC;IACtC,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,4DAA4D;IACzE,KAAK,EAAE,6BAA6B;IACpC,OAAO,EAAE;QACR;YACC,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,sDAAsD;SACnE;QACD;YACC,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,iDAAiD;SAC9D;QACD;YACC,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,mCAAmC;SAChD;QACD;YACC,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,wEAAwE;SACrF;QACD;YACC,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,2BAA2B;YACxC,OAAO,EAAE,MAAM;SACf;KACD;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "infra-observability-exports";
|
|
3
|
+
readonly kind: "cli/group";
|
|
4
|
+
readonly name: "exports";
|
|
5
|
+
readonly description: "Inspect observability export destinations and worker bindings";
|
|
6
|
+
readonly parent: "infra-observability";
|
|
7
|
+
readonly surfaces: ["cli"];
|
|
8
|
+
readonly hardware: ["consumer", "cloud"];
|
|
9
|
+
readonly enabled: true;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=infra-observability-exports.cli-group.descriptor.d.ts.map
|
package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-observability-exports.cli-group.descriptor.d.ts","sourceRoot":"","sources":["../../../src/descriptors/observability/infra-observability-exports.cli-group.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;AAEA,wBASG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-observability-exports',
|
|
4
|
+
kind: 'cli/group',
|
|
5
|
+
name: 'exports',
|
|
6
|
+
description: 'Inspect observability export destinations and worker bindings',
|
|
7
|
+
parent: 'infra-observability',
|
|
8
|
+
surfaces: ['cli'],
|
|
9
|
+
hardware: ['consumer', 'cloud'],
|
|
10
|
+
enabled: true
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=infra-observability-exports.cli-group.descriptor.js.map
|
package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-observability-exports.cli-group.descriptor.js","sourceRoot":"","sources":["../../../src/descriptors/observability/infra-observability-exports.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,6BAA6B;IACjC,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,+DAA+D;IAC5E,MAAM,EAAE,qBAAqB;IAC7B,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
export { default as infraDeployPlugin } from './infra-deploy.plugin';
|
|
2
|
-
export { loadDeploymentConfig } from './config-loader.ts';
|
|
1
|
+
export { default as infraDeployPlugin } from './infra-deploy.plugin.ts';
|
|
2
|
+
export { loadDeploymentConfig, NonDeployableDeploymentConfigError } from './config-loader.ts';
|
|
3
3
|
export type { LoadedDeployment } from './config-loader.ts';
|
|
4
|
-
export { regenerateApp, regenerateAll, regenExitCode, type RegenResult, type RegenStatus, type RegenerateOptions } from './regenerate.ts';
|
|
4
|
+
export { regenerateApp, regenerateAll, regenExitCode, markCollisionsAsErrors, type RegenResult, type RegenStatus, type RegenerateOptions } from './regenerate.ts';
|
|
5
|
+
export { detectDeploymentCollisions, formatCollision, type DeploymentIdentity, type DeploymentCollision, type CollisionKind } from './deployment-collisions.ts';
|
|
6
|
+
export { discoverDeployments, type DiscoveredDeployment, type DiscoverOptions, type DiscoverErrorInfo, type SkippedDeploymentInfo } from './cli/shared/discover-deployments.ts';
|
|
7
|
+
export { applyPendingMigrations, resolveMigrationTargets, runMigrate, type ApplyPendingMigrationsOptions, type MigrateOutcome, type PendingMigrationResult, type RunMigrateOptions } from './migrations/run-migrate.ts';
|
|
8
|
+
export { migrateWorkspace, requireLocalDevMigrations } from './migrations/migrate-workspace.ts';
|
|
9
|
+
export { latestDisplacedBy } from './cli/npm/put-attested-packument.ts';
|
|
10
|
+
export { reconcileLatestDistTags, type LatestReconcileOutcome } from './cli/npm/reconcile-latest.ts';
|
|
11
|
+
export { mirrorRegistryArtifacts, type MirrorOutcome } from './cli/npm/mirror-registry-artifacts.ts';
|
|
12
|
+
export { ServiceReleaseFactoryContextSchema, ServiceReleaseSourceFactorySchema, type ServiceReleaseFactoryContext, type ServiceReleaseSourceFactory } from './schemas/service-release.ts';
|
|
5
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC9F,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACN,aAAa,EACb,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,0BAA0B,EAC1B,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACN,mBAAmB,EACnB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,sBAAsB,EACtB,uBAAuB,EACvB,UAAU,EACV,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAChG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,KAAK,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACrG,OAAO,EAAE,uBAAuB,EAAE,KAAK,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACrG,OAAO,EACN,kCAAkC,EAClC,iCAAiC,EACjC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,MAAM,8BAA8B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
export { default as infraDeployPlugin } from
|
|
2
|
-
export { loadDeploymentConfig } from "./config-loader.js";
|
|
3
|
-
export { regenerateApp, regenerateAll, regenExitCode } from "./regenerate.js";
|
|
1
|
+
export { default as infraDeployPlugin } from "./infra-deploy.plugin.js";
|
|
2
|
+
export { loadDeploymentConfig, NonDeployableDeploymentConfigError } from "./config-loader.js";
|
|
3
|
+
export { regenerateApp, regenerateAll, regenExitCode, markCollisionsAsErrors } from "./regenerate.js";
|
|
4
|
+
export { detectDeploymentCollisions, formatCollision } from "./deployment-collisions.js";
|
|
5
|
+
export { discoverDeployments } from "./cli/shared/discover-deployments.js";
|
|
6
|
+
export { applyPendingMigrations, resolveMigrationTargets, runMigrate } from "./migrations/run-migrate.js";
|
|
7
|
+
export { migrateWorkspace, requireLocalDevMigrations } from "./migrations/migrate-workspace.js";
|
|
8
|
+
export { latestDisplacedBy } from "./cli/npm/put-attested-packument.js";
|
|
9
|
+
export { reconcileLatestDistTags } from "./cli/npm/reconcile-latest.js";
|
|
10
|
+
export { mirrorRegistryArtifacts } from "./cli/npm/mirror-registry-artifacts.js";
|
|
11
|
+
export { ServiceReleaseFactoryContextSchema, ServiceReleaseSourceFactorySchema } from "./schemas/service-release.js";
|
|
4
12
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAE9F,OAAO,EACN,aAAa,EACb,aAAa,EACb,aAAa,EACb,sBAAsB,EAItB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,0BAA0B,EAC1B,eAAe,EAIf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACN,mBAAmB,EAKnB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,sBAAsB,EACtB,uBAAuB,EACvB,UAAU,EAKV,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAChG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAA+B,MAAM,+BAA+B,CAAC;AACrG,OAAO,EAAE,uBAAuB,EAAsB,MAAM,wCAAwC,CAAC;AACrG,OAAO,EACN,kCAAkC,EAClC,iCAAiC,EAGjC,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export default
|
|
1
|
+
declare const defaultExport: import("@vibesdotdev/kernel").RuntimePlugin;
|
|
2
|
+
export default defaultExport;
|
|
3
3
|
//# sourceMappingURL=infra-deploy.plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-deploy.plugin.d.ts","sourceRoot":"","sources":["../src/infra-deploy.plugin.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"infra-deploy.plugin.d.ts","sourceRoot":"","sources":["../src/infra-deploy.plugin.ts"],"names":[],"mappings":"AAiDA,QAAA,MAAM,aAAa,6CAwDjB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -1,59 +1,104 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cryptoPlugin } from "@vibesdotdev/crypto/plugin";
|
|
2
|
+
import workersPlugin from '@vibesdotdev/workers/plugin';
|
|
3
|
+
import releaseJobsPlugin from "./cli/npm/publish/release-jobs.consumer.plugin.js";
|
|
4
|
+
import packageRegistriesPlugin from "./cli/npm/registries/package-registries.plugin.js";
|
|
5
|
+
import { createRuntimePlugin } from "@vibesdotdev/kernel";
|
|
2
6
|
import infraGroup from "./cli/infra.cli-group.descriptor.js";
|
|
3
7
|
import infraDeployGroup from "./cli/infra-deploy.cli-group.descriptor.js";
|
|
4
8
|
import infraDeployRun from "./cli/run/infra-deploy.run.cli-command.descriptor.js";
|
|
5
9
|
import infraDeployList from "./cli/list/infra-deploy.list.cli-command.descriptor.js";
|
|
6
10
|
import infraDeployRegenerate from "./cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js";
|
|
11
|
+
import infraDeployMigrate from "./cli/migrate/infra-deploy.migrate.cli-command.descriptor.js";
|
|
12
|
+
import infraDeployReadiness from "./cli/readiness/infra-deploy.readiness.cli-command.descriptor.js";
|
|
7
13
|
import infraLogs from "./cli/logs/infra-logs.cli-command.descriptor.js";
|
|
14
|
+
import infraDb from "./cli/db/infra-db.cli-command.descriptor.js";
|
|
15
|
+
import infraWorkersGroup from "./cli/workers/infra-workers.cli-group.descriptor.js";
|
|
16
|
+
import infraWorkersApply from "./cli/workers/infra-workers-apply.cli-command.descriptor.js";
|
|
17
|
+
import infraWorkersLogs from "./cli/workers/infra-workers-logs.cli-command.descriptor.js";
|
|
18
|
+
import infraWorkersBuild from "./cli/workers/infra-workers-build.cli-command.descriptor.js";
|
|
8
19
|
import infraNpmGroup from "./cli/npm/infra-npm.cli-group.descriptor.js";
|
|
9
20
|
import infraNpmPublish from "./cli/npm/infra-npm-publish.cli-command.descriptor.js";
|
|
21
|
+
import infraNpmReconcileLatest from "./cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js";
|
|
22
|
+
import infraNpmMirror from "./cli/npm/infra-npm-mirror.cli-command.descriptor.js";
|
|
10
23
|
import infraAlertsGroup from "./cli/alerts/infra-alerts.cli-group.descriptor.js";
|
|
11
24
|
import infraAlertsList from "./cli/alerts/infra-alerts-list.cli-command.descriptor.js";
|
|
12
25
|
import infraAlertsCreate from "./cli/alerts/infra-alerts-create.cli-command.descriptor.js";
|
|
13
26
|
import infraAlertsDelete from "./cli/alerts/infra-alerts-delete.cli-command.descriptor.js";
|
|
27
|
+
import infraDnsGroup, { infraDnsActivate } from "./cli/dns/infra-dns.cli-group.descriptor.js";
|
|
28
|
+
import infraDnsList from "./cli/dns/infra-dns-list.cli-command.descriptor.js";
|
|
29
|
+
import infraDnsSet from "./cli/dns/infra-dns-set.cli-command.descriptor.js";
|
|
30
|
+
import infraDnsDelete from "./cli/dns/infra-dns-delete.cli-command.descriptor.js";
|
|
31
|
+
import infraEdgeTlsGroup from "./cli/edge-tls/infra-edge-tls.cli-group.descriptor.js";
|
|
32
|
+
import infraEdgeTlsList from "./cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js";
|
|
33
|
+
import infraEdgeTlsSet from "./cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js";
|
|
34
|
+
import infraEdgeTlsDelete from "./cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js";
|
|
35
|
+
import infraEdgeTlsSetZoneDefault from "./cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js";
|
|
14
36
|
import infraAudit from "./cli/audit/infra-audit.cli-command.descriptor.js";
|
|
37
|
+
import infraInventory from "./cli/inventory/infra-inventory.cli-command.descriptor.js";
|
|
38
|
+
import infraObservabilityExportsGroup from "./descriptors/observability/infra-observability-exports.cli-group.descriptor.js";
|
|
39
|
+
import infraObservabilityExportsList from "./descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js";
|
|
15
40
|
import infraObservabilityGroup from "./cli/observability/infra-observability.cli-group.descriptor.js";
|
|
16
41
|
import infraObservabilityStatus from "./cli/observability/infra-observability-status.cli-command.descriptor.js";
|
|
17
42
|
import infraObservabilitySet from "./cli/observability/infra-observability-set.cli-command.descriptor.js";
|
|
18
43
|
import infraRumGroup from "./cli/rum/infra-rum.cli-group.descriptor.js";
|
|
19
44
|
import infraRumStatus from "./cli/rum/infra-rum-status.cli-command.descriptor.js";
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
45
|
+
import deploymentConfigDescriptor from "./deployment.config.descriptor.js";
|
|
46
|
+
import deploymentRunsStorage from "./storage/deployment-runs.storage.descriptor.js";
|
|
47
|
+
// Hoisted const: tsc rewriteRelativeImportExtensions does not rewrite `.ts` specifiers inside `export default <expr>` (TS 6.0.3).
|
|
48
|
+
const defaultExport = createRuntimePlugin({
|
|
49
|
+
id: "infra-deploy",
|
|
50
|
+
name: "Infra Deploy",
|
|
51
|
+
description: "Build and deploy apps declared in deployment.config.ts",
|
|
52
|
+
async onRegister(runtime) {
|
|
53
|
+
await runtime.registerPlugin(cryptoPlugin);
|
|
54
|
+
await runtime.registerPlugin(workersPlugin);
|
|
55
|
+
await runtime.registerPlugin(releaseJobsPlugin);
|
|
56
|
+
await runtime.registerPlugin(packageRegistriesPlugin);
|
|
57
|
+
},
|
|
24
58
|
descriptors: [
|
|
59
|
+
deploymentConfigDescriptor,
|
|
25
60
|
infraGroup,
|
|
26
61
|
infraDeployGroup,
|
|
27
62
|
infraDeployRun,
|
|
28
63
|
infraDeployList,
|
|
29
64
|
infraDeployRegenerate,
|
|
65
|
+
infraDeployMigrate,
|
|
66
|
+
infraDeployReadiness,
|
|
30
67
|
infraLogs,
|
|
68
|
+
infraDb,
|
|
69
|
+
infraWorkersGroup,
|
|
70
|
+
infraWorkersApply,
|
|
71
|
+
infraWorkersLogs,
|
|
72
|
+
infraWorkersBuild,
|
|
31
73
|
infraNpmGroup,
|
|
32
74
|
infraNpmPublish,
|
|
75
|
+
infraNpmReconcileLatest,
|
|
76
|
+
infraNpmMirror,
|
|
33
77
|
infraAlertsGroup,
|
|
34
78
|
infraAlertsList,
|
|
35
79
|
infraAlertsCreate,
|
|
36
80
|
infraAlertsDelete,
|
|
81
|
+
infraDnsGroup,
|
|
82
|
+
infraDnsList,
|
|
83
|
+
infraDnsSet,
|
|
84
|
+
infraDnsDelete,
|
|
85
|
+
infraDnsActivate,
|
|
86
|
+
infraEdgeTlsGroup,
|
|
87
|
+
infraEdgeTlsList,
|
|
88
|
+
infraEdgeTlsSet,
|
|
89
|
+
infraEdgeTlsDelete,
|
|
90
|
+
infraEdgeTlsSetZoneDefault,
|
|
37
91
|
infraAudit,
|
|
92
|
+
infraInventory,
|
|
38
93
|
infraObservabilityGroup,
|
|
94
|
+
infraObservabilityExportsGroup,
|
|
95
|
+
infraObservabilityExportsList,
|
|
39
96
|
infraObservabilityStatus,
|
|
40
97
|
infraObservabilitySet,
|
|
41
98
|
infraRumGroup,
|
|
42
|
-
infraRumStatus
|
|
99
|
+
infraRumStatus,
|
|
100
|
+
deploymentRunsStorage,
|
|
43
101
|
],
|
|
44
|
-
loaders: [
|
|
45
|
-
loader('infra-deploy.run', () => import('./cli/run/infra-deploy.run.cli-command.impl.ts')),
|
|
46
|
-
loader('infra-deploy.list', () => import('./cli/list/infra-deploy.list.cli-command.impl.ts')),
|
|
47
|
-
loader('infra-deploy.regenerate', () => import('./cli/regenerate/infra-deploy.regenerate.cli-command.impl.ts')),
|
|
48
|
-
loader('infra-logs', () => import('./cli/logs/infra-logs.cli-command.impl.ts')),
|
|
49
|
-
loader('infra-npm.publish', () => import('./cli/npm/infra-npm-publish.cli-command.impl.ts')),
|
|
50
|
-
loader('infra-alerts.list', () => import('./cli/alerts/infra-alerts-list.cli-command.impl.ts')),
|
|
51
|
-
loader('infra-alerts.create', () => import('./cli/alerts/infra-alerts-create.cli-command.impl.ts')),
|
|
52
|
-
loader('infra-alerts.delete', () => import('./cli/alerts/infra-alerts-delete.cli-command.impl.ts')),
|
|
53
|
-
loader('infra-audit', () => import('./cli/audit/infra-audit.cli-command.impl.ts')),
|
|
54
|
-
loader('infra-observability.status', () => import('./cli/observability/infra-observability-status.cli-command.impl.ts')),
|
|
55
|
-
loader('infra-observability.set', () => import('./cli/observability/infra-observability-set.cli-command.impl.ts')),
|
|
56
|
-
loader('infra-rum.status', () => import('./cli/rum/infra-rum-status.cli-command.impl.ts'))
|
|
57
|
-
]
|
|
58
102
|
});
|
|
103
|
+
export default defaultExport;
|
|
59
104
|
//# sourceMappingURL=infra-deploy.plugin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-deploy.plugin.js","sourceRoot":"","sources":["../src/infra-deploy.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"infra-deploy.plugin.js","sourceRoot":"","sources":["../src/infra-deploy.plugin.ts"],"names":[],"mappings":"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"}
|
package/dist/logger.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type RuntimeLogger } from '@vibesdotdev/logging';
|
|
2
|
+
import type { RuntimeRef } from '@vibesdotdev/kernel';
|
|
3
|
+
/**
|
|
4
|
+
* The package logger on the runtime the caller was handed (C083a). It resolves
|
|
5
|
+
* at call time on that runtime's Logging, never on an ambient default runtime,
|
|
6
|
+
* so declared-optional paths and best-effort cleanup report the reason they
|
|
7
|
+
* continued through the runtime that ran them.
|
|
8
|
+
*/
|
|
9
|
+
export declare function infraDeployLogger(runtime: RuntimeRef): RuntimeLogger;
|
|
10
|
+
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,GAAG,aAAa,CAEpE"}
|
package/dist/logger.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { getLogger } from '@vibesdotdev/logging';
|
|
2
|
+
/**
|
|
3
|
+
* The package logger on the runtime the caller was handed (C083a). It resolves
|
|
4
|
+
* at call time on that runtime's Logging, never on an ambient default runtime,
|
|
5
|
+
* so declared-optional paths and best-effort cleanup report the reason they
|
|
6
|
+
* continued through the runtime that ran them.
|
|
7
|
+
*/
|
|
8
|
+
export function infraDeployLogger(runtime) {
|
|
9
|
+
return getLogger('infra-deploy', runtime);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsB,MAAM,sBAAsB,CAAC;AAGrE;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,OAAmB;IACpD,OAAO,SAAS,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The workspace's local migration pass (vibes infra deploy migrate --all,
|
|
3
|
+
* the dev stack's d1-migrate-dev task): every discovered deployment, whatever
|
|
4
|
+
* its provider, gets its pending migrations applied to the local databases the
|
|
5
|
+
* registered engines serve. One app's failure never stops the others; whether
|
|
6
|
+
* it stops the dev stack is the app's own declaration
|
|
7
|
+
* (migrations.requiredForLocalDev).
|
|
8
|
+
*/
|
|
9
|
+
import { type VibesRuntime } from '@vibesdotdev/kernel';
|
|
10
|
+
import type { DatabaseMigrationLog } from '@vibesdotdev/infra-core/kinds';
|
|
11
|
+
import type { WorkspaceMigrationAppOutcome } from '../schemas/migrate.ts';
|
|
12
|
+
/** Apply all discovered deployments and retain failures that made discovery incomplete. */
|
|
13
|
+
export declare function migrateWorkspace(options: {
|
|
14
|
+
readonly runtime: VibesRuntime;
|
|
15
|
+
readonly workspaceRoot: string;
|
|
16
|
+
readonly environment?: string;
|
|
17
|
+
readonly ui: DatabaseMigrationLog;
|
|
18
|
+
}): Promise<WorkspaceMigrationAppOutcome[]>;
|
|
19
|
+
/** Refuse when required local migrations or workspace deployment discovery failed. */
|
|
20
|
+
export declare function requireLocalDevMigrations(outcomes: readonly WorkspaceMigrationAppOutcome[]): void;
|
|
21
|
+
//# sourceMappingURL=migrate-workspace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrate-workspace.d.ts","sourceRoot":"","sources":["../../src/migrations/migrate-workspace.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAA+C,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACrG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG1E,OAAO,KAAK,EAA6B,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAMrG,2FAA2F;AAC3F,wBAAsB,gBAAgB,CAAC,OAAO,EAAE;IAC/C,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,EAAE,oBAAoB,CAAC;CAClC,GAAG,OAAO,CAAC,4BAA4B,EAAE,CAAC,CA0D1C;AAED,sFAAsF;AACtF,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,SAAS,4BAA4B,EAAE,GAAG,IAAI,CAYjG"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The workspace's local migration pass (vibes infra deploy migrate --all,
|
|
3
|
+
* the dev stack's d1-migrate-dev task): every discovered deployment, whatever
|
|
4
|
+
* its provider, gets its pending migrations applied to the local databases the
|
|
5
|
+
* registered engines serve. One app's failure never stops the others; whether
|
|
6
|
+
* it stops the dev stack is the app's own declaration
|
|
7
|
+
* (migrations.requiredForLocalDev).
|
|
8
|
+
*/
|
|
9
|
+
import { CapabilityError, settle } from '@vibesdotdev/kernel';
|
|
10
|
+
import { discoverDeployments } from "../cli/shared/discover-deployments.js";
|
|
11
|
+
import { applyPendingMigrations } from "./run-migrate.js";
|
|
12
|
+
function failureMessage(failure) {
|
|
13
|
+
return failure instanceof Error ? failure.message : failure.description;
|
|
14
|
+
}
|
|
15
|
+
/** Apply all discovered deployments and retain failures that made discovery incomplete. */
|
|
16
|
+
export async function migrateWorkspace(options) {
|
|
17
|
+
const discoveryFailures = [];
|
|
18
|
+
const deployments = await discoverDeployments({
|
|
19
|
+
runtime: options.runtime,
|
|
20
|
+
root: options.workspaceRoot,
|
|
21
|
+
onError: ({ configPath }) => discoveryFailures.push({ phase: 'config', path: configPath }),
|
|
22
|
+
onDirectoryError: ({ directory }) => discoveryFailures.push({ phase: 'directory', path: directory })
|
|
23
|
+
});
|
|
24
|
+
const outcomes = [];
|
|
25
|
+
for (const deployment of deployments) {
|
|
26
|
+
const applied = await settle(async () => {
|
|
27
|
+
const results = await applyPendingMigrations({
|
|
28
|
+
runtime: options.runtime,
|
|
29
|
+
appDir: deployment.appDir,
|
|
30
|
+
remote: false,
|
|
31
|
+
yes: true,
|
|
32
|
+
dryRun: false,
|
|
33
|
+
environment: options.environment,
|
|
34
|
+
workspaceRoot: options.workspaceRoot,
|
|
35
|
+
ui: options.ui
|
|
36
|
+
});
|
|
37
|
+
if (deployment.migrationsRequiredForLocalDev && results.length === 0) {
|
|
38
|
+
throw new CapabilityError('The deployment requires local migrations, but no registered database migration engine serves them.', 'UNAVAILABLE', { reason: 'migration-engine-unavailable', retryable: false });
|
|
39
|
+
}
|
|
40
|
+
return results;
|
|
41
|
+
});
|
|
42
|
+
const outcome = {
|
|
43
|
+
appId: deployment.appId,
|
|
44
|
+
appDir: deployment.appDir,
|
|
45
|
+
requiredForLocalDev: deployment.migrationsRequiredForLocalDev,
|
|
46
|
+
results: applied.ok ? applied.value : []
|
|
47
|
+
};
|
|
48
|
+
if (!applied.ok)
|
|
49
|
+
outcome.failure = failureMessage(applied.cause);
|
|
50
|
+
if (outcome.results.length > 0 || outcome.failure !== undefined)
|
|
51
|
+
outcomes.push(outcome);
|
|
52
|
+
}
|
|
53
|
+
if (discoveryFailures.length > 0) {
|
|
54
|
+
const configFailures = discoveryFailures.filter(({ phase }) => phase === 'config').length;
|
|
55
|
+
const directoryFailures = discoveryFailures.length - configFailures;
|
|
56
|
+
outcomes.push({
|
|
57
|
+
appId: 'workspace-discovery',
|
|
58
|
+
appDir: options.workspaceRoot,
|
|
59
|
+
requiredForLocalDev: true,
|
|
60
|
+
results: [],
|
|
61
|
+
failure: 'Workspace discovery was incomplete (' +
|
|
62
|
+
configFailures +
|
|
63
|
+
' unreadable deployment config(s), ' +
|
|
64
|
+
directoryFailures +
|
|
65
|
+
' unreadable directory/directories); run vibes infra deploy list to inspect them.',
|
|
66
|
+
discoveryIncomplete: true,
|
|
67
|
+
discoveryFailures
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return outcomes;
|
|
71
|
+
}
|
|
72
|
+
/** Refuse when required local migrations or workspace deployment discovery failed. */
|
|
73
|
+
export function requireLocalDevMigrations(outcomes) {
|
|
74
|
+
const required = outcomes.filter((outcome) => outcome.failure !== undefined && outcome.requiredForLocalDev);
|
|
75
|
+
if (required.length === 0)
|
|
76
|
+
return;
|
|
77
|
+
throw new CapabilityError('Required local migrations failed: ' + required.map((outcome) => outcome.appId).join(', '), 'UNAVAILABLE', {
|
|
78
|
+
reason: 'local-dev-migrations-failed',
|
|
79
|
+
retryable: false,
|
|
80
|
+
details: { failures: required.map((outcome) => ({ appId: outcome.appId, message: outcome.failure ?? '' })) }
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=migrate-workspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrate-workspace.js","sourceRoot":"","sources":["../../src/migrations/migrate-workspace.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type VibesRuntime } from '@vibesdotdev/kernel';
|
|
2
|
+
import { type DatabaseMigrationTarget, type DatabaseMigrationTargetQuery } from '@vibesdotdev/infra-core/kinds';
|
|
3
|
+
import { type ApplyPendingMigrationsOptions, type MigrateOutcome, type PendingMigrationResult, type RunMigrateOptions } from '../schemas/migrate.ts';
|
|
4
|
+
export type { AppliedEntry, ApplyPendingMigrationsOptions, MigrateMode, MigrateOutcome, PendingMigrationResult, RunMigrateOptions } from '../schemas/migrate.ts';
|
|
5
|
+
/** The databases every registered engine serves for one app, in engine order. */
|
|
6
|
+
export declare function resolveMigrationTargets(runtime: VibesRuntime, query: DatabaseMigrationTargetQuery): Promise<DatabaseMigrationTarget[]>;
|
|
7
|
+
/** The one database a request names: by name or binding, the only one declared, or a refusal. */
|
|
8
|
+
export declare function selectMigrationTarget(targets: readonly DatabaseMigrationTarget[], databaseOverride?: string): DatabaseMigrationTarget;
|
|
9
|
+
/** The target one request names, refused before any credential or engine work. */
|
|
10
|
+
export declare function resolveMigrateTarget(runtime: VibesRuntime, appDir: string, databaseOverride?: string, configFileName?: string, environment?: string): Promise<DatabaseMigrationTarget>;
|
|
11
|
+
/** Apply one request against the one database it names. */
|
|
12
|
+
export declare function runMigrate(options: RunMigrateOptions): Promise<MigrateOutcome>;
|
|
13
|
+
/** Apply pending migrations to every database the app declares migrations for. */
|
|
14
|
+
export declare function applyPendingMigrations(options: ApplyPendingMigrationsOptions): Promise<PendingMigrationResult[]>;
|
|
15
|
+
//# sourceMappingURL=run-migrate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-migrate.d.ts","sourceRoot":"","sources":["../../src/migrations/run-migrate.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAkE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxH,OAAO,EAKN,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EAGjC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAGN,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,YAAY,EAAE,6BAA6B,EAAE,WAAW,EAAE,cAAc,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAMjK,iFAAiF;AACjF,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAQ5I;AAMD,iGAAiG;AACjG,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,SAAS,uBAAuB,EAAE,EAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAmBrI;AAED,kFAAkF;AAClF,wBAAsB,oBAAoB,CACzC,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,MAAM,EACd,gBAAgB,CAAC,EAAE,MAAM,EACzB,cAAc,CAAC,EAAE,MAAM,EACvB,WAAW,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,uBAAuB,CAAC,CAGlC;AA8ND,2DAA2D;AAC3D,wBAAsB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,cAAc,CAAC,CA2CpF;AAED,kFAAkF;AAClF,wBAAsB,sBAAsB,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAStH"}
|