@npmcli/template-oss 4.23.1 → 4.23.3
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}}
|
package/lib/release/changelog.js
CHANGED
|
@@ -51,7 +51,7 @@ class Changelog {
|
|
|
51
51
|
return ''
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
return body.join('\n
|
|
54
|
+
return body.join('\n').trim()
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -154,7 +154,7 @@ class ChangelogNotes {
|
|
|
154
154
|
const subject = wrapSpecs(commit.bareMessage)
|
|
155
155
|
entry.push([scope, subject].filter(Boolean).join(' '))
|
|
156
156
|
|
|
157
|
-
// A list
|
|
157
|
+
// A list of the authors github handles or names
|
|
158
158
|
if (commit.authors.length) {
|
|
159
159
|
entry.push(`(${commit.authors.join(', ')})`)
|
|
160
160
|
}
|