diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 33be1afa..2b39e9dd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,7 +23,7 @@ jobs: - name: Setup PNPM uses: pnpm/action-setup@v4 with: - version: 10 + version: 10.33.4 - name: Setup Node.js uses: actions/setup-node@v4 @@ -47,7 +47,7 @@ jobs: - name: Setup PNPM uses: pnpm/action-setup@v4 with: - version: 10 + version: 10.33.4 - name: Setup Node.js uses: actions/setup-node@v4 @@ -71,7 +71,7 @@ jobs: - name: Setup PNPM uses: pnpm/action-setup@v4 with: - version: 10 + version: 10.33.4 - name: Setup Node.js uses: actions/setup-node@v4 @@ -99,7 +99,7 @@ jobs: - name: Setup PNPM uses: pnpm/action-setup@v4 with: - version: 10 + version: 10.33.4 - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ca6860d9..f674cf50 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,7 +77,7 @@ To contribute code, you'll need to set up your development environment. **Prerequisites:** - **Node.js:** Version 24. You can use a version manager like [fnm](https://github.com/Schniz/fnm) or [nvm](https://github.com/nvm-sh/nvm) to manage Node.js versions. -- **pnpm:** We use `pnpm` for package management. Install it using Homebrew: `brew install pnpm`, or follow the official [pnpm installation guide](https://pnpm.io/installation) for other systems. +- **pnpm:** We use `pnpm` for package management, pinned via the `packageManager` field in `package.json`. Install pnpm via Homebrew (`brew install pnpm`) or the official [pnpm installation guide](https://pnpm.io/installation); pnpm will automatically use the pinned version when run inside this repo. **Steps:** diff --git a/Dockerfile b/Dockerfile index 06023a86..06d5e83f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ENV NODE_ENV="production" ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN mkdir $PNPM_HOME && \ - wget -qO- "https://github.com/pnpm/pnpm/releases/download/v10.18.1/pnpm-linuxstatic-arm64" > "$PNPM_HOME/pnpm" && \ + wget -qO- "https://github.com/pnpm/pnpm/releases/download/v10.33.4/pnpm-linuxstatic-arm64" > "$PNPM_HOME/pnpm" && \ chmod +x $PNPM_HOME/pnpm && \ ln -s $PNPM_HOME/pnpm /usr/local/bin/pnpm diff --git a/package.json b/package.json index a376d7c6..a37fe4f1 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.14.1", "private": true, "type": "module", + "packageManager": "pnpm@10.33.4", "scripts": { "dev": "vite dev", "build": "vite build", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 32cdbe06..0ac9cf04 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2236,11 +2236,11 @@ packages: bowser@2.14.1: resolution: {integrity: sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==} - brace-expansion@1.1.15: - resolution: {integrity: sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==} + brace-expansion@1.1.13: + resolution: {integrity: sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==} - brace-expansion@2.1.1: - resolution: {integrity: sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==} + brace-expansion@2.0.3: + resolution: {integrity: sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==} brace-expansion@5.0.6: resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==} @@ -2849,8 +2849,8 @@ packages: help-me@5.0.0: resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} - hono@4.12.24: - resolution: {integrity: sha512-I36D1s+HgQc55KbhEr4iybfxv/9o1zdpw+XEM6dJa91LqQD0HCoSGdxpRJCZE+aavs87j4V3Ls2OJzq8C/U4iw==} + hono@4.12.23: + resolution: {integrity: sha512-eIaZ9qDgu7XV0pxOCrg7/WhnQ6Ivm22UcxhXx/A3dcbqbbYgBEkc6e/J/s7j2tS96zoB0S9VBdLwQNCWwUo4LA==} engines: {node: '>=16.9.0'} html-encoding-sniffer@4.0.0: @@ -5149,9 +5149,9 @@ snapshots: protobufjs: 7.6.2 yargs: 17.7.2 - '@hono/node-server@1.19.13(hono@4.12.24)': + '@hono/node-server@1.19.13(hono@4.12.23)': dependencies: - hono: 4.12.24 + hono: 4.12.23 '@humanfs/core@0.19.1': {} @@ -5265,7 +5265,7 @@ snapshots: '@jridgewell/gen-mapping@0.3.13': dependencies: - '@jridgewell/sourcemap-codec': 1.5.4 + '@jridgewell/sourcemap-codec': 1.5.5 '@jridgewell/trace-mapping': 0.3.31 '@jridgewell/remapping@2.3.5': @@ -5287,7 +5287,7 @@ snapshots: '@jridgewell/trace-mapping@0.3.31': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.4 + '@jridgewell/sourcemap-codec': 1.5.5 '@js-sdsl/ordered-map@4.4.2': {} @@ -5340,13 +5340,13 @@ snapshots: '@electric-sql/pglite': 0.4.1 '@electric-sql/pglite-socket': 0.1.1(@electric-sql/pglite@0.4.1) '@electric-sql/pglite-tools': 0.3.1(@electric-sql/pglite@0.4.1) - '@hono/node-server': 1.19.13(hono@4.12.24) + '@hono/node-server': 1.19.13(hono@4.12.23) '@prisma/get-platform': 7.2.0 '@prisma/query-plan-executor': 7.2.0 '@prisma/streams-local': 0.1.2 foreground-child: 3.3.1 get-port-please: 3.2.0 - hono: 4.12.24 + hono: 4.12.23 http-status-codes: 2.3.0 pathe: 2.0.3 proper-lockfile: 4.1.2 @@ -6537,12 +6537,12 @@ snapshots: bowser@2.14.1: {} - brace-expansion@1.1.15: + brace-expansion@1.1.13: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - brace-expansion@2.1.1: + brace-expansion@2.0.3: dependencies: balanced-match: 1.0.2 @@ -7201,7 +7201,7 @@ snapshots: help-me@5.0.0: {} - hono@4.12.24: {} + hono@4.12.23: {} html-encoding-sniffer@4.0.0: dependencies: @@ -7597,15 +7597,15 @@ snapshots: minimatch@3.1.5: dependencies: - brace-expansion: 1.1.15 + brace-expansion: 1.1.13 minimatch@5.1.9: dependencies: - brace-expansion: 2.1.1 + brace-expansion: 2.0.3 minimatch@9.0.9: dependencies: - brace-expansion: 2.1.1 + brace-expansion: 2.0.3 minimist@1.2.8: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index b5859123..8e9f8fed 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,13 +1,13 @@ minimumReleaseAge: 10080 -onlyBuiltDependencies: - - '@prisma/client' - - '@prisma/engines' - - '@tailwindcss/oxide' - - esbuild - - prisma - - protobufjs - - sharp +allowBuilds: + '@prisma/client': true + '@prisma/engines': true + '@tailwindcss/oxide': true + esbuild: true + prisma: true + protobufjs: true + sharp: true patchedDependencies: vite-imagetools: patches/vite-imagetools.patch