create-svc 0.1.65 → 0.1.66

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.65",
3
+ "version": "0.1.66",
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",
@@ -194,6 +194,8 @@ test("scaffolds all runtime/framework variants with shared cloudrun config", asy
194
194
  expect(goMod).toContain("connectrpc.com/connect");
195
195
  expect(mainGo).toContain("NewWaitlistService");
196
196
  expect(mainGo).toContain("WaitlistServiceName");
197
+ const bufConfig = await Bun.file(join(generatedRoot, "buf.yaml")).text();
198
+ expect(bufConfig).toContain("name: buf.build/anmho/dns-api");
197
199
  } else {
198
200
  expect(goMod).not.toContain("connectrpc.com/connect");
199
201
  expect(mainGo).toContain("NewWaitlistService");
@@ -350,6 +350,7 @@ async function runSdk(args: string[]) {
350
350
  if (subcommand === "publish") {
351
351
  requireCommand("buf");
352
352
  run("buf", ["push"]);
353
+ await writeSdkMode("remote");
353
354
  return "Schema pushed to Buf Schema Registry";
354
355
  }
355
356
 
@@ -1,6 +1,7 @@
1
1
  version: v2
2
2
  modules:
3
3
  - path: protos
4
+ name: buf.build/anmho/{{SERVICE_ID}}
4
5
  lint:
5
6
  use:
6
7
  - STANDARD