diff --git a/.gitignore b/.gitignore index 5b95214..578e0fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # dependencies node_modules/ +# agent worktrees (scratch checkouts, never part of a commit) +.claude/worktrees/ + # Next.js build output .next/ out/ diff --git a/Dockerfile b/Dockerfile index e69e3fa..456dab0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,10 @@ RUN corepack enable && corepack prepare pnpm@11.0.9 --activate FROM base AS deps RUN apk add --no-cache libc6-compat -COPY package.json pnpm-lock.yaml ./ +# pnpm-workspace.yaml is required here, not optional: pnpm 10+ reads +# `overrides` from it, the lockfile records those overrides, and a frozen +# install aborts with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH when it is absent. +COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ RUN pnpm install --frozen-lockfile FROM base AS builder diff --git a/next-env.d.ts b/next-env.d.ts index ce4e94a..a419cbe 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,7 +1,7 @@ /// /// -import "./.next/types/routes.d.ts"; -import "./.next/types/root-params.d.ts"; +import "./.next/dev/types/routes.d.ts"; +import "./.next/dev/types/root-params.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.