Skip to content

Commit ae315b6

Browse files
authored
chore: upgrade to pnpm v11 [AR-63092] (#470)
1 parent 6a58591 commit ae315b6

7 files changed

Lines changed: 42 additions & 36 deletions

File tree

.changeset/silly-corners-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@drivenets/design-system': patch
3+
---
4+
5+
Improve release process

.github/actions/install/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: composite
66
steps:
77
- name: Install pnpm
8-
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6
8+
uses: pnpm/action-setup@3e835812ef01165f4f8ae08ade56da44427ed4e0 # v6.0.7
99
with:
1010
cache: true
1111

.github/workflows/pr-name-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
persist-credentials: false
3232

3333
- name: Install pnpm
34-
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6
34+
uses: pnpm/action-setup@3e835812ef01165f4f8ae08ade56da44427ed4e0 # v6.0.7
3535
with:
3636
cache: true
3737

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ jobs:
9898
- name: Install Dependencies
9999
uses: ./.github/actions/install
100100

101-
- name: Ensure updated npm
102-
run: npm install -g npm@11.7.0 # npm >= 11.5.1 is required for trusted publishing
103-
104101
- name: Download build
105102
uses: actions/download-artifact@484a0b528fb4d7bd804637ccb632e47a0e638317 # v8.0.1
106103
with:

cspell/local-words.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
affordances
12
autoboot
23
autodocs
34
borderless
@@ -7,6 +8,7 @@ deslop
78
drivenets
89
evenodd
910
findlast
11+
Fira
1012
fromentries
1113
gnmi
1214
matchall
@@ -18,11 +20,10 @@ onwarn
1820
oxfmtrc
1921
reorderable
2022
retryable
23+
scrollers
2124
subcomponents
2225
tosorted
2326
TSESTree
2427
unhover
2528
unitless
26-
Fira
27-
scrollers
28-
affordances
29+
unrs

package.json

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@drivenets/design-system-monorepo",
33
"version": "0.0.0",
44
"private": true,
5-
"packageManager": "pnpm@10.30.3",
5+
"packageManager": "pnpm@11.1.0",
66
"type": "module",
77
"scripts": {
88
"start": "pnpm run --filter @drivenets/design-system start",
@@ -60,32 +60,5 @@
6060
"typescript": "catalog:",
6161
"typescript-eslint": "^8.58.2",
6262
"yaml": "^2.8.3"
63-
},
64-
"pnpm": {
65-
"overrides": {
66-
"array-includes": "npm:@nolyfill/array-includes@^1",
67-
"array.prototype.findlast": "npm:@nolyfill/array.prototype.findlast@^1",
68-
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@^1",
69-
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@^1",
70-
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@^1",
71-
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@^1",
72-
"es-set-tostringtag": "npm:@nolyfill/es-set-tostringtag@^1",
73-
"hasown": "npm:@nolyfill/hasown@^1",
74-
"is-core-module": "npm:@nolyfill/is-core-module@^1",
75-
"object.assign": "npm:@nolyfill/object.assign@^1",
76-
"object.entries": "npm:@nolyfill/object.entries@^1",
77-
"object.fromentries": "npm:@nolyfill/object.fromentries@^1",
78-
"object-keys": "npm:@nolyfill/object-keys@^1",
79-
"object.values": "npm:@nolyfill/object.values@^1",
80-
"safe-regex-test": "npm:@nolyfill/safe-regex-test@^1",
81-
"safer-buffer": "npm:@nolyfill/safer-buffer@^1",
82-
"string.prototype.includes": "npm:@nolyfill/string.prototype.includes@^1",
83-
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@^1",
84-
"string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@^1",
85-
"eslint": "catalog:",
86-
"typescript": "catalog:",
87-
"semver": "^7.7.4",
88-
"chokidar": "^5.0.0"
89-
}
9063
}
9164
}

pnpm-workspace.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,33 @@ catalog:
1515
tsdown: ^0.21.10
1616
typescript: ^6.0.3
1717
vitest: ^4.1.5
18+
19+
allowBuilds:
20+
'@parcel/watcher': false
21+
esbuild: false
22+
unrs-resolver: false
23+
24+
overrides:
25+
array-includes: 'npm:@nolyfill/array-includes@^1'
26+
array.prototype.findlast: 'npm:@nolyfill/array.prototype.findlast@^1'
27+
array.prototype.flat: 'npm:@nolyfill/array.prototype.flat@^1'
28+
array.prototype.flatmap: 'npm:@nolyfill/array.prototype.flatmap@^1'
29+
array.prototype.tosorted: 'npm:@nolyfill/array.prototype.tosorted@^1'
30+
es-iterator-helpers: 'npm:@nolyfill/es-iterator-helpers@^1'
31+
es-set-tostringtag: 'npm:@nolyfill/es-set-tostringtag@^1'
32+
hasown: 'npm:@nolyfill/hasown@^1'
33+
is-core-module: 'npm:@nolyfill/is-core-module@^1'
34+
object.assign: 'npm:@nolyfill/object.assign@^1'
35+
object.entries: 'npm:@nolyfill/object.entries@^1'
36+
object.fromentries: 'npm:@nolyfill/object.fromentries@^1'
37+
object-keys: 'npm:@nolyfill/object-keys@^1'
38+
object.values: 'npm:@nolyfill/object.values@^1'
39+
safe-regex-test: 'npm:@nolyfill/safe-regex-test@^1'
40+
safer-buffer: 'npm:@nolyfill/safer-buffer@^1'
41+
string.prototype.includes: 'npm:@nolyfill/string.prototype.includes@^1'
42+
string.prototype.matchall: 'npm:@nolyfill/string.prototype.matchall@^1'
43+
string.prototype.repeat: 'npm:@nolyfill/string.prototype.repeat@^1'
44+
eslint: 'catalog:'
45+
typescript: 'catalog:'
46+
semver: '^7.7.4'
47+
chokidar: '^5.0.0'

0 commit comments

Comments
 (0)