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
1 change: 1 addition & 0 deletions .github/workflows/argos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-blog-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-hash-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Track build size changes
uses: preactjs/compressed-size-action@f322c295dde06a1cb7ccaef105732dd8a726d1d9 # v2.10.0
Expand Down Expand Up @@ -83,6 +84,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/continuous-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
# ⚠️ Do not use any cache on purpose
# It increases the chance of a compromised release being publish
# See https://github.com/actions/setup-node/issues/1445#issuecomment-4040130833
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lighthouse-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm

- name: Installation
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
# ⚠️ Do not use any cache on purpose
# It increases the chance of a compromised release being publish
# See https://github.com/actions/setup-node/issues/1445#issuecomment-4040130833
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/security-supply-chain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
# No cache on purpose! We want SFW to fetch packages

# See https://socket.dev/blog/introducing-socket-firewall
Expand Down Expand Up @@ -70,6 +71,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
# No cache on purpose! We want SFW to fetch packages

# See https://socket.dev/blog/introducing-socket-firewall
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/showcase-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down Expand Up @@ -91,7 +92,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['24.14', '26']
node: ['24.21', '26']
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Expand Down Expand Up @@ -144,6 +145,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down Expand Up @@ -225,6 +227,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down Expand Up @@ -267,6 +270,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests-swizzle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
check-latest: true
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: windows-8-core
strategy:
matrix:
node: ['24.14', '26']
node: ['24.21', '26']
steps:
- name: Support longpaths
run: git config --system core.longpaths true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['24.14', '26']
node: ['24.21', '26']
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Expand All @@ -52,7 +52,7 @@ jobs:
env:
# Our website should build even with limited memory
# See https://github.com/facebook/docusaurus/pull/10590
NODE_OPTIONS: "--max-old-space-size=${{ matrix.node == '24.14' && 350 || 300 }}"
NODE_OPTIONS: "--max-old-space-size=${{ matrix.node == '24.21' && 350 || 300 }}"
DOCUSAURUS_PERF_LOGGER: 'true'
- name: Docusaurus site CSS order
run: pnpm --filter website test:css-order
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26
24
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
},
"packageManager": "pnpm@12.3.4",
"engines": {
"node": ">=24.14",
"node": ">=24.21",
"pnpm": ">=12.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/create-docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "MIT",
"dependencies": {
"@docusaurus/logger": "workspace:*",
"commander": "^5.1.0",
"commander": "^15.0.0",
"cross-spawn": "^7.0.6",
"prompts": "^2.4.2",
"semver": "^7.8.5",
Expand All @@ -35,6 +35,6 @@
"@types/supports-color": "^10.0.0"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
]
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/create-docusaurus/templates/classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
]
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/create-docusaurus/templates/shared/docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new

### What you'll need

- [Node.js](https://nodejs.org/en/download/) version 24.14 or above:
- [Node.js](https://nodejs.org/en/download/) version 24.21 or above:
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.

## Generate a new site
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"@types/babel__traverse": "^7.28.0"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"@total-typescript/shoehorn": "^0.1.2"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-cssnano-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"to-vfile": "^8.0.0"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-faster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"webpack": "^5.111.0"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
},
"peerDependencies": {
"@docusaurus/types": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"tslib": "^2.8.1"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
"react-dom": "^19.3.0"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-client-redirects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"react-dom": "^19.3.0"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"react-dom": "^19.3.0"
},
"engines": {
"node": ">=24.14"
"node": ">=24.21"
},
"devDependencies": {
"@total-typescript/shoehorn": "^0.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ exports[`blog plugin > process blog posts load content 2`] = `
"author": "Sébastien Lorber",
"author_title": "Docusaurus maintainer",
"author_url": "https://sebastienlorber.com",
"date": 2020-08-15T00:00:00.000Z,
"date": "2020-08-15",
"slug": "/simple/slug/another",
"tags": [
"tag1",
Expand Down Expand Up @@ -173,7 +173,7 @@ exports[`blog plugin > process blog posts load content 2`] = `
"description": "with tag",
"editUrl": "https://baseEditUrl.com/edit/blog/another-with-tags.md",
"frontMatter": {
"date": 2020-08-15T00:00:00.000Z,
"date": "2020-08-15",
"slug": "/another/tags",
"tags": [
"tag1",
Expand Down Expand Up @@ -222,7 +222,7 @@ exports[`blog plugin > process blog posts load content 2`] = `
"description": "with tag",
"editUrl": "https://baseEditUrl.com/edit/blog/another-with-tags2.md",
"frontMatter": {
"date": 2020-08-15T00:00:00.000Z,
"date": "2020-08-15",
"slug": "/another/tags2",
"tags": [
"tag1",
Expand Down
Loading
Loading