mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
feat: update nodejs 22 references to 24
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"ghcr.io/devcontainers/features/node:1": {
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
"nodeGypDependencies": true,
|
"nodeGypDependencies": true,
|
||||||
"version": "22.18"
|
"version": "24"
|
||||||
},
|
},
|
||||||
"ghcr.io/devcontainers/features/go:1": {
|
"ghcr.io/devcontainers/features/go:1": {
|
||||||
"version": "1.25.1"
|
"version": "1.25.1"
|
||||||
|
|||||||
+3
-3
@@ -25,7 +25,7 @@ RUN chmod +x /bin/hp_healthcheck
|
|||||||
# Folder needs to exist for later stages
|
# Folder needs to exist for later stages
|
||||||
RUN mkdir -p /var/lib/headplane/agent
|
RUN mkdir -p /var/lib/headplane/agent
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM node:22.16-slim AS js-base
|
FROM --platform=$BUILDPLATFORM node:24-slim AS js-base
|
||||||
WORKDIR /run
|
WORKDIR /run
|
||||||
|
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
@@ -40,7 +40,7 @@ COPY . .
|
|||||||
ARG HEADPLANE_VERSION
|
ARG HEADPLANE_VERSION
|
||||||
RUN HEADPLANE_VERSION=$HEADPLANE_VERSION ./build.sh --app
|
RUN HEADPLANE_VERSION=$HEADPLANE_VERSION ./build.sh --app
|
||||||
|
|
||||||
FROM gcr.io/distroless/nodejs22-debian12:latest AS final
|
FROM gcr.io/distroless/nodejs24-debian13:latest AS final
|
||||||
COPY --from=js-base /run/build /app/build
|
COPY --from=js-base /run/build /app/build
|
||||||
COPY --from=js-base /run/drizzle /app/drizzle
|
COPY --from=js-base /run/drizzle /app/drizzle
|
||||||
COPY --from=js-base /run/node_modules /app/node_modules
|
COPY --from=js-base /run/node_modules /app/node_modules
|
||||||
@@ -59,7 +59,7 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
CMD [ "/app/build/server/index.js" ]
|
CMD [ "/app/build/server/index.js" ]
|
||||||
|
|
||||||
FROM node:22-alpine AS debug-shell
|
FROM node:24-alpine AS debug-shell
|
||||||
RUN apk add --no-cache bash curl
|
RUN apk add --no-cache bash curl
|
||||||
|
|
||||||
COPY --from=js-base /run/build /app/build
|
COPY --from=js-base /run/build /app/build
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ rec {
|
|||||||
'';
|
'';
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.go
|
pkgs.go
|
||||||
pkgs.nodejs-slim_22
|
pkgs.nodejs-slim_24
|
||||||
pkgs.pnpm_10
|
pkgs.pnpm_10
|
||||||
pkgs.typescript-language-server
|
pkgs.typescript-language-server
|
||||||
pkgs.mise
|
pkgs.mise
|
||||||
|
|||||||
+3
-3
@@ -3,7 +3,7 @@
|
|||||||
headplane-ssh-wasm,
|
headplane-ssh-wasm,
|
||||||
lib,
|
lib,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
nodejs_22,
|
nodejs_24,
|
||||||
pnpm_10,
|
pnpm_10,
|
||||||
stdenv,
|
stdenv,
|
||||||
}: let
|
}: let
|
||||||
@@ -19,7 +19,7 @@ in
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
nodejs_22
|
nodejs_24
|
||||||
pnpm_10.configHook
|
pnpm_10.configHook
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
@@ -47,7 +47,7 @@ in
|
|||||||
cp -r node_modules $out/share/headplane/
|
cp -r node_modules $out/share/headplane/
|
||||||
cp -r drizzle $out/share/headplane/
|
cp -r drizzle $out/share/headplane/
|
||||||
sed -i "s;$PWD;../..;" $out/share/headplane/build/server/index.js
|
sed -i "s;$PWD;../..;" $out/share/headplane/build/server/index.js
|
||||||
makeWrapper ${lib.getExe nodejs_22} $out/bin/headplane \
|
makeWrapper ${lib.getExe nodejs_24} $out/bin/headplane \
|
||||||
--chdir $out/share/headplane \
|
--chdir $out/share/headplane \
|
||||||
--add-flags $out/share/headplane/build/server/index.js
|
--add-flags $out/share/headplane/build/server/index.js
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
|||||||
+1
-2
@@ -20,8 +20,7 @@
|
|||||||
"format": "oxfmt"
|
"format": "oxfmt"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@base-ui/react": "^1.2.0",
|
"@base-ui/react": "^1.2.0"
|
||||||
"@libsql/client": "0.17.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@dnd-kit/core": "^6.3.1",
|
"@dnd-kit/core": "^6.3.1",
|
||||||
|
|||||||
Generated
+23
-10
@@ -16,9 +16,6 @@ importers:
|
|||||||
'@base-ui/react':
|
'@base-ui/react':
|
||||||
specifier: ^1.2.0
|
specifier: ^1.2.0
|
||||||
version: 1.2.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
|
version: 1.2.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
|
||||||
'@libsql/client':
|
|
||||||
specifier: 0.17.0
|
|
||||||
version: 0.17.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@dnd-kit/core':
|
'@dnd-kit/core':
|
||||||
specifier: ^6.3.1
|
specifier: ^6.3.1
|
||||||
@@ -6273,10 +6270,12 @@ snapshots:
|
|||||||
- bufferutil
|
- bufferutil
|
||||||
- encoding
|
- encoding
|
||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@libsql/core@0.17.0':
|
'@libsql/core@0.17.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
js-base64: 3.7.8
|
js-base64: 3.7.8
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@libsql/darwin-arm64@0.5.22':
|
'@libsql/darwin-arm64@0.5.22':
|
||||||
optional: true
|
optional: true
|
||||||
@@ -6294,6 +6293,7 @@ snapshots:
|
|||||||
- bufferutil
|
- bufferutil
|
||||||
- encoding
|
- encoding
|
||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@libsql/isomorphic-ws@0.1.5(bufferutil@4.0.9)(utf-8-validate@5.0.10)':
|
'@libsql/isomorphic-ws@0.1.5(bufferutil@4.0.9)(utf-8-validate@5.0.10)':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -6302,6 +6302,7 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- bufferutil
|
- bufferutil
|
||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@libsql/linux-arm-gnueabihf@0.5.22':
|
'@libsql/linux-arm-gnueabihf@0.5.22':
|
||||||
optional: true
|
optional: true
|
||||||
@@ -6335,7 +6336,8 @@ snapshots:
|
|||||||
'@tybys/wasm-util': 0.10.1
|
'@tybys/wasm-util': 0.10.1
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@neon-rs/load@0.0.4': {}
|
'@neon-rs/load@0.0.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@oslojs/asn1@1.0.0':
|
'@oslojs/asn1@1.0.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -7975,7 +7977,8 @@ snapshots:
|
|||||||
|
|
||||||
'@types/ws@8.18.1':
|
'@types/ws@8.18.1':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 25.3.1
|
'@types/node': 25.5.0
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20260225.1':
|
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20260225.1':
|
||||||
optional: true
|
optional: true
|
||||||
@@ -8535,6 +8538,7 @@ snapshots:
|
|||||||
node-fetch: 2.7.0
|
node-fetch: 2.7.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- encoding
|
- encoding
|
||||||
|
optional: true
|
||||||
|
|
||||||
cross-spawn@7.0.6:
|
cross-spawn@7.0.6:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -8546,7 +8550,8 @@ snapshots:
|
|||||||
|
|
||||||
csstype@3.2.3: {}
|
csstype@3.2.3: {}
|
||||||
|
|
||||||
data-uri-to-buffer@4.0.1: {}
|
data-uri-to-buffer@4.0.1:
|
||||||
|
optional: true
|
||||||
|
|
||||||
debug@4.4.3:
|
debug@4.4.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -8577,7 +8582,8 @@ snapshots:
|
|||||||
|
|
||||||
dequal@2.0.3: {}
|
dequal@2.0.3: {}
|
||||||
|
|
||||||
detect-libc@2.0.2: {}
|
detect-libc@2.0.2:
|
||||||
|
optional: true
|
||||||
|
|
||||||
detect-libc@2.1.2: {}
|
detect-libc@2.1.2: {}
|
||||||
|
|
||||||
@@ -8831,6 +8837,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
node-domexception: 1.0.0
|
node-domexception: 1.0.0
|
||||||
web-streams-polyfill: 3.3.3
|
web-streams-polyfill: 3.3.3
|
||||||
|
optional: true
|
||||||
|
|
||||||
file-uri-to-path@1.0.0:
|
file-uri-to-path@1.0.0:
|
||||||
optional: true
|
optional: true
|
||||||
@@ -8855,6 +8862,7 @@ snapshots:
|
|||||||
formdata-polyfill@4.0.10:
|
formdata-polyfill@4.0.10:
|
||||||
dependencies:
|
dependencies:
|
||||||
fetch-blob: 3.2.0
|
fetch-blob: 3.2.0
|
||||||
|
optional: true
|
||||||
|
|
||||||
fs-constants@1.0.0: {}
|
fs-constants@1.0.0: {}
|
||||||
|
|
||||||
@@ -9136,6 +9144,7 @@ snapshots:
|
|||||||
'@libsql/linux-x64-gnu': 0.5.22
|
'@libsql/linux-x64-gnu': 0.5.22
|
||||||
'@libsql/linux-x64-musl': 0.5.22
|
'@libsql/linux-x64-musl': 0.5.22
|
||||||
'@libsql/win32-x64-msvc': 0.5.22
|
'@libsql/win32-x64-msvc': 0.5.22
|
||||||
|
optional: true
|
||||||
|
|
||||||
lightningcss-android-arm64@1.31.1:
|
lightningcss-android-arm64@1.31.1:
|
||||||
optional: true
|
optional: true
|
||||||
@@ -9318,7 +9327,8 @@ snapshots:
|
|||||||
semver: 7.7.4
|
semver: 7.7.4
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
node-domexception@1.0.0: {}
|
node-domexception@1.0.0:
|
||||||
|
optional: true
|
||||||
|
|
||||||
node-fetch@2.7.0:
|
node-fetch@2.7.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -9329,6 +9339,7 @@ snapshots:
|
|||||||
data-uri-to-buffer: 4.0.1
|
data-uri-to-buffer: 4.0.1
|
||||||
fetch-blob: 3.2.0
|
fetch-blob: 3.2.0
|
||||||
formdata-polyfill: 4.0.10
|
formdata-polyfill: 4.0.10
|
||||||
|
optional: true
|
||||||
|
|
||||||
node-gyp-build@4.8.4:
|
node-gyp-build@4.8.4:
|
||||||
optional: true
|
optional: true
|
||||||
@@ -9478,7 +9489,8 @@ snapshots:
|
|||||||
|
|
||||||
process@0.11.10: {}
|
process@0.11.10: {}
|
||||||
|
|
||||||
promise-limit@2.7.0: {}
|
promise-limit@2.7.0:
|
||||||
|
optional: true
|
||||||
|
|
||||||
proper-lockfile@4.1.2:
|
proper-lockfile@4.1.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -10376,7 +10388,8 @@ snapshots:
|
|||||||
|
|
||||||
w3c-keyname@2.2.8: {}
|
w3c-keyname@2.2.8: {}
|
||||||
|
|
||||||
web-streams-polyfill@3.3.3: {}
|
web-streams-polyfill@3.3.3:
|
||||||
|
optional: true
|
||||||
|
|
||||||
webidl-conversions@3.0.1: {}
|
webidl-conversions@3.0.1: {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user