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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- os: ubuntu-latest
nodeVersion: 24.14.x
displayName: Ubuntu
- os: ubuntu-latest
nodeVersion: 26.x
displayName: Ubuntu (Node 26)
- os: windows-latest
nodeVersion: 24.14.x
displayName: Windows
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This document contains important information for Claude (AI assistant) when work

### Node.js Version Management

This repository requires **Node.js 22.14.0 or later** (but < 23.0.0) as specified in `rush.json`.
This repository requires **Node.js `>=22.14.0 <23.0.0`, `>=24.12.0 <25.0.0`, or `>=26.0.0 <27.0.0`** as specified in `rush.json`.

**IMPORTANT**: This system uses **nvs** (Node Version Switcher) to manage Node.js versions.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="https://github.com/SharePoint/spfx/actions/workflows/ci.yml"><img src="https://github.com/SharePoint/spfx/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI" /></a>
<a href="https://www.npmjs.com/package/@microsoft/spfx-cli"><img src="https://img.shields.io/npm/v/@microsoft/spfx-cli" alt="npm version" /></a>
<a href="https://github.com/SharePoint/spfx/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License" /></a>
<img src="https://img.shields.io/badge/node-22.x_%7C_24.x-brightgreen" alt="Node.js 22.x | 24.x" />
<img src="https://img.shields.io/badge/node-22.x_%7C_24.x_%7C_26.x-brightgreen" alt="Node.js 22.x | 24.x | 26.x" />
<img src="https://img.shields.io/badge/SPFx-1.23.2-blue" alt="SPFx 1.23.2" />
</p>

Expand Down
2 changes: 1 addition & 1 deletion api/spfx-template-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Programmatic API for loading, rendering, and writing [SharePoint Framework (SPFx
npm install @microsoft/spfx-template-api
```

**Requires Node.js `>=22.14.0 <23.0.0` or `>=24.12.0 <25.0.0`**
**Requires Node.js `>=22.14.0 <23.0.0`, `>=24.12.0 <25.0.0`, or `>=26.0.0 <27.0.0`**

---

Expand Down
2 changes: 1 addition & 1 deletion apps/spfx-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The official CLI for scaffolding [SharePoint Framework (SPFx)](https://aka.ms/sp
npm install -g @microsoft/spfx-cli
```

**Requires Node.js `>=22.14.0 <23.0.0` or `>=24.12.0 <25.0.0`**
**Requires Node.js `>=22.14.0 <23.0.0`, `>=24.12.0 <25.0.0`, or `>=26.0.0 <27.0.0`**
Comment thread
iclanton marked this conversation as resolved.

---

Expand Down
2 changes: 1 addition & 1 deletion apps/spfx-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"license": "MIT",
"engines": {
"node": ">=22.14.0 <23.0.0 || >=24.12.0 <25.0.0"
"node": ">=22.14.0 <23.0.0 || >=24.12.0 <25.0.0 || >=26.0.0 <27.0.0"
},
"scripts": {
"build": "heft test --clean",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
Comment thread
iclanton marked this conversation as resolved.
"packageName": "@microsoft/spfx-cli"
}
],
"packageName": "@microsoft/spfx-cli",
"email": "ianc@microsoft.com"
}
10 changes: 8 additions & 2 deletions common/config/rush/pnpm-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@
"globalOverrides": {
// "example1": "^1.0.0",
// "example2": "npm:@company/example2@^1.0.0"
"baseline-browser-mapping": "^2.9.19"
"baseline-browser-mapping": "^2.9.19",
// Jest 30.4 fixes Node 26 localStorage warnings that cause Rush test phases to fail.
"jest-environment-node": "^30.4.0"
},

/**
Expand Down Expand Up @@ -275,7 +277,11 @@
* PNPM documentation: https://pnpm.io/package_json#pnpmneverbuiltdependencies
*/
"globalNeverBuiltDependencies": [
// "fsevents"
// Skip postinstall scripts that download native bindings from the public
// registry; these fail in the internal CI feed and the packages fall back
// to their bundled WASM build. See jest-resolve -> unrs-resolver.
"oxc-resolver",
"unrs-resolver"
],

/**
Expand Down
Loading
Loading