Skip to content

Commit bbffbee

Browse files
authored
chore: update pnpm to 11.20.0 (#4590)
* chore: update pnpm to 11.20.0 * chore: 添加 pnpm 允许构建的依赖包列表 * chore(ci): 移除 pkg-pr-new 工作流中重复的 Node.js 配置步骤
1 parent a6c8140 commit bbffbee

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/pkg-pr-new.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,4 @@ jobs:
2323

2424
- run: pnpm exec run-p build 'uniapp build:npm'
2525

26-
- uses: actions/setup-node@v6
27-
with:
28-
node-version: 20
29-
3026
- run: pnpm dlx pkg-pr-new publish 'packages/tdesign-miniprogram' 'packages/tdesign-uniapp' 'packages/tdesign-uniapp-chat'

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tdesign-miniprogram-mono",
33
"private": true,
4-
"packageManager": "pnpm@10.27.0",
4+
"packageManager": "pnpm@11.20.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/Tencent/tdesign-miniprogram"
@@ -132,4 +132,4 @@
132132
"eslint --fix"
133133
]
134134
}
135-
}
135+
}

pnpm-workspace.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ packages:
44
- '!**/_tdesign*/**'
55
- '!**/uni_modules/**'
66

7+
allowBuilds:
8+
'@parcel/watcher': true
9+
'@tdesign/uniapp': true
10+
'@tdesign/uniapp-chat': true
11+
core-js: true
12+
core-js-pure: true
13+
es5-ext: true
14+
esbuild: true
15+
fsevents: true
16+
vue-demi: true
17+
718
catalog:
819
'@babel/core': ^7.26.0
920
'@babel/helper-module-imports': 7.22.5

0 commit comments

Comments
 (0)