chore: template-oss-apply
Michael Smith committed
May 6, 2026 at 13:26 UTC
ea97a3e13d607003b782b1d607432a6b04e02133
9 files changed
+186
-79
.github/workflows/audit.yml
+2
-2
@@ -21,13 +21,13 @@ jobs:
21
shell: bash
22
steps:
23
- name: Checkout
24
- uses: actions/checkout@v4
24
+ uses: actions/checkout@v6
25
- name: Setup Git User
26
run: |
27
git config --global user.email "npm-cli+bot@github.com"
28
git config --global user.name "npm CLI robot"
29
- name: Setup Node
30
- uses: actions/setup-node@v4
30
+ uses: actions/setup-node@v6
31
id: node
32
with:
33
node-version: 22.x
.github/workflows/ci-cli.yml
+4
-4
@@ -29,13 +29,13 @@ jobs:
29
shell: bash
30
steps:
31
- name: Checkout
32
- uses: actions/checkout@v4
32
+ uses: actions/checkout@v6
33
- name: Setup Git User
34
run: |
35
git config --global user.email "npm-cli+bot@github.com"
36
git config --global user.name "npm CLI robot"
37
- name: Setup Node
38
- uses: actions/setup-node@v4
38
+ uses: actions/setup-node@v6
39
id: node
40
with:
41
node-version: 22.x
@@ -68,13 +68,13 @@ jobs:
68
shell: ${{ matrix.platform.shell }}
69
steps:
70
- name: Checkout
71
- uses: actions/checkout@v4
71
+ uses: actions/checkout@v6
72
- name: Setup Git User
73
run: |
74
git config --global user.email "npm-cli+bot@github.com"
75
git config --global user.name "npm CLI robot"
76
- name: Setup Node
77
- uses: actions/setup-node@v4
77
+ uses: actions/setup-node@v6
78
id: node
79
with:
80
node-version: ${{ matrix.node-version }}
.github/workflows/ci.yml
+6
-6
@@ -29,13 +29,13 @@ jobs:
29
shell: bash
30
steps:
31
- name: Checkout
32
- uses: actions/checkout@v4
32
+ uses: actions/checkout@v6
33
- name: Setup Git User
34
run: |
35
git config --global user.email "npm-cli+bot@github.com"
36
git config --global user.name "npm CLI robot"
37
- name: Setup Node
38
- uses: actions/setup-node@v4
38
+ uses: actions/setup-node@v6
39
id: node
40
with:
41
node-version: 22.x
@@ -68,13 +68,13 @@ jobs:
68
shell: ${{ matrix.platform.shell }}
69
steps:
70
- name: Checkout
71
- uses: actions/checkout@v4
71
+ uses: actions/checkout@v6
72
- name: Setup Git User
73
run: |
74
git config --global user.email "npm-cli+bot@github.com"
75
git config --global user.name "npm CLI robot"
76
- name: Setup Node
77
- uses: actions/setup-node@v4
77
+ uses: actions/setup-node@v6
78
id: node
79
with:
80
node-version: ${{ matrix.node-version }}
@@ -105,13 +105,13 @@ jobs:
105
shell: ${{ matrix.platform.shell }}
106
steps:
107
- name: Checkout
108
- uses: actions/checkout@v4
108
+ uses: actions/checkout@v6
109
- name: Setup Git User
110
run: |
111
git config --global user.email "npm-cli+bot@github.com"
112
git config --global user.name "npm CLI robot"
113
- name: Setup Node
114
- uses: actions/setup-node@v4
114
+ uses: actions/setup-node@v6
115
id: node
116
with:
117
node-version: ${{ matrix.node-version }}
.github/workflows/codeql-analysis.yml
+1
-1
@@ -26,7 +26,7 @@ jobs:
26
security-events: write
27
steps:
28
- name: Checkout
29
- uses: actions/checkout@v4
29
+ uses: actions/checkout@v6
30
- name: Setup Git User
31
run: |
32
git config --global user.email "npm-cli+bot@github.com"
.github/workflows/post-dependabot.yml
+2
-2
@@ -17,7 +17,7 @@ jobs:
17
shell: bash
18
steps:
19
- name: Checkout
20
- uses: actions/checkout@v4
20
+ uses: actions/checkout@v6
21
with:
22
ref: ${{ github.event.pull_request.head.ref }}
23
- name: Setup Git User
@@ -25,7 +25,7 @@ jobs:
25
git config --global user.email "npm-cli+bot@github.com"
26
git config --global user.name "npm CLI robot"
27
- name: Setup Node
28
- uses: actions/setup-node@v4
28
+ uses: actions/setup-node@v6
29
id: node
30
with:
31
node-version: 22.x
.github/workflows/publish.yml
+2
-2
@@ -23,13 +23,13 @@ jobs:
23
shell: bash
24
steps:
25
- name: Checkout
26
- uses: actions/checkout@v4
26
+ uses: actions/checkout@v6
27
- name: Setup Git User
28
run: |
29
git config --global user.email "npm-cli+bot@github.com"
30
git config --global user.name "npm CLI robot"
31
- name: Setup Node
32
- uses: actions/setup-node@v4
32
+ uses: actions/setup-node@v6
33
id: node
34
with:
35
node-version: 22.x
.github/workflows/update-cli.yml
+2
-2
@@ -21,13 +21,13 @@ jobs:
21
shell: bash
22
steps:
23
- name: Checkout
24
- uses: actions/checkout@v4
24
+ uses: actions/checkout@v6
25
- name: Setup Git User
26
run: |
27
git config --global user.email "npm-cli+bot@github.com"
28
git config --global user.name "npm CLI robot"
29
- name: Setup Node
30
- uses: actions/setup-node@v4
30
+ uses: actions/setup-node@v6
31
id: node
32
with:
33
node-version: 22.x
cli/package.json
+1
-1
@@ -40,7 +40,7 @@
40
},
41
"templateOSS": {
42
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
43
- "version": "4.30.0",
43
+ "version": "5.0.0",
44
"content": "./scripts/template-oss"
45
},
46
"files": [
package-lock.json
+166
-59
@@ -50,7 +50,7 @@
50
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
51
"@github/prettier-config": "^0.0.6",
52
"@npmcli/eslint-config": "^6.0.0",
53
- "@npmcli/template-oss": "4.30.0",
53
+ "@npmcli/template-oss": "5.0.0",
54
"@testing-library/dom": "^10.4.0",
55
"@testing-library/jest-dom": "^6.2.0",
56
"@testing-library/react": "^16.0.0",
@@ -133,6 +133,72 @@
133
"node": "^20.17.0 || >=22.9.0"
134
}
135
},
136
+ "cli/node_modules/@npmcli/template-oss": {
137
+ "version": "4.30.0",
138
+ "resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.30.0.tgz",
139
+ "integrity": "sha512-GNp1qp/GeIeYn2A+CjPhdWX3IzySHiafzpLy3KVNg7Qmx84/0oXMQVyeAJ4N44Nm3eIk6OL5VOaExGh2+F+mdg==",
140
+ "dev": true,
141
+ "hasInstallScript": true,
142
+ "license": "ISC",
143
+ "workspaces": [
144
+ "workspace/test-workspace"
145
+ ],
146
+ "dependencies": {
147
+ "@actions/core": "^2.0.0",
148
+ "@commitlint/cli": "^20.1.0",
149
+ "@commitlint/config-conventional": "^20.0.0",
150
+ "@isaacs/string-locale-compare": "^1.1.0",
151
+ "@npmcli/arborist": "^9.1.2",
152
+ "@npmcli/git": "^7.0.0",
153
+ "@npmcli/map-workspaces": "^5.0.0",
154
+ "@npmcli/package-json": "^7.0.0",
155
+ "@octokit/rest": "^22.0.0",
156
+ "dedent": "^1.5.1",
157
+ "diff": "^8.0.2",
158
+ "glob": "^13.0.0",
159
+ "handlebars": "^4.7.7",
160
+ "hosted-git-info": "^9.0.0",
161
+ "ini": "^6.0.0",
162
+ "json-parse-even-better-errors": "^5.0.0",
163
+ "just-deep-map-values": "^1.1.1",
164
+ "just-diff": "^6.0.0",
165
+ "just-omit": "^2.2.0",
166
+ "lodash": "^4.17.21",
167
+ "minimatch": "^10.0.3",
168
+ "npm-package-arg": "^13.0.0",
169
+ "proc-log": "^6.0.0",
170
+ "release-please": "^17.1.1",
171
+ "semver": "^7.3.5",
172
+ "yaml": "^2.1.1"
173
+ },
174
+ "bin": {
175
+ "template-oss-apply": "bin/apply.js",
176
+ "template-oss-check": "bin/check.js",
177
+ "template-oss-release-manager": "bin/release-manager.js",
178
+ "template-oss-release-please": "bin/release-please.js"
179
+ },
180
+ "engines": {
181
+ "node": "^20.17.0 || >=22.9.0"
182
+ }
183
+ },
184
+ "cli/node_modules/glob": {
185
+ "version": "13.0.6",
186
+ "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz",
187
+ "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==",
188
+ "dev": true,
189
+ "license": "BlueOak-1.0.0",
190
+ "dependencies": {
191
+ "minimatch": "^10.2.2",
192
+ "minipass": "^7.1.3",
193
+ "path-scurry": "^2.0.2"
194
+ },
195
+ "engines": {
196
+ "node": "18 || 20 || >=22"
197
+ },
198
+ "funding": {
199
+ "url": "https://github.com/sponsors/isaacs"
200
+ }
201
+ },
202
"cli/node_modules/hosted-git-info": {
203
"version": "9.0.2",
204
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.2.tgz",
@@ -163,6 +229,16 @@
229
"node": ">=20"
230
}
231
},
232
+ "cli/node_modules/json-parse-even-better-errors": {
233
+ "version": "5.0.0",
234
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-5.0.0.tgz",
235
+ "integrity": "sha512-ZF1nxZ28VhQouRWhUcVlUIN3qwSgPuswK05s/HIaoetAoE/9tngVmCHjSxmSQPav1nd+lPtTL0YZ/2AFdR/iYQ==",
236
+ "dev": true,
237
+ "license": "MIT",
238
+ "engines": {
239
+ "node": "^20.17.0 || >=22.9.0"
240
+ }
241
+ },
242
"cli/node_modules/lru-cache": {
243
"version": "11.2.6",
244
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.6.tgz",
@@ -254,6 +330,23 @@
330
"node": "^20.17.0 || >=22.9.0"
331
}
332
},
333
+ "cli/node_modules/path-scurry": {
334
+ "version": "2.0.2",
335
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz",
336
+ "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==",
337
+ "dev": true,
338
+ "license": "BlueOak-1.0.0",
339
+ "dependencies": {
340
+ "lru-cache": "^11.0.0",
341
+ "minipass": "^7.1.2"
342
+ },
343
+ "engines": {
344
+ "node": "18 || 20 || >=22"
345
+ },
346
+ "funding": {
347
+ "url": "https://github.com/sponsors/isaacs"
348
+ }
349
+ },
350
"cli/node_modules/tar": {
351
"version": "7.5.13",
352
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.13.tgz",
@@ -7010,9 +7103,9 @@
7103
}
7104
},
7105
"node_modules/@npmcli/template-oss": {
7013
- "version": "4.30.0",
7014
- "resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.30.0.tgz",
7015
- "integrity": "sha512-GNp1qp/GeIeYn2A+CjPhdWX3IzySHiafzpLy3KVNg7Qmx84/0oXMQVyeAJ4N44Nm3eIk6OL5VOaExGh2+F+mdg==",
7106
+ "version": "5.0.0",
7107
+ "resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-5.0.0.tgz",
7108
+ "integrity": "sha512-yORdW7L85x7gzGdvP0KcfCQiLKEBgnBob/zyQ/ImJ/XkW3hgV0yIQSwy2JsKD5SWDHYD1+TUsQbcpgDED5+HCw==",
7109
"dev": true,
7110
"hasInstallScript": true,
7111
"license": "ISC",
@@ -7054,7 +7147,7 @@
7147
"template-oss-release-please": "bin/release-please.js"
7148
},
7149
"engines": {
7057
- "node": "^20.17.0 || >=22.9.0"
7150
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
7151
}
7152
},
7153
"node_modules/@npmcli/template-oss/node_modules/@npmcli/git": {
@@ -12968,6 +13061,74 @@
13061
"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==",
13062
"license": "MIT"
13063
},
13064
+ "node_modules/body-parser": {
13065
+ "version": "1.20.5",
13066
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.5.tgz",
13067
+ "integrity": "sha512-3grm+/2tUOvu2cjJkvsIxrv/wVpfXQW4PsQHYm7yk4vfpu7Ekl6nEsYBoJUL6qDwZUx8wUhQ8tR2qz+ad9c9OA==",
13068
+ "license": "MIT",
13069
+ "dependencies": {
13070
+ "bytes": "~3.1.2",
13071
+ "content-type": "~1.0.5",
13072
+ "debug": "2.6.9",
13073
+ "depd": "2.0.0",
13074
+ "destroy": "~1.2.0",
13075
+ "http-errors": "~2.0.1",
13076
+ "iconv-lite": "~0.4.24",
13077
+ "on-finished": "~2.4.1",
13078
+ "qs": "~6.15.1",
13079
+ "raw-body": "~2.5.3",
13080
+ "type-is": "~1.6.18",
13081
+ "unpipe": "~1.0.0"
13082
+ },
13083
+ "engines": {
13084
+ "node": ">= 0.8",
13085
+ "npm": "1.2.8000 || >= 1.4.16"
13086
+ }
13087
+ },
13088
+ "node_modules/body-parser/node_modules/debug": {
13089
+ "version": "2.6.9",
13090
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
13091
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
13092
+ "license": "MIT",
13093
+ "dependencies": {
13094
+ "ms": "2.0.0"
13095
+ }
13096
+ },
13097
+ "node_modules/body-parser/node_modules/http-errors": {
13098
+ "version": "2.0.1",
13099
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
13100
+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
13101
+ "license": "MIT",
13102
+ "dependencies": {
13103
+ "depd": "~2.0.0",
13104
+ "inherits": "~2.0.4",
13105
+ "setprototypeof": "~1.2.0",
13106
+ "statuses": "~2.0.2",
13107
+ "toidentifier": "~1.0.1"
13108
+ },
13109
+ "engines": {
13110
+ "node": ">= 0.8"
13111
+ },
13112
+ "funding": {
13113
+ "type": "opencollective",
13114
+ "url": "https://opencollective.com/express"
13115
+ }
13116
+ },
13117
+ "node_modules/body-parser/node_modules/ms": {
13118
+ "version": "2.0.0",
13119
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
13120
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
13121
+ "license": "MIT"
13122
+ },
13123
+ "node_modules/body-parser/node_modules/statuses": {
13124
+ "version": "2.0.2",
13125
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
13126
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
13127
+ "license": "MIT",
13128
+ "engines": {
13129
+ "node": ">= 0.8"
13130
+ }
13131
+ },
13132
"node_modules/boolbase": {
13133
"version": "1.0.0",
13134
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
@@ -19180,45 +19341,6 @@
19341
"ms": "^2.1.1"
19342
}
19343
},
19183
- "node_modules/express/node_modules/body-parser": {
19184
- "version": "1.20.3",
19185
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
19186
- "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
19187
- "license": "MIT",
19188
- "dependencies": {
19189
- "bytes": "3.1.2",
19190
- "content-type": "~1.0.5",
19191
- "debug": "2.6.9",
19192
- "depd": "2.0.0",
19193
- "destroy": "1.2.0",
19194
- "http-errors": "2.0.0",
19195
- "iconv-lite": "0.4.24",
19196
- "on-finished": "2.4.1",
19197
- "qs": "6.13.0",
19198
- "raw-body": "2.5.2",
19199
- "type-is": "~1.6.18",
19200
- "unpipe": "1.0.0"
19201
- },
19202
- "engines": {
19203
- "node": ">= 0.8",
19204
- "npm": "1.2.8000 || >= 1.4.16"
19205
- }
19206
- },
19207
- "node_modules/express/node_modules/body-parser/node_modules/qs": {
19208
- "version": "6.13.0",
19209
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
19210
- "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
19211
- "license": "BSD-3-Clause",
19212
- "dependencies": {
19213
- "side-channel": "^1.0.6"
19214
- },
19215
- "engines": {
19216
- "node": ">=0.6"
19217
- },
19218
- "funding": {
19219
- "url": "https://github.com/sponsors/ljharb"
19220
- }
19221
- },
19344
"node_modules/express/node_modules/cookie": {
19345
"version": "0.7.1",
19346
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
@@ -19243,21 +19365,6 @@
19365
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
19366
"license": "MIT"
19367
},
19246
- "node_modules/express/node_modules/raw-body": {
19247
- "version": "2.5.2",
19248
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
19249
- "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
19250
- "license": "MIT",
19251
- "dependencies": {
19252
- "bytes": "3.1.2",
19253
- "http-errors": "2.0.0",
19254
- "iconv-lite": "0.4.24",
19255
- "unpipe": "1.0.0"
19256
- },
19257
- "engines": {
19258
- "node": ">= 0.8"
19259
- }
19260
- },
19368
"node_modules/ext": {
19369
"version": "1.7.0",
19370
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",