Skip to content
Open
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 .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Node.js 20.x
uses: actions/setup-node@v5
with:
node-version: 20
node-version: 22
cache: "pnpm"
- name: Install Dependencies
run: pnpm install -frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v5
with:
node-version: 20
node-version: 22
cache: "pnpm"
- run: pnpm install -frozen-lockfile
- run: pnpm --if-present --recursive build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"pnpm": {
"overrides": {
"@types/node": "^20.0.0"
"@types/node": "^22.0.0"
}
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-adapter-react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"devDependencies": {
"@aws-amplify/core": "^6.10.5",
"@types/node": "^20.19.0",
"@types/node": "^22.0.0",
"typescript": "^5.7.3",
"vite": "^6.3.0",
"vite-plugin-dts": "^4.5.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"@react-router/dev": "^7.5.2",
"@tailwindcss/vite": "^4.0.0",
"@types/node": "^20",
"@types/node": "^22.0.0",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"react-router-devtools": "^5.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"@react-router/dev": "^7.5.2",
"@tailwindcss/vite": "^4.0.0",
"@types/node": "^20",
"@types/node": "^22.0.0",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"react-router-devtools": "^5.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM node:20-alpine AS development-dependencies-env
FROM node:22-alpine AS development-dependencies-env
COPY . /app
WORKDIR /app
RUN npm ci

FROM node:20-alpine AS production-dependencies-env
FROM node:22-alpine AS production-dependencies-env
COPY ./package.json package-lock.json /app/
WORKDIR /app
RUN npm ci --omit=dev

FROM node:20-alpine AS build-env
FROM node:22-alpine AS build-env
COPY . /app/
COPY --from=development-dependencies-env /app/node_modules /app/node_modules
WORKDIR /app
RUN npm run build

FROM node:20-alpine
FROM node:22-alpine
COPY ./package.json package-lock.json /app/
COPY --from=production-dependencies-env /app/node_modules /app/node_modules
COPY --from=build-env /app/build /app/build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"@react-router/dev": "^7.6.3",
"@tailwindcss/vite": "^4.1.11",
"@types/node": "^20",
"@types/node": "^22.0.0",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"tailwindcss": "^4.1.11",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"build": "tsc && vite build"
},
"devDependencies": {
"@types/node": "^20.19.0",
"@types/node": "^22.0.0",
"@types/semver": "^7.7.1",
"dedent": "^1.5.3",
"strip-indent": "^4.0.0",
Expand Down
Loading