@npmcli/template-oss 4.23.1 → 4.23.2

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.
package/lib/config.js CHANGED
@@ -169,7 +169,8 @@ const getFullConfig = async ({
169
169
  cjsExt: esm ? 'cjs' : 'js',
170
170
  deleteJsExt: esm ? 'js' : 'cjs',
171
171
  // tap
172
- tap18: semver.coerce(pkg.pkgJson?.devDependencies?.tap)?.major === 18,
172
+ // 18 and up doesn't like nyc-arg
173
+ tap18: semver.coerce(pkg.pkgJson?.devDependencies?.tap)?.major >= 18,
173
174
  tap16: semver.coerce(pkg.pkgJson?.devDependencies?.tap)?.major === 16,
174
175
  // booleans to control application of updates
175
176
  isForce,
@@ -26,8 +26,8 @@ jobs:
26
26
  steps:
27
27
  {{> stepGitYml }}
28
28
  - name: Initialize CodeQL
29
- uses: github/codeql-action/init@v2
29
+ uses: github/codeql-action/init@v3
30
30
  with:
31
31
  languages: javascript
32
32
  - name: Perform CodeQL Analysis
33
- uses: github/codeql-action/analyze@v2
33
+ uses: github/codeql-action/analyze@v3
@@ -5,5 +5,6 @@ module.exports = {
5
5
  'header-max-length': [2, 'always', 80],
6
6
  'subject-case': [0],
7
7
  'body-max-line-length': [0],
8
+ 'footer-max-line-length': [0],
8
9
  },
9
10
  }
@@ -42,7 +42,10 @@
42
42
  "standard": {{{ del }}},
43
43
  "tap": {
44
44
  {{#if workspacePaths}}
45
- "test-ignore": "^({{ join workspacePaths "|" }})/",
45
+ "exclude": {{#if tap18}}[
46
+ "{{ join workspaceGlobs "," }}"
47
+ ]{{else }}{{{ del }}}{{/if}},
48
+ "test-ignore": {{#if tap18}}{{{ del }}}{{else}}"^({{ join workspacePaths "|" }})/"{{/if}},
46
49
  {{/if}}
47
50
  {{#if typescript}}
48
51
  {{#if tap16}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npmcli/template-oss",
3
- "version": "4.23.1",
3
+ "version": "4.23.2",
4
4
  "description": "templated files used in npm CLI team oss projects",
5
5
  "main": "lib/content/index.js",
6
6
  "bin": {