Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk add --no-cache libc6-compat

WORKDIR /app

COPY package.json pnpm-lock.yaml* ./
COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
corepack enable pnpm && pnpm install --frozen-lockfile

Expand Down
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,5 @@
"semantic-release": "^24.2.9",
"tailwindcss": "^4",
"typescript": "^5"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp",
"unrs-resolver"
]
}
}
3 changes: 3 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
onlyBuiltDependencies:
- sharp
- unrs-resolver
Comment on lines +1 to +3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

pnpm v11에서 pnpm-workspace.yaml 파일은 packages 필드를 필수로 요구합니다. 단일 패키지 프로젝트인 경우에도 아래와 같이 packages 필드를 추가하여 워크스페이스 구성을 명시해야 빌드 오류(ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION)를 방지할 수 있습니다.

packages:
  - "."
onlyBuiltDependencies:
  - sharp
  - unrs-resolver

Loading