create-oke 0.8.0 → 0.9.1

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-oke",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "description": "Scaffold an okengine app — bunx create-oke@latest <name>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -217,6 +217,7 @@ export function aiDriverForProvider(provider: string): string {
217
217
  /** Default image pins keyed by role (standard template). */
218
218
  export const DEFAULT_IMAGES: Readonly<Record<string, string>> = {
219
219
  "store.sql": "postgres:18-alpine",
220
+ pgdog: "ghcr.io/pgdogdev/pgdog:v0.1.51",
220
221
  "store.kv": "redis:8-alpine",
221
222
  "store.files": "rustfs/rustfs:1.0.0-beta.11",
222
223
  "channel.email": "axllent/mailpit:v1.22.3",
package/src/transform.ts CHANGED
@@ -286,7 +286,7 @@ ${close}}`;
286
286
  const IMAGE_ENV_COLUMNS = new Set(["local", "docker", "test", "prod"]);
287
287
 
288
288
  /** Known compose role keys written into `images`. */
289
- const IMAGE_ROLE_KEY = /^(?:store\.(?:sql|kv|files|index)|channel\.email|vault|ai)$/;
289
+ const IMAGE_ROLE_KEY = /^(?:store\.(?:sql|kv|files|index)|channel\.email|vault|ai|pgdog)$/;
290
290
 
291
291
  /**
292
292
  * Keep `images` in sync with chosen docker drivers.
@@ -312,6 +312,7 @@ function syncImages(source: string, defaults: CreateDefaults): string {
312
312
  d.store.sql.prod === "pgvector"
313
313
  ) {
314
314
  pin("store.sql", DEFAULT_IMAGES["store.sql"]!);
315
+ pin("pgdog", DEFAULT_IMAGES.pgdog!);
315
316
  }
316
317
  if (d.store.kv.docker === "redis" || d.signal.docker === "redis") {
317
318
  pin("store.kv", DEFAULT_IMAGES["store.kv"]!);
@@ -70,6 +70,7 @@ export default defineConfig({
70
70
  },
71
71
  images: {
72
72
  "store.sql": "postgres:18-alpine",
73
+ pgdog: "ghcr.io/pgdogdev/pgdog:v0.1.51",
73
74
  "store.kv": "redis:8-alpine",
74
75
  "store.files": "rustfs/rustfs:1.0.0-beta.11",
75
76
  "channel.email": "axllent/mailpit:v1.22.3",
@@ -62,6 +62,7 @@ export default defineConfig({
62
62
  },
63
63
  images: {
64
64
  "store.sql": "postgres:18-alpine",
65
+ pgdog: "ghcr.io/pgdogdev/pgdog:v0.1.51",
65
66
  "store.kv": "redis:8-alpine",
66
67
  "store.files": "rustfs/rustfs:1.0.0-beta.11",
67
68
  "channel.email": "axllent/mailpit:v1.22.3",