create-svc 0.1.55 → 0.1.56

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-svc",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "Local microservice bootstrap CLI for Cloud Run and Workers services with Neon-backed data.",
5
5
  "module": "index.ts",
6
6
  "type": "module",
@@ -149,6 +149,7 @@ test("scaffolds all runtime/framework variants with shared cloudrun config", asy
149
149
  const deployWorkflow = await Bun.file(join(generatedRoot, ".github", "workflows", "deploy.yml")).text();
150
150
  expect(deployWorkflow).toContain("branches:");
151
151
  expect(deployWorkflow).toContain("- main");
152
+ expect(deployWorkflow).toContain("gcloud components install beta --quiet");
152
153
  expect(deployWorkflow).toContain("bun install -g create-svc@latest");
153
154
  expect(deployWorkflow).toContain("service deploy --ci");
154
155
  expect(deployWorkflow).toContain("bun run dashboards");
@@ -605,6 +605,7 @@ export function ensureProductionDomainMapping(serviceName: string) {
605
605
  }
606
606
 
607
607
  const result = gcloud([
608
+ "beta",
608
609
  "run",
609
610
  "domain-mappings",
610
611
  "create",
@@ -626,6 +627,7 @@ export function describeProductionDomainMapping():
626
627
  | undefined {
627
628
  const result = gcloud(
628
629
  [
630
+ "beta",
629
631
  "run",
630
632
  "domain-mappings",
631
633
  "describe",
@@ -678,6 +680,7 @@ export function deleteProductionDomainMapping() {
678
680
  deleteCloudflareDnsRecord();
679
681
  gcloud(
680
682
  [
683
+ "beta",
681
684
  "run",
682
685
  "domain-mappings",
683
686
  "delete",
@@ -24,6 +24,7 @@ jobs:
24
24
  workload_identity_provider: ${{ vars.GCP_WIF_PROVIDER }}
25
25
  service_account: ${{ vars.GCP_DEPLOYER_SERVICE_ACCOUNT }}
26
26
  - uses: google-github-actions/setup-gcloud@v2
27
+ - run: gcloud components install beta --quiet
27
28
  - run: bun install
28
29
  - run: bun install -g create-svc@latest
29
30
  - run: {{WORKFLOW_DEPLOY_MAIN_COMMAND}}