From a0125a978d1f367a6f6d10e8377fbecea226d7e2 Mon Sep 17 00:00:00 2001 From: willbot Date: Sat, 11 Jul 2026 18:43:21 +0200 Subject: [PATCH] fix(ci): repair main after dependency bumps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tsdown 0.22 emits dist/server.mjs (was server.js) — point the auth build entry at the new name. Re-format the tsconfig Next 16 rewrote so Biome passes. Signed-off-by: willbot Signed-off-by: Will Madden --- examples/storefront-auth/systems/auth/src/service.ts | 2 +- examples/storefront-auth/systems/auth/tsdown.config.ts | 2 +- .../storefront-auth/systems/storefront/tsconfig.json | 10 ++-------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/examples/storefront-auth/systems/auth/src/service.ts b/examples/storefront-auth/systems/auth/src/service.ts index acd0d0fe..6b2e3b58 100644 --- a/examples/storefront-auth/systems/auth/src/service.ts +++ b/examples/storefront-auth/systems/auth/src/service.ts @@ -10,6 +10,6 @@ export default compute({ deps: { db: postgres(), }, - build: node({ module: import.meta.url, entry: '../dist/server.js' }), + build: node({ module: import.meta.url, entry: '../dist/server.mjs' }), expose: { rpc: authContract }, }); diff --git a/examples/storefront-auth/systems/auth/tsdown.config.ts b/examples/storefront-auth/systems/auth/tsdown.config.ts index dc995ccf..96f915fe 100644 --- a/examples/storefront-auth/systems/auth/tsdown.config.ts +++ b/examples/storefront-auth/systems/auth/tsdown.config.ts @@ -1,7 +1,7 @@ import { defineConfig } from 'tsdown'; // The app's own build (ADR-0005): only its runnable, src/server.ts, built to -// dist/server.js. The Prisma App wrapper (bundling src/service.ts to main.js, +// dist/server.mjs. The Prisma App wrapper (bundling src/service.ts to main.js, // as an independent module instance) is no longer built here — `prisma-app // deploy` assembles it via `@prisma/app-node/control`. @prisma/* and arktype // (the contract evaluates type() at import time) are inlined (node_modules diff --git a/examples/storefront-auth/systems/storefront/tsconfig.json b/examples/storefront-auth/systems/storefront/tsconfig.json index ced58160..57b85d97 100644 --- a/examples/storefront-auth/systems/storefront/tsconfig.json +++ b/examples/storefront-auth/systems/storefront/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "ES2022", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -31,7 +27,5 @@ ".next/types/**/*.ts", ".next/dev/types/**/*.ts" ], - "exclude": [ - "node_modules" - ] + "exclude": ["node_modules"] }