Skip to content

Commit ce0ffad

Browse files
ItsnotakaMarfuen
andauthored
refactor(api): remove unused email templates and update buildspec (#1786)
* refactor(api): remove unused email templates and update buildspec * chore(api): update @trycompai/db dependency version in package.json * fix(api): update Dockerfile to remove error handling in bun install --------- Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
1 parent cbd33e8 commit ce0ffad

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

apps/api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ COPY package.json ./
1313
# Note: workspace:* dependencies will be skipped and copied manually below
1414
RUN curl -fsSL https://bun.sh/install | bash \
1515
&& export PATH="/root/.bun/bin:$PATH" \
16-
&& bun install --production --ignore-scripts || true
16+
&& bun install --production --ignore-scripts
1717

1818
COPY node_modules/@trycompai ./node_modules/@trycompai
1919
COPY node_modules/@prisma ./node_modules/@prisma

apps/api/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
"@nestjs/platform-express": "^11.1.5",
1313
"@nestjs/swagger": "^11.2.0",
1414
"@prisma/client": "^6.13.0",
15-
"@trycompai/db": "workspace:*",
1615
"@react-email/components": "^0.0.41",
17-
"react": "^19.1.1",
18-
"react-dom": "^19.1.0",
16+
"@trycompai/db": "^1.3.17",
1917
"archiver": "^7.0.1",
2018
"axios": "^1.12.2",
2119
"better-auth": "^1.3.27",
@@ -27,6 +25,8 @@
2725
"nanoid": "^5.1.6",
2826
"pdf-lib": "^1.17.1",
2927
"prisma": "^6.13.0",
28+
"react": "^19.1.1",
29+
"react-dom": "^19.1.0",
3030
"reflect-metadata": "^0.2.2",
3131
"resend": "^6.4.2",
3232
"rxjs": "^7.8.1",

bun.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5395,6 +5395,8 @@
53955395

53965396
"@commitlint/types/chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="],
53975397

5398+
"@comp/api/@trycompai/db": ["@trycompai/db@1.3.17", "", { "dependencies": { "@prisma/client": "^6.13.0", "dotenv": "^16.4.5" } }, "sha512-vrKf+/YGdQhpP470xWhysL3RDL8v16pS90AafF718YcRI6mI/XUqlirNMS43+XtOksrc5CHITyBLLOd848bFDA=="],
5399+
53985400
"@comp/api/zod": ["zod@4.1.12", "", {}, "sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ=="],
53995401

54005402
"@comp/app/resend": ["resend@4.8.0", "", { "dependencies": { "@react-email/render": "1.1.2" } }, "sha512-R8eBOFQDO6dzRTDmaMEdpqrkmgSjPpVXt4nGfWsZdYOet0kqra0xgbvTES6HmCriZEXbmGk3e0DiGIaLFTFSHA=="],
@@ -6521,6 +6523,8 @@
65216523

65226524
"@commitlint/top-level/find-up/path-exists": ["path-exists@5.0.0", "", {}, "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ=="],
65236525

6526+
"@comp/api/@trycompai/db/dotenv": ["dotenv@16.6.1", "", {}, "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow=="],
6527+
65246528
"@comp/app/resend/@react-email/render": ["@react-email/render@1.1.2", "", { "dependencies": { "html-to-text": "^9.0.5", "prettier": "^3.5.3", "react-promise-suspense": "^0.3.4" }, "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-RnRehYN3v9gVlNMehHPHhyp2RQo7+pSkHDtXPvg3s0GbzM9SQMW4Qrf8GRNvtpLC4gsI+Wt0VatNRUFqjvevbw=="],
65256529

65266530
"@dub/embed-react/vite/esbuild": ["esbuild@0.20.2", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.20.2", "@esbuild/android-arm": "0.20.2", "@esbuild/android-arm64": "0.20.2", "@esbuild/android-x64": "0.20.2", "@esbuild/darwin-arm64": "0.20.2", "@esbuild/darwin-x64": "0.20.2", "@esbuild/freebsd-arm64": "0.20.2", "@esbuild/freebsd-x64": "0.20.2", "@esbuild/linux-arm": "0.20.2", "@esbuild/linux-arm64": "0.20.2", "@esbuild/linux-ia32": "0.20.2", "@esbuild/linux-loong64": "0.20.2", "@esbuild/linux-mips64el": "0.20.2", "@esbuild/linux-ppc64": "0.20.2", "@esbuild/linux-riscv64": "0.20.2", "@esbuild/linux-s390x": "0.20.2", "@esbuild/linux-x64": "0.20.2", "@esbuild/netbsd-x64": "0.20.2", "@esbuild/openbsd-x64": "0.20.2", "@esbuild/sunos-x64": "0.20.2", "@esbuild/win32-arm64": "0.20.2", "@esbuild/win32-ia32": "0.20.2", "@esbuild/win32-x64": "0.20.2" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g=="],

0 commit comments

Comments
 (0)