@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
|
-
|
|
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@
|
|
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@
|
|
33
|
+
uses: github/codeql-action/analyze@v3
|
|
@@ -42,7 +42,10 @@
|
|
|
42
42
|
"standard": {{{ del }}},
|
|
43
43
|
"tap": {
|
|
44
44
|
{{#if workspacePaths}}
|
|
45
|
-
|
|
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}}
|