Skip to content

Commit 93001d2

Browse files
committed
chore: postinstall for dependabot template-oss PR
1 parent 7c76442 commit 93001d2

File tree

8 files changed

+49
-24
lines changed

8 files changed

+49
-24
lines changed

.github/settings.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+
repository:
4+
allow_merge_commit: false
5+
allow_rebase_merge: true
6+
allow_squash_merge: true
7+
squash_merge_commit_title: PR_TITLE
8+
squash_merge_commit_message: PR_BODY
9+
delete_branch_on_merge: true
10+
enable_automated_security_fixes: true
11+
enable_vulnerability_alerts: true
12+
13+
branches:
14+
- name: main
15+
protection:
16+
required_status_checks: null
17+
enforce_admins: true
18+
block_creations: true
19+
required_pull_request_reviews:
20+
required_approving_review_count: 1
21+
require_code_owner_reviews: true
22+
require_last_push_approval: true
23+
dismiss_stale_reviews: true
24+
restrictions:
25+
apps: []
26+
users: []
27+
teams: [ "cli-team" ]

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
uses: actions/setup-node@v3
2828
id: node
2929
with:
30-
node-version: 18.x
31-
check-latest: contains('18.x', '.x')
30+
node-version: 20.x
31+
check-latest: contains('20.x', '.x')
3232

3333
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
3434
- name: Update Windows npm

.github/workflows/ci-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ jobs:
8282
uses: actions/setup-node@v3
8383
id: node
8484
with:
85-
node-version: 18.x
86-
check-latest: contains('18.x', '.x')
85+
node-version: 20.x
86+
check-latest: contains('20.x', '.x')
8787

8888
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
8989
- name: Update Windows npm
@@ -161,7 +161,9 @@ jobs:
161161
os: windows-latest
162162
shell: cmd
163163
node-version:
164+
- 18.0.0
164165
- 18.x
166+
- 20.x
165167
runs-on: ${{ matrix.platform.os }}
166168
defaults:
167169
run:

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: actions/setup-node@v3
3232
id: node
3333
with:
34-
node-version: 18.x
35-
check-latest: contains('18.x', '.x')
34+
node-version: 20.x
35+
check-latest: contains('20.x', '.x')
3636

3737
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
3838
- name: Update Windows npm
@@ -103,7 +103,9 @@ jobs:
103103
os: windows-latest
104104
shell: cmd
105105
node-version:
106+
- 18.0.0
106107
- 18.x
108+
- 20.x
107109
runs-on: ${{ matrix.platform.os }}
108110
defaults:
109111
run:

.github/workflows/post-dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
uses: actions/setup-node@v3
2929
id: node
3030
with:
31-
node-version: 18.x
32-
check-latest: contains('18.x', '.x')
31+
node-version: 20.x
32+
check-latest: contains('20.x', '.x')
3333

3434
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
3535
- name: Update Windows npm

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: actions/setup-node@v3
3232
id: node
3333
with:
34-
node-version: 18.x
35-
check-latest: contains('18.x', '.x')
34+
node-version: 20.x
35+
check-latest: contains('20.x', '.x')
3636

3737
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
3838
- name: Update Windows npm

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
uses: actions/setup-node@v3
4545
id: node
4646
with:
47-
node-version: 18.x
48-
check-latest: contains('18.x', '.x')
47+
node-version: 20.x
48+
check-latest: contains('20.x', '.x')
4949

5050
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
5151
- name: Update Windows npm
@@ -201,8 +201,8 @@ jobs:
201201
uses: actions/setup-node@v3
202202
id: node
203203
with:
204-
node-version: 18.x
205-
check-latest: contains('18.x', '.x')
204+
node-version: 20.x
205+
check-latest: contains('20.x', '.x')
206206

207207
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
208208
- name: Update Windows npm
@@ -425,7 +425,7 @@ jobs:
425425
- name: Publish
426426
env:
427427
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
428-
run: npm publish --provenance
428+
run: npm publish --provenance --tag=latest
429429

430430
post-release-integration:
431431
needs: [ release, release-integration ]

package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"lib/"
5252
],
5353
"engines": {
54-
"node": ">=18.0.0"
54+
"node": ">=18"
5555
},
5656
"prettier": {
5757
"semi": false,
@@ -68,13 +68,7 @@
6868
},
6969
"templateOSS": {
7070
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
71-
"version": "4.18.1",
72-
"ciVersions": "latest",
73-
"publish": true,
74-
"rootRepo": {
75-
"add": {
76-
".github/settings.yml": false
77-
}
78-
}
71+
"version": "4.19.0",
72+
"publish": true
7973
}
8074
}

0 commit comments

Comments
 (0)