Skip to content

Commit 0c4b63d

Browse files
authored
NPM, Next and Node upgrade
* next update to 16.x * npm update to 11.8.x * node update to 25.6.0
1 parent 31eae6e commit 0c4b63d

File tree

5 files changed

+837
-1057
lines changed

5 files changed

+837
-1057
lines changed

conanio/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Install dependencies only when needed
2-
FROM node:24.5.0-alpine AS deps
2+
FROM node:25.6.0-alpine AS deps
33

44
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
55
RUN apk add --no-cache libc6-compat
@@ -8,7 +8,7 @@ COPY package.json yarn.lock ./
88
RUN yarn install --frozen-lockfile
99

1010
# Rebuild the source code only when needed
11-
FROM node:24.5.0-alpine AS builder
11+
FROM node:25.6.0-alpine AS builder
1212

1313
ARG NEXT_PUBLIC_CONAN_VERSION
1414
ARG NEXT_PUBLIC_CONAN_CONANIO_SERVICE
@@ -23,7 +23,7 @@ RUN yarn test:ci
2323
RUN yarn build . NEXT_PUBLIC_CONAN_VERSION=${NEXT_PUBLIC_CONAN_VERSION} NEXT_PUBLIC_CONAN_CONANIO_SERVICE=${NEXT_PUBLIC_CONAN_CONANIO_SERVICE}
2424

2525
# Production image, copy all the files and run next
26-
FROM node:24.5.0-alpine AS runner
26+
FROM node:25.6.0-alpine AS runner
2727
WORKDIR /app
2828

2929
ENV NODE_ENV=production

conanio/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference path="./.next/types/routes.d.ts" />
3+
import "./.next/dev/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

conanio/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"highlight.js": "11.8.0",
2020
"install": "^0.13.0",
2121
"lodash": "^4.17.23",
22-
"next": "^15.5.10",
23-
"npm": "^8.12.0",
22+
"next": "^16.1.6",
23+
"npm": "^11.8.0",
2424
"react": "19.2.1",
2525
"react-bootstrap": "^2.4.0",
2626
"react-dom": "19.2.1",

conanio/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"moduleResolution": "node",
1717
"resolveJsonModule": true,
1818
"isolatedModules": true,
19-
"jsx": "preserve",
19+
"jsx": "react-jsx",
2020
"downlevelIteration": true,
2121
"baseUrl": ".",
2222
"paths": {

0 commit comments

Comments
 (0)