Skip to content

Commit 7d7f0da

Browse files
committed
fix: Removed postinstall script from package.json
1 parent 41f0cb7 commit 7d7f0da

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
FROM node:20-alpine AS deps
33
WORKDIR /app
44
COPY package.json pnpm-lock.yaml ./
5-
COPY prisma ./prisma
6-
COPY prisma.config.ts ./
75
RUN npm install -g pnpm && pnpm install --frozen-lockfile
86

97
# Stage 2: builder

context/progress-tracker.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,9 @@ Update this file whenever the current phase, active feature, or implementation s
551551
- Updated app icons:
552552
- Added `app/icon.png` using the ghost logo and removed the invalid `app/favicon.ico`.
553553
- Center-cropped the logo to a square without resizing for `app/icon.png` and `app/apple-icon.png`.
554+
- Updated build pipeline for Prisma:
555+
- Removed `postinstall` Prisma generate and kept generation in the builder stage.
556+
- Removed schema/config copy from the Docker deps stage to keep installs pure.
554557
- Updated `components/editor/canvas-node.tsx`:
555558
- Replaced SVG text labels with `foreignObject`-based wrapped label containers for diamond/hexagon/cylinder so long labels stack and clip within node bounds.
556559
- Updated CSS-shape label style to multiline wrapping with bounded height and hidden overflow instead of single-line ellipsis.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"build": "prisma generate && next build",
88
"start": "next start",
99
"lint": "eslint",
10-
"typecheck": "tsc --noEmit",
11-
"postinstall": "prisma generate"
10+
"typecheck": "tsc --noEmit"
1211
},
1312
"dependencies": {
1413
"@base-ui/react": "^1.4.1",

0 commit comments

Comments
 (0)