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"] }