feat: update to node 22, pnpm 10

This commit is contained in:
Aarnav Tale 2025-02-04 17:25:39 -05:00
parent 316e5b501f
commit 2a1c795d46
No known key found for this signature in database
4 changed files with 10 additions and 10 deletions

View File

@ -16,12 +16,12 @@ jobs:
- name: Install node.js - name: Install node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 22
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
name: Install pnpm name: Install pnpm
with: with:
version: 9 version: 10
run_install: false run_install: false
- name: Get pnpm store directory - name: Get pnpm store directory

View File

@ -1,7 +1,7 @@
FROM node:20-alpine AS build FROM node:22-alpine AS build
WORKDIR /app WORKDIR /app
RUN npm install -g pnpm@9 RUN npm install -g pnpm@10
RUN apk add --no-cache git RUN apk add --no-cache git
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
COPY patches ./patches COPY patches ./patches
@ -11,7 +11,7 @@ COPY . .
RUN pnpm run build RUN pnpm run build
RUN pnpm prune --prod RUN pnpm prune --prod
FROM node:20-alpine FROM node:22-alpine
WORKDIR /app WORKDIR /app
COPY --from=build /app/build /app/build COPY --from=build /app/build /app/build
COPY --from=build /app/node_modules /app/node_modules COPY --from=build /app/node_modules /app/node_modules

View File

@ -68,8 +68,8 @@
"vite-tsconfig-paths": "^5.1.4" "vite-tsconfig-paths": "^5.1.4"
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=22",
"pnpm": ">=9 <10" "pnpm": ">=10 <11"
}, },
"pnpm": { "pnpm": {
"patchedDependencies": { "patchedDependencies": {

View File

@ -6,7 +6,7 @@ settings:
patchedDependencies: patchedDependencies:
'@shopify/lang-jsonc@1.0.0': '@shopify/lang-jsonc@1.0.0':
hash: kv4he7q622clo6pnx2dz7va2yu hash: 915164bae9a5d47bb0e7edf0cbbc4c7f0fedb1a2f9a5f6ef5c53d8fef6856211
path: patches/@shopify__lang-jsonc@1.0.0.patch path: patches/@shopify__lang-jsonc@1.0.0.patch
importers: importers:
@ -45,7 +45,7 @@ importers:
version: 3.0.0-beta.7(react@19.0.0) version: 3.0.0-beta.7(react@19.0.0)
'@shopify/lang-jsonc': '@shopify/lang-jsonc':
specifier: ^1.0.0 specifier: ^1.0.0
version: 1.0.0(patch_hash=kv4he7q622clo6pnx2dz7va2yu) version: 1.0.0(patch_hash=915164bae9a5d47bb0e7edf0cbbc4c7f0fedb1a2f9a5f6ef5c53d8fef6856211)
'@types/react': '@types/react':
specifier: ^19.0.2 specifier: ^19.0.2
version: 19.0.2 version: 19.0.2
@ -4800,7 +4800,7 @@ snapshots:
'@rollup/rollup-win32-x64-msvc@4.29.1': '@rollup/rollup-win32-x64-msvc@4.29.1':
optional: true optional: true
'@shopify/lang-jsonc@1.0.0(patch_hash=kv4he7q622clo6pnx2dz7va2yu)': '@shopify/lang-jsonc@1.0.0(patch_hash=915164bae9a5d47bb0e7edf0cbbc4c7f0fedb1a2f9a5f6ef5c53d8fef6856211)':
dependencies: dependencies:
'@lezer/highlight': 1.2.1 '@lezer/highlight': 1.2.1
'@lezer/lr': 1.4.2 '@lezer/lr': 1.4.2