From b9e36a790d4d076c2ba943ff91a5d673d178cf1c Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 5 Oct 2022 10:53:39 -0700 Subject: [PATCH] chore: @npmcli/template-oss@4.5.0 This also removes the release-manager script in favor of the one provided by template oss. --- .github/workflows/post-dependabot.yml | 2 +- .github/workflows/release.yml | 1 + DEPENDENCIES.md | 1 - docs/package.json | 4 +- package-lock.json | 39 ++--- package.json | 7 +- scripts/release-manager.js | 203 -------------------------- smoke-tests/package.json | 4 +- workspaces/arborist/package.json | 4 +- workspaces/libnpmaccess/package.json | 4 +- workspaces/libnpmdiff/package.json | 4 +- workspaces/libnpmexec/package.json | 4 +- workspaces/libnpmfund/package.json | 4 +- workspaces/libnpmhook/package.json | 4 +- workspaces/libnpmorg/package.json | 4 +- workspaces/libnpmpack/package.json | 4 +- workspaces/libnpmpublish/package.json | 4 +- workspaces/libnpmsearch/package.json | 4 +- workspaces/libnpmteam/package.json | 4 +- workspaces/libnpmversion/package.json | 4 +- 20 files changed, 53 insertions(+), 256 deletions(-) delete mode 100644 scripts/release-manager.js diff --git a/.github/workflows/post-dependabot.yml b/.github/workflows/post-dependabot.yml index cac29cc911dd9..e2411dba05bb3 100644 --- a/.github/workflows/post-dependabot.yml +++ b/.github/workflows/post-dependabot.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - ref: ${{ github.ref_name }} + ref: ${{ github.event.pull_request.head.ref }} - name: Setup Git User run: | git config --global user.email "npm-cli+bot@github.com" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87d95eeeaad99..8db7ed9d35b60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,6 +126,7 @@ jobs: RELEASE_COMMENT_ID: ${{ needs.release.outputs.comment-id }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + node . exec --offline -- template-oss-release-manager node . run rp-pull-request --ignore-scripts -ws -iwr --if-present - name: Commit id: commit diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index a9db099d3962c..bdee9cd465d8a 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -543,7 +543,6 @@ graph LR; npm-->npmcli-run-script["@npmcli/run-script"]; npm-->npmcli-template-oss["@npmcli/template-oss"]; npm-->npmlog; - npm-->octokit-rest["@octokit/rest"]; npm-->opener; npm-->p-map; npm-->pacote; diff --git a/docs/package.json b/docs/package.json index 834bca3eaf4a3..16d83b2cd6b22 100644 --- a/docs/package.json +++ b/docs/package.json @@ -22,7 +22,7 @@ "@npmcli/eslint-config": "^3.1.0", "@npmcli/fs": "^2.1.0", "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "cmark-gfm": "^0.9.0", "jsdom": "^18.1.0", "marked-man": "^0.7.0", @@ -64,7 +64,7 @@ ], "ciVersions": "latest", "engines": "^14.17.0 || ^16.13.0 || >=18.0.0", - "version": "4.4.5", + "version": "4.5.0", "content": "../scripts/template-oss/index.js" } } diff --git a/package-lock.json b/package-lock.json index c18988ad5321b..eec13f10805ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -169,8 +169,7 @@ "devDependencies": { "@npmcli/eslint-config": "^3.1.0", "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/template-oss": "4.4.5", - "@octokit/rest": "^19.0.4", + "@npmcli/template-oss": "4.5.0", "fs-minipass": "^2.1.0", "licensee": "^8.2.0", "minimatch": "^5.1.0", @@ -190,7 +189,7 @@ "@npmcli/eslint-config": "^3.1.0", "@npmcli/fs": "^2.1.0", "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "cmark-gfm": "^0.9.0", "jsdom": "^18.1.0", "marked-man": "^0.7.0", @@ -2391,9 +2390,9 @@ } }, "node_modules/@npmcli/template-oss": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.4.5.tgz", - "integrity": "sha512-lAQBMVk79aPr7J09YJBICPOSi5wpTDmtZxXFknvTey30t/Q8jJFYy83gLsgNxXR2KxBP/xVemiiqxl1UdihkSw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@npmcli/template-oss/-/template-oss-4.5.0.tgz", + "integrity": "sha512-5Z55OSSKiD1r3S7Q0Q8w8PPw3q+tvmj9RPRixyy1e4dIqiyKgUwDUNUVlngjDG2xzykAlZWW2EKudr8d9Zn6Lg==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -2405,6 +2404,7 @@ "@npmcli/git": "^3.0.0", "@npmcli/map-workspaces": "^2.0.2", "@npmcli/package-json": "^2.0.0", + "@octokit/rest": "^19.0.4", "diff": "^5.0.0", "glob": "^8.0.1", "handlebars": "^4.7.7", @@ -2422,6 +2422,7 @@ "bin": { "template-oss-apply": "bin/apply.js", "template-oss-check": "bin/check.js", + "template-oss-release-manager": "bin/release-manager.js", "template-oss-release-please": "bin/release-please.js" }, "engines": { @@ -13844,7 +13845,7 @@ "devDependencies": { "@npmcli/eslint-config": "^3.1.0", "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "minify-registry-metadata": "^2.2.0", "rimraf": "^3.0.2", "tap": "^16.0.1", @@ -13901,7 +13902,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "benchmark": "^2.1.4", "chalk": "^4.1.0", "minify-registry-metadata": "^2.1.0", @@ -13922,7 +13923,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -13946,7 +13947,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "tap": "^16.0.1" }, "engines": { @@ -13974,7 +13975,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "bin-links": "^3.0.3", "minify-registry-metadata": "^2.2.0", "mkdirp": "^1.0.4", @@ -13992,7 +13993,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "tap": "^16.0.1" }, "engines": { @@ -14008,7 +14009,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -14025,7 +14026,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "minipass": "^3.1.1", "nock": "^13.2.4", "tap": "^16.0.1" @@ -14045,7 +14046,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.0.7", "tap": "^16.0.1" }, @@ -14065,7 +14066,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "libnpmpack": "^5.0.0-pre.0", "lodash.clonedeep": "^4.5.0", "nock": "^13.2.4", @@ -14083,7 +14084,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -14100,7 +14101,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -14120,7 +14121,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "require-inject": "^1.4.4", "tap": "^16.0.1" }, diff --git a/package.json b/package.json index ee12defc81666..507fe11df7c3c 100644 --- a/package.json +++ b/package.json @@ -206,8 +206,7 @@ "devDependencies": { "@npmcli/eslint-config": "^3.1.0", "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/template-oss": "4.4.5", - "@octokit/rest": "^19.0.4", + "@npmcli/template-oss": "4.5.0", "fs-minipass": "^2.1.0", "licensee": "^8.2.0", "minimatch": "^5.1.0", @@ -233,7 +232,7 @@ "lint-all": "node . run lint -ws -iwr --if-present", "prelint": "rimraf test/npm_cache*", "resetdeps": "bash scripts/resetdeps.sh", - "rp-pull-request": "node . run authors && node scripts/release-manager.js", + "rp-pull-request": "node . run authors", "postlint": "template-oss-check", "template-oss-apply": "template-oss-apply --force" }, @@ -258,7 +257,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "./scripts/template-oss/root.js" }, "license": "Artistic-2.0", diff --git a/scripts/release-manager.js b/scripts/release-manager.js deleted file mode 100644 index 2d981ceb93c17..0000000000000 --- a/scripts/release-manager.js +++ /dev/null @@ -1,203 +0,0 @@ -#!/usr/bin/env node - -const { Octokit } = require('@octokit/rest') -const semver = require('semver') -const mapWorkspaces = require('@npmcli/map-workspaces') -const { join } = require('path') - -const ROOT = process.cwd() -const pkg = require(join(ROOT, 'package.json')) - -const log = (...logs) => console.error('LOG', ...logs) - -const getReleaseProcess = async () => { - // XXX: the release steps need to always be the last thing in the doc for this to work - const RELEASE_PROCESS_SECTION = '### Release the CLI and workspaces' - const RELEASE_PROCESS_WIKI = 'https://raw.githubusercontent.com/wiki/npm/cli/Release-Process.md' - const RELEASE_LIST_ITEM = /^\d+\.\s/gm - - log(`Fetching release process from:`, RELEASE_PROCESS_WIKI) - - const releaseProcess = await new Promise((resolve, reject) => { - require('https') - .get(RELEASE_PROCESS_WIKI, resp => { - let d = '' - resp.on('data', c => (d += c)) - resp.on('end', () => resolve(d)) - }) - .on('error', reject) - }) - - const section = releaseProcess.split(RELEASE_PROCESS_SECTION)[1] - - if (!section) { - throw new Error('Could not find release process section:', RELEASE_PROCESS_SECTION) - } - - return section.split({ - [Symbol.split] (str) { - const [, ...matches] = str.split(RELEASE_LIST_ITEM) - log(`Found ${matches.length} release items`) - return matches.map((m) => `- [ ] . ${m}`.trim()) - }, - }) -} - -const getPrReleases = async (pr) => { - const RELEASE_SEPARATOR = /
.*<\/summary>/g - const MONO_VERSIONS = /
(?:(.*?):\s)?(.*?)<\/summary>/ - const ROOT_VERSION = /\n##\s\[(.*?)\]/ - - const workspaces = [...await mapWorkspaces({ pkg: pkg, cwd: ROOT })].reduce((acc, [k]) => { - const wsComponentName = k.startsWith('@') ? k.split('/')[1] : k - acc[wsComponentName] = k - return acc - }, {}) - - const getReleaseInfo = ({ name, version: rawVersion }) => { - const version = semver.parse(rawVersion) - const prerelease = !!version.prerelease.length - const tag = `${name ? `${name}-` : ''}v${rawVersion}` - const workspace = workspaces[name] - - return { - name, - tag, - prerelease, - version: rawVersion, - major: version.major, - url: `https://github.com/${pr.base.repo.full_name}/releases/tag/${tag}`, - flags: name ? `-w ${workspace} ${prerelease ? `--tag prerelease` : ''}`.trim() : '', - } - } - - const releases = pr.body.match(RELEASE_SEPARATOR) - - if (!releases) { - log('Found no monorepo, checking for single root version') - const [, version] = pr.body.match(ROOT_VERSION) || [] - - if (!version) { - throw new Error('Could not find version with:', ROOT_VERSION) - } - - log('Found version', version) - return [getReleaseInfo({ version })] - } - - log(`Found ${releases.length} releases`) - - return releases.reduce((acc, r) => { - const [, name, version] = r.match(MONO_VERSIONS) - const release = getReleaseInfo({ name, version }) - - if (!name) { - log('Found root', release) - acc[0] = release - } else { - log('Found workspace', release) - acc[1].push(release) - } - - return acc - }, [null, []]) -} - -const appendToComment = async ({ github, commentId, title, body }) => { - if (!commentId) { - log(`No comment id, skipping append to comment`) - return - } - - const { data: comment } = await github.rest.issues.getComment({ - ...github.repo, - comment_id: commentId, - }) - - const hasAppended = comment.body.includes(title) - - log('Found comment with id:', commentId) - log(hasAppended ? 'Comment has aready been appended, replacing' : 'Appending to comment') - - const prefix = hasAppended - ? comment.body.split(title)[0] - : comment.body - - return github.rest.issues.updateComment({ - ...github.repo, - comment_id: commentId, - body: [prefix, title, body].join('\n\n'), - }) -} - -const main = async (env) => { - // These env vars are set by the release.yml workflow from template-oss - const { - CI, - GITHUB_TOKEN, - GITHUB_REPOSITORY, - RELEASE_PR_NUMBER, - RELEASE_COMMENT_ID, // comment is optional for testing - } = env - - if (!CI || !GITHUB_TOKEN || !GITHUB_REPOSITORY || !RELEASE_PR_NUMBER) { - throw new Error('This script is designed to run in CI. If you want to test it, set the ' + - `following env vars: \`CI, GITHUB_TOKEN, GITHUB_REPOSITORY, RELEASE_PR_NUMBER\``) - } - - const github = new Octokit({ auth: GITHUB_TOKEN }) - github.repo = { owner: GITHUB_REPOSITORY.split('/')[0], repo: GITHUB_REPOSITORY.split('/')[1] } - - const { data: pr } = await github.rest.pulls.get({ - ...github.repo, - pull_number: RELEASE_PR_NUMBER, - }) - - const [release, workspaces = []] = await getPrReleases(pr) - - const RELEASE_OMIT_PRERELEASE = '> NOT FOR PRERELEASE' - const RELEASE_OMIT_WORKSPACES = 'Publish workspaces' - const releaseItems = (await getReleaseProcess()) - .filter((item) => { - if (release.prerelease && item.includes(RELEASE_OMIT_PRERELEASE)) { - return false - } - - if (!workspaces.length && item.includes(RELEASE_OMIT_WORKSPACES)) { - return false - } - - return true - }) - .map((item, index) => item.replace('', index + 1)) - - log( - `Filtered ${releaseItems.length} release process items:\n`, - releaseItems.map(r => r.split('\n')[0]).join('\n') - ) - - const releaseTitle = `### Release Checklist for ${release.tag}` - const releaseChecklist = releaseItems - .join('\n\n') - .replace(//g, RELEASE_PR_NUMBER) - .replace(//g, pr.head.ref) - .replace(//g, pr.base.ref) - .replace(//g, release.major) - .replace(//g, release.version) - .replace(//g, release.url) - .replace(/(\s+node \. publish )-w /g, workspaces.map(w => `$1${w.flags}`).join('')) - .trim() - - await appendToComment({ - github, - commentId: RELEASE_COMMENT_ID, - title: releaseTitle, - body: releaseChecklist, - }) -} - -main(process.env) - // This is part of the release CI and is for posting a release manager - // comment to the issue but we dont want it to ever fail the workflow so - // just log but dont set the error code - .catch(err => console.error(err)) diff --git a/smoke-tests/package.json b/smoke-tests/package.json index 7a2c4eed065cf..a63b5ce15d3ac 100644 --- a/smoke-tests/package.json +++ b/smoke-tests/package.json @@ -20,7 +20,7 @@ "devDependencies": { "@npmcli/eslint-config": "^3.1.0", "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "minify-registry-metadata": "^2.2.0", "rimraf": "^3.0.2", "tap": "^16.0.1", @@ -30,7 +30,7 @@ "license": "ISC", "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index a6430cc4eeaba..6693021719f0a 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -42,7 +42,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "benchmark": "^2.1.4", "chalk": "^4.1.0", "minify-registry-metadata": "^2.1.0", @@ -104,7 +104,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" } } diff --git a/workspaces/libnpmaccess/package.json b/workspaces/libnpmaccess/package.json index 3238cdc2d05ec..11a8963d821ce 100644 --- a/workspaces/libnpmaccess/package.json +++ b/workspaces/libnpmaccess/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -40,7 +40,7 @@ ], "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmdiff/package.json b/workspaces/libnpmdiff/package.json index 6423e0ce35e86..90e69292a60f8 100644 --- a/workspaces/libnpmdiff/package.json +++ b/workspaces/libnpmdiff/package.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "tap": "^16.0.1" }, "dependencies": { @@ -59,7 +59,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmexec/package.json b/workspaces/libnpmexec/package.json index 7d00c0517f64c..34b0a32230ceb 100644 --- a/workspaces/libnpmexec/package.json +++ b/workspaces/libnpmexec/package.json @@ -51,7 +51,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "bin-links": "^3.0.3", "minify-registry-metadata": "^2.2.0", "mkdirp": "^1.0.4", @@ -75,7 +75,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" } } diff --git a/workspaces/libnpmfund/package.json b/workspaces/libnpmfund/package.json index 17bfee5bc401d..9c53c75c29143 100644 --- a/workspaces/libnpmfund/package.json +++ b/workspaces/libnpmfund/package.json @@ -42,7 +42,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "tap": "^16.0.1" }, "dependencies": { @@ -53,7 +53,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmhook/package.json b/workspaces/libnpmhook/package.json index 75dbb8557f071..5661da103eef1 100644 --- a/workspaces/libnpmhook/package.json +++ b/workspaces/libnpmhook/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -46,7 +46,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmorg/package.json b/workspaces/libnpmorg/package.json index 67d1ce0d0712e..0bd99c1b185e4 100644 --- a/workspaces/libnpmorg/package.json +++ b/workspaces/libnpmorg/package.json @@ -28,7 +28,7 @@ ], "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "minipass": "^3.1.1", "nock": "^13.2.4", "tap": "^16.0.1" @@ -49,7 +49,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmpack/package.json b/workspaces/libnpmpack/package.json index 2e3b35f726e58..f6ed72abfc978 100644 --- a/workspaces/libnpmpack/package.json +++ b/workspaces/libnpmpack/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.0.7", "tap": "^16.0.1" }, @@ -45,7 +45,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmpublish/package.json b/workspaces/libnpmpublish/package.json index e8455cfed94cc..05ff19d6e9178 100644 --- a/workspaces/libnpmpublish/package.json +++ b/workspaces/libnpmpublish/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "libnpmpack": "^5.0.0-pre.0", "lodash.clonedeep": "^4.5.0", "nock": "^13.2.4", @@ -50,7 +50,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmsearch/package.json b/workspaces/libnpmsearch/package.json index c662bf366d996..e2de6d468a286 100644 --- a/workspaces/libnpmsearch/package.json +++ b/workspaces/libnpmsearch/package.json @@ -26,7 +26,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -45,7 +45,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmteam/package.json b/workspaces/libnpmteam/package.json index f55da8d0c52dc..d72edb526b4f2 100644 --- a/workspaces/libnpmteam/package.json +++ b/workspaces/libnpmteam/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "nock": "^13.2.4", "tap": "^16.0.1" }, @@ -39,7 +39,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" }, "tap": { diff --git a/workspaces/libnpmversion/package.json b/workspaces/libnpmversion/package.json index a3eeffda227e3..5cdeec0bd7261 100644 --- a/workspaces/libnpmversion/package.json +++ b/workspaces/libnpmversion/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", - "@npmcli/template-oss": "4.4.5", + "@npmcli/template-oss": "4.5.0", "require-inject": "^1.4.4", "tap": "^16.0.1" }, @@ -48,7 +48,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.4.5", + "version": "4.5.0", "content": "../../scripts/template-oss/index.js" } }