Skip to content

Commit f8c891e

Browse files
authored
chore: upgrade pnpm to 11.24.0 (#18)
- pin packageManager to pnpm@11.24.0 (drives CI action-setup and Docker corepack) - approve esbuild and protobufjs build scripts via allowBuilds; pnpm 11 errors on unapproved build scripts where pnpm 10 only warned - exempt the @univer-cli/@univerjs/@univerjs-pro scopes from minimumReleaseAge so the same-day SDK baseline sync via update:sdk keeps working; all other deps keep the pnpm 11 24h supply-chain default - README badges and requirements now say pnpm 11 - pnpm-lock.yaml is unchanged: pnpm 11 keeps lockfileVersion 9.0
1 parent f5912fb commit f8c891e

5 files changed

Lines changed: 17 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
1010
[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D24-339933?logo=node.js&logoColor=white)](package.json)
11-
[![pnpm](https://img.shields.io/badge/pnpm-10-F69220?logo=pnpm&logoColor=white)](package.json)
11+
[![pnpm](https://img.shields.io/badge/pnpm-11-F69220?logo=pnpm&logoColor=white)](package.json)
1212

1313
English | [简体中文](README.zh-CN.md)
1414

@@ -70,7 +70,7 @@ them. See the [CLI guide](apps/cli/README.md) for the complete product workflow.
7070
### Requirements
7171

7272
- Node.js 24 or newer
73-
- pnpm 10
73+
- pnpm 11
7474

7575
Install dependencies and prepare the application configuration:
7676

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
1010
[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D24-339933?logo=node.js&logoColor=white)](package.json)
11-
[![pnpm](https://img.shields.io/badge/pnpm-10-F69220?logo=pnpm&logoColor=white)](package.json)
11+
[![pnpm](https://img.shields.io/badge/pnpm-11-F69220?logo=pnpm&logoColor=white)](package.json)
1212

1313
[English](README.md) | 简体中文
1414

@@ -68,7 +68,7 @@ Worktree 将 Agent 编辑转化为边界清晰的审阅流程:
6868
### 环境要求
6969

7070
- Node.js 24 或更高版本
71-
- pnpm 10
71+
- pnpm 11
7272

7373
安装依赖并准备应用配置:
7474

apps/workspace/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and Worktrees.
99
Requirements:
1010

1111
- Node.js 24 or newer
12-
- pnpm 10
12+
- pnpm 11
1313
- a Univer license for capabilities that require one
1414

1515
```bash

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"license": "Apache-2.0",
55
"type": "module",
6-
"packageManager": "pnpm@10.32.1",
6+
"packageManager": "pnpm@11.24.0",
77
"engines": {
88
"node": ">=24"
99
},

pnpm-workspace.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
packages:
22
- apps/*
33
- packages/*
4+
5+
allowBuilds:
6+
esbuild: true
7+
protobufjs: true
8+
9+
# The SDK baseline is pinned to exact releases and updated on release day via
10+
# `pnpm update:sdk`; only these scopes are exempt from minimumReleaseAge.
11+
minimumReleaseAgeExclude:
12+
- "@univer-cli/*"
13+
- "@univerjs/*"
14+
- "@univerjs-pro/*"

0 commit comments

Comments
 (0)