Skip to content

Commit c4be8e9

Browse files
dependabot[bot]lukekarrys
andauthoredApr 20, 2022
chore: bump @npmcli/template-oss from 3.2.0 to 3.4.1 (#44)
* chore: bump @npmcli/template-oss from 3.2.0 to 3.4.1 Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 3.2.0 to 3.4.1. - [Release notes](https://github.com/npm/template-oss/releases) - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md) - [Commits](npm/template-oss@v3.2.0...v3.4.1) --- updated-dependencies: - dependency-name: "@npmcli/template-oss" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: postinstall for dependabot template-oss PR Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Karrys <luke@lukekarrys.com>
1 parent d1db8e7 commit c4be8e9

File tree

7 files changed

+22
-21
lines changed

7 files changed

+22
-21
lines changed
 

‎.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const localConfigs = readdir(__dirname)
77
.map((file) => `./${file}`)
88

99
module.exports = {
10+
root: true,
1011
extends: [
1112
'@npmcli',
1213
...localConfigs,

‎.github/workflows/audit.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- name: Setup git user
1717
run: |
18-
git config --global user.email "ops+npm-cli@npmjs.com"
19-
git config --global user.name "npm cli ops bot"
18+
git config --global user.email "npm team"
19+
git config --global user.name "ops+robot@npmjs.com"
2020
- uses: actions/setup-node@v3
2121
with:
2222
node-version: 16.x
2323
- name: Update npm to latest
2424
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
2525
- run: npm -v
26-
- run: npm i --ignore-scripts --package-lock
26+
- run: npm i --ignore-scripts --no-audit --no-fund --package-lock
2727
- run: npm audit

‎.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
- uses: actions/checkout@v3
2323
- name: Setup git user
2424
run: |
25-
git config --global user.email "ops+npm-cli@npmjs.com"
26-
git config --global user.name "npm cli ops bot"
25+
git config --global user.email "npm team"
26+
git config --global user.name "ops+robot@npmjs.com"
2727
- uses: actions/setup-node@v3
2828
with:
2929
node-version: 16.x
3030
- name: Update npm to latest
3131
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3232
- run: npm -v
33-
- run: npm i --ignore-scripts
33+
- run: npm i --ignore-scripts --no-audit --no-fund
3434
- run: npm run lint
3535

3636
test:
@@ -59,8 +59,8 @@ jobs:
5959
- uses: actions/checkout@v3
6060
- name: Setup git user
6161
run: |
62-
git config --global user.email "ops+npm-cli@npmjs.com"
63-
git config --global user.name "npm cli ops bot"
62+
git config --global user.email "npm team"
63+
git config --global user.name "ops+robot@npmjs.com"
6464
- uses: actions/setup-node@v3
6565
with:
6666
node-version: ${{ matrix.node-version }}
@@ -82,5 +82,5 @@ jobs:
8282
if: ${{ !startsWith(matrix.node-version, '10.') }}
8383
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
8484
- run: npm -v
85-
- run: npm i --ignore-scripts
85+
- run: npm i --ignore-scripts --no-audit --no-fund
8686
- run: npm test --ignore-scripts

‎.github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
- uses: actions/checkout@v3
3535
- name: Setup git user
3636
run: |
37-
git config --global user.email "ops+npm-cli@npmjs.com"
38-
git config --global user.name "npm cli ops bot"
37+
git config --global user.email "npm team"
38+
git config --global user.name "ops+robot@npmjs.com"
3939
- name: Initialize CodeQL
4040
uses: github/codeql-action/init@v1
4141
with:

‎.github/workflows/post-dependabot.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@ name: Post Dependabot Actions
44

55
on: pull_request
66

7-
# https://docs.github.com/en/rest/overview/permissions-required-for-github-apps
7+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
88
permissions:
9-
actions: write
109
contents: write
1110

1211
jobs:
13-
Install:
12+
template-oss-apply:
1413
runs-on: ubuntu-latest
1514
if: github.actor == 'dependabot[bot]'
1615
steps:
1716
- uses: actions/checkout@v3
1817
- name: Setup git user
1918
run: |
20-
git config --global user.email "ops+npm-cli@npmjs.com"
21-
git config --global user.name "npm cli ops bot"
19+
git config --global user.email "npm team"
20+
git config --global user.name "ops+robot@npmjs.com"
2221
- uses: actions/setup-node@v3
2322
with:
2423
node-version: 16.x
@@ -36,8 +35,9 @@ jobs:
3635
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3736
run: |
3837
gh pr checkout ${{ github.event.pull_request.number }}
39-
npm install --ignore-scripts
38+
npm install --ignore-scripts --no-audit --no-fund
4039
npm run template-oss-apply
4140
git add .
4241
git commit -am "chore: postinstall for dependabot template-oss PR"
4342
git push
43+
npm run lint

‎.github/workflows/pull-request.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
fetch-depth: 0
2121
- name: Setup git user
2222
run: |
23-
git config --global user.email "ops+npm-cli@npmjs.com"
24-
git config --global user.name "npm cli ops bot"
23+
git config --global user.email "npm team"
24+
git config --global user.name "ops+robot@npmjs.com"
2525
- uses: actions/setup-node@v3
2626
with:
2727
node-version: 16.x

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@npmcli/eslint-config": "^3.0.1",
45-
"@npmcli/template-oss": "3.2.0",
45+
"@npmcli/template-oss": "3.4.1",
4646
"tap": "^16.0.1"
4747
},
4848
"dependencies": {
@@ -53,6 +53,6 @@
5353
},
5454
"templateOSS": {
5555
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
56-
"version": "3.2.0"
56+
"version": "3.4.1"
5757
}
5858
}

0 commit comments

Comments
 (0)
Please sign in to comment.