Skip to content

Commit

Permalink
fix backend build
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 committed Oct 4, 2023
1 parent 621aa05 commit c28d05b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions apps/backend/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const isProduction = process.env.NODE_ENV === "production";

export default defineConfig({
clean: true,
dts: true,
dts: false,
entry: ["src/index.ts"],
format: ["cjs", "esm"],
minify: isProduction,
sourcemap: true,
sourcemap: false,
});
6 changes: 4 additions & 2 deletions packages/trpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"dist"
],
"scripts": {
"build": "tsup",
"build1": "esbuild src/index.ts --bundle --packages=external --platform=neutral --format=esm --outdir=dist --sourcemap",
"build1": "tsup",
"build": "esbuild src/index.ts --bundle --packages=external --platform=node --format=esm --outdir=dist --sourcemap",
"dev": "esbuild src/index.ts --bundle --packages=external --platform=node --format=esm --outdir=dist --sourcemap --watch"
},
"dependencies": {
Expand All @@ -26,7 +26,9 @@
"zod": "^3.22.2"
},
"devDependencies": {
"@celluloid/config": "*",
"@types/uuid": "^9.0.4",
"esbuild": "^0.19.4",
"tsup": "^7.2.0",
"tsx": "^3.12.10"
}
Expand Down
2 changes: 2 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1866,12 +1866,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "@celluloid/trpc@workspace:packages/trpc"
dependencies:
"@celluloid/config": "*"
"@celluloid/prisma": "*"
"@trpc/server": ^10.38.5
"@types/uuid": ^9.0.4
bcryptjs: ^2.4.3
change-case: ^4.1.2
dotenv: ^16.3.1
esbuild: ^0.19.4
lodash: ^4.17.21
trpc-openapi: ^1.2.0
tsup: ^7.2.0
Expand Down

0 comments on commit c28d05b

Please sign in to comment.