* [WEB-6654] chore: update monorepo dependency versions across packages and apps * fix: add @plane/typescript-config as devDependency to plane-runner-host tsdown 0.21.x uses rolldown which now resolves the full tsconfig extends chain. Without @plane/typescript-config in the dependency graph, turbo prune excludes it from the Docker build, causing rolldown to fail with "Failed to resolve tsconfig option". * fix: replace __dirname with import.meta.dirname in vite configs for oxfmt 0.42 compatibility oxfmt 0.42 now evaluates vite.config.ts as ESM, causing __dirname to fail. Also add ^build dependency to check:format turbo task so @plane/utils is built before oxfmt runs. Amp-Thread-ID: https://ampcode.com/threads/T-019d3d74-2e2d-77c8-b26f-fde88caf9dea Co-authored-by: Amp <[email protected]> * chore: bump dependencies to latest versions turbo 2.8.20→2.8.21, @sentry/* 10.45.0→10.46.0, tsdown 0.21.4→0.21.7, oxlint 1.56.0→1.57.0, @tailwindcss/vite+tailwindcss 4.2.1→4.2.2, electron 40.6.0→41.1.0, eslint-plugin-turbo 2.8.13→2.8.21, posthog-js 1.353.0→1.364.1, sanitize-html 2.17.1→2.17.2, react-hook-form 7.71.2→7.72.0, @fontsource/material-symbols-rounded 5.2.36→5.2.39. Also update TURBO_VERSION in all 19 Dockerfiles. Amp-Thread-ID: https://ampcode.com/threads/T-019d3d74-2e2d-77c8-b26f-fde88caf9dea Co-authored-by: Amp <[email protected]> * fix: revert react-hook-form to 7.71.2 (7.72.0 has breaking Control<T> type changes) Amp-Thread-ID: https://ampcode.com/threads/T-019d3d74-2e2d-77c8-b26f-fde88caf9dea Co-authored-by: Amp <[email protected]> --------- Co-authored-by: sriramveeraghanta <[email protected]> Co-authored-by: Amp <[email protected]>
19 lines
359 B
Docker
19 lines
359 B
Docker
FROM node:22-alpine
|
|
RUN apk add --no-cache libc6-compat
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
ARG TURBO_VERSION=2.8.21
|
|
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
|
|
RUN pnpm install
|
|
|
|
ENV VITE_ADMIN_BASE_PATH="/god-mode/"
|
|
|
|
EXPOSE 3000
|
|
|
|
VOLUME [ "/app/node_modules", "/app/admin/node_modules" ]
|
|
|
|
CMD ["pnpm", "dev", "--filter=admin"]
|