@npmcli/template-oss 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,5 +12,5 @@ jobs:
12
12
  steps:
13
13
  {{> setupGit}}
14
14
  {{> setupNode}}
15
- - run: npm i --package-lock
15
+ - run: npm i --ignore-scripts --package-lock
16
16
  - run: npm audit
@@ -28,7 +28,7 @@ jobs:
28
28
  steps:
29
29
  {{> setupGit}}
30
30
  {{> setupNode}}
31
- - run: npm i
31
+ - run: npm i --ignore-scripts
32
32
  - run: npm run lint {{~#if isWorkspace}} -w {{pkgName}}{{/if}}
33
33
 
34
34
  test:
@@ -55,5 +55,5 @@ jobs:
55
55
  steps:
56
56
  {{> setupGit}}
57
57
  {{> setupNode useMatrix=true}}
58
- - run: npm i
58
+ - run: npm i --ignore-scripts
59
59
  - run: npm test --ignore-scripts {{~#if isWorkspace}} -w {{pkgName}}{{/if}}
@@ -5,6 +5,7 @@ on:
5
5
 
6
6
  # https://docs.github.com/en/rest/overview/permissions-required-for-github-apps
7
7
  permissions:
8
+ actions: write
8
9
  contents: write
9
10
 
10
11
  jobs:
@@ -25,7 +26,7 @@ jobs:
25
26
  GITHUB_TOKEN: $\{{ secrets.GITHUB_TOKEN }}
26
27
  run: |
27
28
  gh pr checkout $\{{ github.event.pull_request.number }}
28
- npm install --no-scripts
29
+ npm install --ignore-scripts
29
30
  npm run template-oss-apply
30
31
  git add .
31
32
  git commit -am "chore: postinstall for dependabot template-oss PR"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npmcli/template-oss",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "templated files used in npm CLI team oss projects",
5
5
  "main": "lib/content/index.js",
6
6
  "bin": {
@@ -17,7 +17,8 @@
17
17
  "snap": "tap",
18
18
  "test": "tap",
19
19
  "template-oss-apply": "template-oss-apply --force",
20
- "postlint": "template-oss-check"
20
+ "postlint": "template-oss-check",
21
+ "postinstall": "template-oss-apply"
21
22
  },
22
23
  "repository": {
23
24
  "type": "git",