From cb9cc4357854ad00633965a75f21a7eacf5382c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2026 06:44:03 +0000 Subject: [PATCH 1/2] fix(docker): bump node in /packages/preset-nuxt4/templates/docker Bumps node from `ebfe2f9` to `44fce69`. --- updated-dependencies: - dependency-name: node dependency-version: 24-alpine dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- packages/preset-nuxt4/templates/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/preset-nuxt4/templates/docker/Dockerfile b/packages/preset-nuxt4/templates/docker/Dockerfile index cfacc3ec..cd1666f7 100644 --- a/packages/preset-nuxt4/templates/docker/Dockerfile +++ b/packages/preset-nuxt4/templates/docker/Dockerfile @@ -3,7 +3,7 @@ # Build stage # Pinned by digest so a rebuild of the same commit gets the same base image. -FROM node:24-alpine@sha256:ebfe2f90462722a7a4de65e91990e97fe0d401c70e0e762c5b53302f905ec1c1 AS build +FROM node:24-alpine@sha256:44fce696f38ba8c987c4db89954051000bbd05ffd8d8659ba15ed4a8602e937f AS build WORKDIR /app # pnpm-workspace.yaml carries the `allowBuilds:` approvals for native deps and MUST land before install, @@ -107,7 +107,7 @@ GUARD # Runtime stage -FROM node:24-alpine@sha256:ebfe2f90462722a7a4de65e91990e97fe0d401c70e0e762c5b53302f905ec1c1 AS runtime +FROM node:24-alpine@sha256:44fce696f38ba8c987c4db89954051000bbd05ffd8d8659ba15ed4a8602e937f AS runtime # The runtime only ever calls `node`; the bundled npm carries its own vulnerable dependencies. RUN rm -rf /usr/local/lib/node_modules/npm /usr/local/lib/node_modules/corepack \ /usr/local/bin/npm /usr/local/bin/npx /usr/local/bin/corepack From 7ea7a56d8edc4148bfd7c76c13cdc25c14363fe5 Mon Sep 17 00:00:00 2001 From: Joris Neuteboom Date: Tue, 20 Oct 2026 10:10:22 +0200 Subject: [PATCH 2/2] chore(docker): bump shared:docker for the new node:24-alpine digest --- CHANGELOG.md | 1 + packages/preset-nuxt4/src/features/docker.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9498e827..10120f3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- The generated Dockerfile pins the latest `node:24-alpine` image. - The project name recorded in `.battlestack/manifest.json` now always wins over the directory name. Before, any project command in a clone, CI checkout or renamed directory silently renamed the project to the directory name, and diff --git a/packages/preset-nuxt4/src/features/docker.ts b/packages/preset-nuxt4/src/features/docker.ts index ef890c34..4ee6c5d8 100644 --- a/packages/preset-nuxt4/src/features/docker.ts +++ b/packages/preset-nuxt4/src/features/docker.ts @@ -26,7 +26,7 @@ const PROFILE_FLAGS = ['--profile', 'prod'] /** Production Dockerfile and `battlestack prod` commands, reusing the existing docker-compose.yml. */ export const dockerFeature: Feature = { id: 'shared:docker', - version: '1.2.2', + version: '1.2.3', label: 'Production Dockerfile + prod commands', stage: STAGE.GITIGNORE, failureIsNonFatal: true,