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
6 changes: 1 addition & 5 deletions .github/actions/test-create-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ runs:
run: pnpm run build
shell: bash

- name: Run pnpm link
run: pnpm link --global
shell: bash

- name: Create project
run: create-node-app ${{ inputs.options }}
run: node "$GITHUB_WORKSPACE/bin/create-node-app.js" ${{ inputs.options }}
shell: bash

- name: Build created project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
node-version: [20, 22, 24]
node-version: [22, 24, 26]
runs-on: ubuntu-latest

steps:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"url": "git+https://github.com/AckeeCZ/create-node-app.git"
},
"engines": {
"node": ">=20.19.0"
"node": ">=22.13.0"
},
"devEngines": {
"packageManager": {
Expand All @@ -34,7 +34,7 @@
"devDependencies": {
"@ackee/styleguide-backend-config": "^1.0.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.19.0",
"@types/node": "^22.0.0",
"@types/yargs": "^17.0.33",
"prettier": "^3.0.0"
},
Expand All @@ -47,5 +47,5 @@
"typescript": "^5.4.5",
"yargs": "^18.0.0"
},
"packageManager": "pnpm@10.33.0"
"packageManager": "pnpm@11.15.1"
}
1,103 changes: 554 additions & 549 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions starter/_base/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ docs-output
helm
node_modules
prettier.config.js
tsconfig.tsbuildinfo
2 changes: 1 addition & 1 deletion starter/_base/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.5.0
26.5.0
20 changes: 12 additions & 8 deletions starter/_base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
# BUILDER IMAGE
FROM node:24.5.0 AS builder
FROM node:26.5.0 AS builder
ENV NODE_PATH=.
ENV JOBS="max"
WORKDIR /usr/src/app

ENV DOCKERIZE_VERSION v0.6.1
ENV DOCKERIZE_VERSION=v0.6.1
RUN wget -q "https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz" && \
tar -C /usr/local/bin -xzvf "dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz" && \
rm "dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz"

ENV TINI_VERSION v0.19.0
ENV TINI_VERSION=v0.19.0
RUN wget -q https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini -O /tini && \
chmod +x /tini

ENV PNPM_VERSION=10.33.0
RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/download/v${PNPM_VERSION}/pnpm-linux-x64" \
-o /usr/local/bin/pnpm && chmod +x /usr/local/bin/pnpm
ENV PNPM_VERSION=11.15.1
ENV PNPM_HOME="/pnpm"
ENV PATH="/pnpm/bin:$PATH"
# Install pnpm via the official standalone script (https://pnpm.io/installation).
RUN curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION="${PNPM_VERSION}" ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
# copy all relevant files
COPY . .
# install dependencies
Expand All @@ -24,8 +26,10 @@ RUN pnpm install --frozen-lockfile
RUN pnpm run build

# MAIN IMAGE
FROM node:24.5.0-slim
COPY --from=builder /usr/local/bin/pnpm /usr/local/bin/pnpm
FROM node:26.5.0-slim
ENV PNPM_HOME="/pnpm"
ENV PATH="/pnpm/bin:$PATH"
COPY --from=builder /pnpm /pnpm

ENV NODE_PATH=dist
ENV CFG_JSON_PATH="/config/secrets.json"
Expand Down
4 changes: 2 additions & 2 deletions starter/_base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@ackee/styleguide-backend-config": "^1.0.1",
"@istanbuljs/nyc-config-typescript": "^1.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^24.0.0",
"@types/node": "^26.0.0",
"@types/yargs": "^17.0.35",
"eslint": "^8.0.0",
"eslint-formatter-gitlab": "^5.0.0",
Expand All @@ -48,5 +48,5 @@
}
},
"type": "module",
"packageManager": "pnpm@10.33.0"
"packageManager": "pnpm@11.15.1"
}
4 changes: 4 additions & 0 deletions starter/_base/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# pnpm does not run dependencies' build scripts unless allowed here.
allowBuilds:
esbuild: true
'@apollo/protobufjs': true
Loading