Skip to content
Merged
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: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["22", "24"]
node-version: ["24", "25"]
steps:
- uses: actions/checkout@v5
- name: Use Node.js
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: 22.x
node-version: 24.x
cache: "npm"
- name: Install dependencies
run: npm install
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
matrix:
os: [ubuntu, macos, windows]
node-version: ["22", "24"]
node-version: ["24", "25"]
package-manager: [npm, yarn, pnpm]
runs-on: ${{ matrix.os }}-latest
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: 22.x
node-version: 24.x
cache: npm
- name: Configure git
run: |
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ npm init ts-node@latest new-app
# Using npx
npx create-ts-node@latest new-app

# Using yarn
# Using yarn classic
yarn create ts-node new-app

# Using pnpm
Expand Down Expand Up @@ -74,7 +74,8 @@ To create a project for an older version of Node.js, use an older version of thi

| Node.js version | Package version |
| --------------- | --------------- |
| 22.x or greater | latest |
| 24.x or greater | latest |
| 22.x | ^2.0.0 |
| 20.x | ^1.0.0 |
| 18.x | ^0.4.0 |
| 10.x | ^0.2.0 |
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"main": "src/main.mjs",
"engines": {
"node": "^22.13.0 || >=23.5.0"
"node": ">=24.11.0"
},
"scripts": {
"format": "prettier --write .",
Expand Down
4 changes: 2 additions & 2 deletions template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION=22
ARG NODE_VERSION=24


FROM node:${NODE_VERSION} AS build
Expand All @@ -16,7 +16,7 @@ ENV NODE_ENV=production
WORKDIR /opt/deps
INSTALL_PNPM
COPY package.json PM_LOCK_FILE ./
RUN PM_INSTALL_PROD
RUN PM_INSTALL_PROD && mkdir -p node_modules


FROM node:${NODE_VERSION}-slim AS app
Expand Down
4 changes: 2 additions & 2 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0 || >=23.5.0"
"node": ">=24.11.0"
},
"scripts": {
"build": "node --run clean && node --run build:ts",
Expand All @@ -33,7 +33,7 @@
"dependencies": {},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "^22.19.1",
"@types/node": "^24.10.1",
"concurrently": "^9.2.1",
"dotenv": "^17.2.3",
"eslint": "^9.39.1",
Expand Down