v1.6.8-beta
Changes
Prisma client generation overhaul
- The generated Prisma type-sync package moved from
node_modules/@arkosjs/generatedto a.arkos/folder at the project root - Dropped the CJS build and generated
package.jsonfor this package — now justindex.d.ts+ an ESMindex.js - Added support for a custom Prisma Client output path (reads the
outputvalue from yourgeneratorblock inschema.prisma) arkos prisma generatenow automatically:- adds a
@arkosjs/generatedpath mapping totsconfig.json, pointing at./.arkos/index.d.ts - adds
.arkosto.gitignore
- adds a
arkos devno longer prompts "Would you like to runnpx arkos prisma generate?" — if base service types are missing, it now runs prisma generate automatically instead of asking
Fixes
- File upload router now correctly builds its "not found" file path using the configured
globalPrefix, instead of hardcoding/api - Email service: when only an email
useris configured (no password), that user is now correctly used as thefromaddress instead of being dropped arkos.configloading: the "using default configs" warning now only fires when the config file itself is genuinely missing, instead of swallowing any "cannot find module" error (e.g. a bad import inside your config file)
create-arkos
- Removed the "Would you like to use Strict Routing?" prompt from project scaffolding
- Scaffolded
tsconfig.jsonand.gitignorenow include the@arkosjs/generatedpath mapping and.arkosignore entry by default - Bumped scaffolded dependency versions (Prisma, TypeScript, class-validator, Scalar, etc.)
Dependency updates
- Notable bumps:
@prisma/client/prisma→ 6.19.3,zod→ 3.25.76,class-validator→ 0.15.1,multer→ 2.2.0,nodemailer→ 9.0.3,sharp→ 0.35.3,express-rate-limit→ 8.6.1,@scalar/express-api-reference→ 0.10.12
Upgrade
pnpm install arkos@latestNote: after upgrading, run npx arkos prisma generate once to regenerate types into the new .arkos/ location.
Full diff on GitHub: packages/arkos v1.6.8-beta.