Skip to content

Commit 3d8f14e

Browse files
chore: bump @npmcli/template-oss from 4.7.1 to 4.23.4 (#278)
Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.7.1 to 4.23.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/npm/template-oss/releases"><code>@​npmcli/template-oss</code>'s releases</a>.</em></p> <blockquote> <h2>v4.23.4</h2> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.3...v4.23.4">4.23.4</a> (2024-10-02)</h2> <h3>Dependencies</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/d267eb37f516cace03d8d30fbaf20a91d8525005"><code>d267eb3</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>proc-log@5.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/1d3b53e5a0a35dbf15303f2d19008e0e23c431b3"><code>1d3b53e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>npm-package-arg@12.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/6840cf2ea812bbbcec29660d7484184346e0887d"><code>6840cf2</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>json-parse-even-better-errors@4.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/552c637f699dc7ad8f8c3e5b74882bbbc4b7ec93"><code>552c637</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>ini@5.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/c6fd5564c61694d1d60524fd548cc69ed70c6635"><code>c6fd556</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>hosted-git-info@8.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/4a3fa8e9e15c7c78c7740b2481dc33bee09669fc"><code>4a3fa8e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>@npmcli/package-json@6.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/5ddf2094bad15c19c41e514851e3f354c0204b6d"><code>5ddf209</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>@npmcli/map-workspaces@4.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/6ff9e171b722844fb933622eb43d4a9e3bd3ef22"><code>6ff9e17</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>@npmcli/git@6.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/e815f956cd66c133afeb6bd8119b05b984435651"><code>e815f95</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/482">#482</a> bump release-please from 16.12.0 to 16.13.0 (<a href="https://redirect.github.com/npm/template-oss/issues/482">#482</a>) (<a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot])</li> <li><a href="https://github.com/npm/template-oss/commit/3528a02b307bc56fe9bcdf813b7c51769287a0b8"><code>3528a02</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/474">#474</a> bump diff from 5.2.0 to 6.0.0 (<a href="https://redirect.github.com/npm/template-oss/issues/474">#474</a>) (<a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot])</li> </ul> <h3>Chores</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/eb549a4d112f370db7557a4e30446d4a90c57db3"><code>eb549a4</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/473">#473</a> bump <code>@​npmcli/eslint-config</code> from 4.0.5 to 5.0.0 (<a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot])</li> </ul> <h2>v4.23.3</h2> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.2...v4.23.3">4.23.3</a> (2024-08-26)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/a102a8bc448e0f29de451456b3fc4f563b93b790"><code>a102a8b</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/471">#471</a> no duplicate changelog entries (<a href="https://redirect.github.com/npm/template-oss/issues/471">#471</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <h2>v4.23.2</h2> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.1...v4.23.2">4.23.2</a> (2024-08-13)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/fa37073fd9a4cc7dea2d783bac7055fb35a3d787"><code>fa37073</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/469">#469</a> proper workspace tap config for tap18 and up (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/6a2200dc746742d9e155df5834b49a779875206e"><code>6a2200d</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/465">#465</a> omit nyc config for all tap versions above 18 (<a href="https://redirect.github.com/npm/template-oss/issues/465">#465</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/6ee703d12a4f1874493ead2be8de207928ca9cb4"><code>6ee703d</code></a> Don't restrict length for commit message footer (<a href="https://redirect.github.com/npm/template-oss/issues/467">#467</a>) (<a href="https://github.com/hashtagchris"><code>@​hashtagchris</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/87d3ed921f4b180946818558c6fef5817090ebe7"><code>87d3ed9</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/466">#466</a> update codeql runner version (<a href="https://redirect.github.com/npm/template-oss/issues/466">#466</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> </ul> <h2>v4.23.1</h2> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.0...v4.23.1">4.23.1</a> (2024-07-17)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/ca477050dece8e0f4a628abad67ad79e084a298f"><code>ca47705</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/462">#462</a> Use <code>include-workspace-root</code> for <code>/main</code> in Post Dependabot (<a href="https://redirect.github.com/npm/template-oss/issues/462">#462</a>) (<a href="https://github.com/hashtagchris"><code>@​hashtagchris</code></a>)</li> </ul> <h2>v4.23.0</h2> <h2><a href="https://github.com/npm/template-oss/compare/v4.22.0...v4.23.0">4.23.0</a> (2024-06-27)</h2> <h3>Features</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/60ee94f58f085c9f85a73638501a1baac67507a7"><code>60ee94f</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/447">#447</a> add prettier support (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>, <a href="https://github.com/jumoel"><code>@​jumoel</code></a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/b35bca55b28b41773aa6b936fc626bc15b40eae5"><code>b35bca5</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/447">#447</a> run prettier (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/8aef509c19639a08a47cf0378ea54799229891ff"><code>8aef509</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/446">#446</a> dont conclude checks if they were never set (<a href="https://redirect.github.com/npm/template-oss/issues/446">#446</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/9440c4f2a8292d4920d9a6d815a13dbd75146ecf"><code>9440c4f</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/444">#444</a> pass releases to publish check (<a href="https://redirect.github.com/npm/template-oss/issues/444">#444</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/npm/template-oss/blob/main/CHANGELOG.md"><code>@​npmcli/template-oss</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.3...v4.23.4">4.23.4</a> (2024-10-02)</h2> <h3>Dependencies</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/d267eb37f516cace03d8d30fbaf20a91d8525005"><code>d267eb3</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>proc-log@5.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/1d3b53e5a0a35dbf15303f2d19008e0e23c431b3"><code>1d3b53e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>npm-package-arg@12.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/6840cf2ea812bbbcec29660d7484184346e0887d"><code>6840cf2</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>json-parse-even-better-errors@4.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/552c637f699dc7ad8f8c3e5b74882bbbc4b7ec93"><code>552c637</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>ini@5.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/c6fd5564c61694d1d60524fd548cc69ed70c6635"><code>c6fd556</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>hosted-git-info@8.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/4a3fa8e9e15c7c78c7740b2481dc33bee09669fc"><code>4a3fa8e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>@npmcli/package-json@6.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/5ddf2094bad15c19c41e514851e3f354c0204b6d"><code>5ddf209</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>@npmcli/map-workspaces@4.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/6ff9e171b722844fb933622eb43d4a9e3bd3ef22"><code>6ff9e17</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/487">#487</a> bump <code>@npmcli/git@6.0.0</code></li> <li><a href="https://github.com/npm/template-oss/commit/e815f956cd66c133afeb6bd8119b05b984435651"><code>e815f95</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/482">#482</a> bump release-please from 16.12.0 to 16.13.0 (<a href="https://redirect.github.com/npm/template-oss/issues/482">#482</a>) (<a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot])</li> <li><a href="https://github.com/npm/template-oss/commit/3528a02b307bc56fe9bcdf813b7c51769287a0b8"><code>3528a02</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/474">#474</a> bump diff from 5.2.0 to 6.0.0 (<a href="https://redirect.github.com/npm/template-oss/issues/474">#474</a>) (<a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot])</li> </ul> <h3>Chores</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/eb549a4d112f370db7557a4e30446d4a90c57db3"><code>eb549a4</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/473">#473</a> bump <code>@​npmcli/eslint-config</code> from 4.0.5 to 5.0.0 (<a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot])</li> </ul> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.2...v4.23.3">4.23.3</a> (2024-08-26)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/a102a8bc448e0f29de451456b3fc4f563b93b790"><code>a102a8b</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/471">#471</a> no duplicate changelog entries (<a href="https://redirect.github.com/npm/template-oss/issues/471">#471</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.1...v4.23.2">4.23.2</a> (2024-08-13)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/fa37073fd9a4cc7dea2d783bac7055fb35a3d787"><code>fa37073</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/469">#469</a> proper workspace tap config for tap18 and up (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/6a2200dc746742d9e155df5834b49a779875206e"><code>6a2200d</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/465">#465</a> omit nyc config for all tap versions above 18 (<a href="https://redirect.github.com/npm/template-oss/issues/465">#465</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/6ee703d12a4f1874493ead2be8de207928ca9cb4"><code>6ee703d</code></a> Don't restrict length for commit message footer (<a href="https://redirect.github.com/npm/template-oss/issues/467">#467</a>) (<a href="https://github.com/hashtagchris"><code>@​hashtagchris</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/87d3ed921f4b180946818558c6fef5817090ebe7"><code>87d3ed9</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/466">#466</a> update codeql runner version (<a href="https://redirect.github.com/npm/template-oss/issues/466">#466</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> </ul> <h2><a href="https://github.com/npm/template-oss/compare/v4.23.0...v4.23.1">4.23.1</a> (2024-07-17)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/ca477050dece8e0f4a628abad67ad79e084a298f"><code>ca47705</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/462">#462</a> Use <code>include-workspace-root</code> for <code>/main</code> in Post Dependabot (<a href="https://redirect.github.com/npm/template-oss/issues/462">#462</a>) (<a href="https://github.com/hashtagchris"><code>@​hashtagchris</code></a>)</li> </ul> <h2><a href="https://github.com/npm/template-oss/compare/v4.22.0...v4.23.0">4.23.0</a> (2024-06-27)</h2> <h3>Features</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/60ee94f58f085c9f85a73638501a1baac67507a7"><code>60ee94f</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/447">#447</a> add prettier support (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>, <a href="https://github.com/jumoel"><code>@​jumoel</code></a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/b35bca55b28b41773aa6b936fc626bc15b40eae5"><code>b35bca5</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/447">#447</a> run prettier (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/8aef509c19639a08a47cf0378ea54799229891ff"><code>8aef509</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/446">#446</a> dont conclude checks if they were never set (<a href="https://redirect.github.com/npm/template-oss/issues/446">#446</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/9440c4f2a8292d4920d9a6d815a13dbd75146ecf"><code>9440c4f</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/444">#444</a> pass releases to publish check (<a href="https://redirect.github.com/npm/template-oss/issues/444">#444</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <h3>Dependencies</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/8252fb28a4e6eb8ffb268f54f79b34f1af1dfe2d"><code>8252fb2</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/452">#452</a> bump release-please from 16.10.2 to 16.12.0 (<a href="https://redirect.github.com/npm/template-oss/issues/452">#452</a>) (<a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot], <a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/npm/template-oss/commit/deb5d5f681f3e88fa234f1827e7ff613d4deacc0"><code>deb5d5f</code></a> chore: release 4.23.4 (<a href="https://redirect.github.com/npm/template-oss/issues/475">#475</a>)</li> <li><a href="https://github.com/npm/template-oss/commit/d267eb37f516cace03d8d30fbaf20a91d8525005"><code>d267eb3</code></a> deps: bump proc-log@5.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/1d3b53e5a0a35dbf15303f2d19008e0e23c431b3"><code>1d3b53e</code></a> deps: bump npm-package-arg@12.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/6840cf2ea812bbbcec29660d7484184346e0887d"><code>6840cf2</code></a> deps: bump json-parse-even-better-errors@4.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/552c637f699dc7ad8f8c3e5b74882bbbc4b7ec93"><code>552c637</code></a> deps: bump ini@5.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/c6fd5564c61694d1d60524fd548cc69ed70c6635"><code>c6fd556</code></a> deps: bump hosted-git-info@8.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/4a3fa8e9e15c7c78c7740b2481dc33bee09669fc"><code>4a3fa8e</code></a> deps: bump <code>@​npmcli/package-json</code><a href="https://github.com/6"><code>@​6</code></a>.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/5ddf2094bad15c19c41e514851e3f354c0204b6d"><code>5ddf209</code></a> deps: bump <code>@​npmcli/map-workspaces</code><a href="https://github.com/4"><code>@​4</code></a>.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/6ff9e171b722844fb933622eb43d4a9e3bd3ef22"><code>6ff9e17</code></a> deps: bump <code>@​npmcli/git</code><a href="https://github.com/6"><code>@​6</code></a>.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/e815f956cd66c133afeb6bd8119b05b984435651"><code>e815f95</code></a> deps: bump release-please from 16.12.0 to 16.13.0 (<a href="https://redirect.github.com/npm/template-oss/issues/482">#482</a>)</li> <li>Additional commits viewable in <a href="https://github.com/npm/template-oss/compare/v4.7.1...v4.23.4">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~npm-cli-ops">npm-cli-ops</a>, a new releaser for <code>@​npmcli/template-oss</code> since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@npmcli/template-oss&package-manager=npm_and_yarn&previous-version=4.7.1&new-version=4.23.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gar <gar+gh@danger.computer>
1 parent 31cdc8d commit 3d8f14e

19 files changed

+662
-411
lines changed

.commitlintrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ module.exports = {
55
rules: {
66
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
77
'header-max-length': [2, 'always', 80],
8-
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
8+
'subject-case': [0],
9+
'body-max-line-length': [0],
10+
'footer-max-line-length': [0],
911
},
1012
}

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ const localConfigs = readdir(__dirname)
1010

1111
module.exports = {
1212
root: true,
13+
ignorePatterns: [
14+
'tap-testdir*/',
15+
],
1316
extends: [
1417
'@npmcli',
1518
...localConfigs,
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+
name: 'Create Check'
4+
inputs:
5+
name:
6+
required: true
7+
token:
8+
required: true
9+
sha:
10+
required: true
11+
check-name:
12+
default: ''
13+
outputs:
14+
check-id:
15+
value: ${{ steps.create-check.outputs.check_id }}
16+
runs:
17+
using: "composite"
18+
steps:
19+
- name: Get Workflow Job
20+
uses: actions/github-script@v7
21+
id: workflow
22+
env:
23+
JOB_NAME: "${{ inputs.name }}"
24+
SHA: "${{ inputs.sha }}"
25+
with:
26+
result-encoding: string
27+
script: |
28+
const { repo: { owner, repo}, runId, serverUrl } = context
29+
const { JOB_NAME, SHA } = process.env
30+
31+
const job = await github.rest.actions.listJobsForWorkflowRun({
32+
owner,
33+
repo,
34+
run_id: runId,
35+
per_page: 100
36+
}).then(r => r.data.jobs.find(j => j.name.endsWith(JOB_NAME)))
37+
38+
return [
39+
`This check is assosciated with ${serverUrl}/${owner}/${repo}/commit/${SHA}.`,
40+
'Run logs:',
41+
job?.html_url || `could not be found for a job ending with: "${JOB_NAME}"`,
42+
].join(' ')
43+
- name: Create Check
44+
uses: LouisBrunner/checks-action@v1.6.0
45+
id: create-check
46+
with:
47+
token: ${{ inputs.token }}
48+
sha: ${{ inputs.sha }}
49+
status: in_progress
50+
name: ${{ inputs.check-name || inputs.name }}
51+
output: |
52+
{"summary":"${{ steps.workflow.outputs.result }}"}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+
name: 'Install Latest npm'
4+
description: 'Install the latest version of npm compatible with the Node version'
5+
inputs:
6+
node:
7+
description: 'Current Node version'
8+
required: true
9+
runs:
10+
using: "composite"
11+
steps:
12+
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
13+
- name: Update Windows npm
14+
if: |
15+
runner.os == 'Windows' && (
16+
startsWith(inputs.node, 'v10.') ||
17+
startsWith(inputs.node, 'v12.') ||
18+
startsWith(inputs.node, 'v14.')
19+
)
20+
shell: cmd
21+
run: |
22+
curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
23+
tar xf npm-7.5.4.tgz
24+
cd package
25+
node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
26+
cd ..
27+
rmdir /s /q package
28+
- name: Install Latest npm
29+
shell: bash
30+
env:
31+
NODE_VERSION: ${{ inputs.node }}
32+
working-directory: ${{ runner.temp }}
33+
run: |
34+
MATCH=""
35+
SPECS=("latest" "next-10" "next-9" "next-8" "next-7" "next-6")
36+
37+
echo "node@$NODE_VERSION"
38+
39+
for SPEC in ${SPECS[@]}; do
40+
ENGINES=$(npm view npm@$SPEC --json | jq -r '.engines.node')
41+
echo "Checking if node@$NODE_VERSION satisfies npm@$SPEC ($ENGINES)"
42+
43+
if npx semver -r "$ENGINES" "$NODE_VERSION" > /dev/null; then
44+
MATCH=$SPEC
45+
echo "Found compatible version: npm@$MATCH"
46+
break
47+
fi
48+
done
49+
50+
if [ -z $MATCH ]; then
51+
echo "Could not find a compatible version of npm for node@$NODE_VERSION"
52+
exit 1
53+
fi
54+
55+
npm i --prefer-online --no-fund --no-audit -g npm@$MATCH
56+
- name: npm Version
57+
shell: bash
58+
run: npm -v

.github/dependabot.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ updates:
77
directory: /
88
schedule:
99
interval: daily
10+
target-branch: "main"
1011
allow:
1112
- dependency-type: direct
1213
versioning-strategy: increase-if-necessary
@@ -15,3 +16,38 @@ updates:
1516
prefix-development: chore
1617
labels:
1718
- "Dependencies"
19+
open-pull-requests-limit: 10
20+
- package-ecosystem: npm
21+
directory: /
22+
schedule:
23+
interval: daily
24+
target-branch: "release/v5"
25+
allow:
26+
- dependency-type: direct
27+
dependency-name: "@npmcli/template-oss"
28+
versioning-strategy: increase-if-necessary
29+
commit-message:
30+
prefix: deps
31+
prefix-development: chore
32+
labels:
33+
- "Dependencies"
34+
- "Backport"
35+
- "release/v5"
36+
open-pull-requests-limit: 10
37+
- package-ecosystem: npm
38+
directory: /
39+
schedule:
40+
interval: daily
41+
target-branch: "release/v6"
42+
allow:
43+
- dependency-type: direct
44+
dependency-name: "@npmcli/template-oss"
45+
versioning-strategy: increase-if-necessary
46+
commit-message:
47+
prefix: deps
48+
prefix-development: chore
49+
labels:
50+
- "Dependencies"
51+
- "Backport"
52+
- "release/v6"
53+
open-pull-requests-limit: 10

.github/settings.yml

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,55 @@
1-
---
2-
_extends: '.github:npm-cli/settings.yml'
1+
# This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+
repository:
4+
allow_merge_commit: false
5+
allow_rebase_merge: true
6+
allow_squash_merge: true
7+
squash_merge_commit_title: PR_TITLE
8+
squash_merge_commit_message: PR_BODY
9+
delete_branch_on_merge: true
10+
enable_automated_security_fixes: true
11+
enable_vulnerability_alerts: true
12+
13+
branches:
14+
- name: main
15+
protection:
16+
required_status_checks: null
17+
enforce_admins: true
18+
block_creations: true
19+
required_pull_request_reviews:
20+
required_approving_review_count: 1
21+
require_code_owner_reviews: true
22+
require_last_push_approval: true
23+
dismiss_stale_reviews: true
24+
restrictions:
25+
apps: []
26+
users: []
27+
teams: [ "cli-team" ]
28+
- name: release/v5
29+
protection:
30+
required_status_checks: null
31+
enforce_admins: true
32+
block_creations: true
33+
required_pull_request_reviews:
34+
required_approving_review_count: 1
35+
require_code_owner_reviews: true
36+
require_last_push_approval: true
37+
dismiss_stale_reviews: true
38+
restrictions:
39+
apps: []
40+
users: []
41+
teams: [ "cli-team" ]
42+
- name: release/v6
43+
protection:
44+
required_status_checks: null
45+
enforce_admins: true
46+
block_creations: true
47+
required_pull_request_reviews:
48+
required_approving_review_count: 1
49+
require_code_owner_reviews: true
50+
require_last_push_approval: true
51+
dismiss_stale_reviews: true
52+
restrictions:
53+
apps: []
54+
users: []
55+
teams: [ "cli-team" ]

.github/workflows/audit.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,24 @@ jobs:
1818
shell: bash
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Setup Git User
2323
run: |
2424
git config --global user.email "npm-cli+bot@github.com"
2525
git config --global user.name "npm CLI robot"
2626
- name: Setup Node
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
28+
id: node
2829
with:
29-
node-version: 18.x
30-
- name: Install npm@latest
31-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
32-
- name: npm Version
33-
run: npm -v
30+
node-version: 22.x
31+
check-latest: contains('22.x', '.x')
32+
- name: Install Latest npm
33+
uses: ./.github/actions/install-latest-npm
34+
with:
35+
node: ${{ steps.node.outputs.node-version }}
3436
- name: Install Dependencies
3537
run: npm i --ignore-scripts --no-audit --no-fund --package-lock
36-
- name: Run Audit
37-
run: npm audit
38+
- name: Run Production Audit
39+
run: npm audit --omit=dev
40+
- name: Run Full Audit
41+
run: npm audit --audit-level=none

0 commit comments

Comments
 (0)