servcraft 0.4.3 → 0.4.4

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/ROADMAP.md CHANGED
@@ -4,7 +4,8 @@ This document outlines the planned features and improvements for Servcraft.
4
4
 
5
5
  ## Version History
6
6
 
7
- - **v0.4.3** (Current) - ESM/CommonJS compatibility fix - Phase 3 in progress 🚧
7
+ - **v0.4.4** (Current) - Prisma client bundling fix - Phase 3 in progress 🚧
8
+ - **v0.4.3** - ESM/CommonJS compatibility fix
8
9
  - **v0.4.2** - Custom template loading in generate/scaffold
9
10
  - **v0.4.1** - Custom templates management (init/list)
10
11
  - **v0.4.0** - Scaffold command for complete CRUD generation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "servcraft",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "A modular, production-ready Node.js backend framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,6 +17,7 @@
17
17
  "lint:fix": "eslint src --ext .ts --fix",
18
18
  "format": "prettier --write \"src/**/*.ts\"",
19
19
  "prepare": "husky",
20
+ "postinstall": "prisma generate --schema=./prisma/schema.prisma || true",
20
21
  "typecheck": "tsc --noEmit",
21
22
  "db:generate": "prisma generate",
22
23
  "db:migrate": "prisma migrate dev",
package/tsup.config.ts CHANGED
@@ -11,4 +11,5 @@ export default defineConfig({
11
11
  target: 'node18',
12
12
  outDir: 'dist',
13
13
  shims: true,
14
+ external: ['@prisma/client'],
14
15
  });