From ed599cd3b1c3ec62324ff047d83c25dc45f70603 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Tue, 5 Dec 2023 10:59:52 -0700 Subject: [PATCH] chore: ignore release-please coverage These tests are non-deterministic and always fail after a few days. They need to be re-thought because currently they require re-recording mocks and shapshots every time something else is committed. --- lib/release/node-workspace-format.js | 9 +- lib/release/node-workspace.js | 1 + lib/release/release-please.js | 1 + .../test/apply/source-snapshots.js.test.cjs | 6 + ...ease-please-cases-chore-commit.js.test.cjs | 72 --- .../release-please-cases-fix-all.js.test.cjs | 504 ------------------ .../release-please-cases-fix-one.js.test.cjs | 175 ------ ...elease-please-cases-prerelease.js.test.cjs | 352 ------------ test/release/release-please.js | 2 +- 9 files changed, 13 insertions(+), 1109 deletions(-) delete mode 100644 tap-snapshots/test/release/release-please-cases-chore-commit.js.test.cjs delete mode 100644 tap-snapshots/test/release/release-please-cases-fix-all.js.test.cjs delete mode 100644 tap-snapshots/test/release/release-please-cases-fix-one.js.test.cjs delete mode 100644 tap-snapshots/test/release/release-please-cases-prerelease.js.test.cjs diff --git a/lib/release/node-workspace-format.js b/lib/release/node-workspace-format.js index 7fafa3e0..46b4db91 100644 --- a/lib/release/node-workspace-format.js +++ b/lib/release/node-workspace-format.js @@ -5,14 +5,13 @@ const { TagName } = require('release-please/build/src/util/tag-name.js') const { ROOT_PROJECT_PATH } = require('release-please/build/src/manifest.js') const { DEPS, link, wrapSpecs } = require('./util.js') -const WORKSPACE_MESSAGE = (name, version) => `${DEPS}(workspace): ${name}@${version}` -const WORKSPACE_SCOPE = /(?workspace): `?(?\S+?)[@\s](?\S+?)`?$/gm - +/* istanbul ignore next: TODO fix flaky tests and enable coverage */ module.exports = class extends ManifestPlugin { - static WORKSPACE_MESSAGE = WORKSPACE_MESSAGE + static WORKSPACE_MESSAGE = (name, version) => `${DEPS}(workspace): ${name}@${version}` #releasesByPackage = new Map() #pathsByComponent = new Map() + #WORKSPACE_SCOPE = /(?workspace): `?(?\S+?)[@\s](?\S+?)`?$/gm async preconfigure (strategiesByPath) { // First build a list of all releases that will happen based on @@ -44,7 +43,7 @@ module.exports = class extends ManifestPlugin { // Update notes with a link to each workspaces release notes // now that we have all of the releases in a single pull request release.notes = - release.notes.replace(WORKSPACE_SCOPE, (...args) => { + release.notes.replace(this.#WORKSPACE_SCOPE, (...args) => { const { scope, name, version } = args.pop() const { path, component } = this.#releasesByPackage.get(name) const { tagSeparator, includeVInTag } = this.repositoryConfig[path] diff --git a/lib/release/node-workspace.js b/lib/release/node-workspace.js index 2ed95385..4f13f912 100644 --- a/lib/release/node-workspace.js +++ b/lib/release/node-workspace.js @@ -10,6 +10,7 @@ const { WORKSPACE_MESSAGE } = require('./node-workspace-format') // not be easy to land. For now we extend the base plugin and add one method // which is much better than previously when we needed to fork and maintain // release-please ourselves. +/* istanbul ignore next: TODO fix flaky tests and enable coverage */ class NpmNodeWorkspace extends NodeWorkspace { async preconfigure (strategiesByPath, commitsByPath, releasesByPath) { // First build a list of all releases that will happen based on the diff --git a/lib/release/release-please.js b/lib/release/release-please.js index dd12fb58..42cd3bb9 100644 --- a/lib/release/release-please.js +++ b/lib/release/release-please.js @@ -15,6 +15,7 @@ const NodeWorkspace = require('./node-workspace.js') const NodeWorkspaceFormat = require('./node-workspace-format.js') const { getPublishTag, noop } = require('./util.js') +/* istanbul ignore next: TODO fix flaky tests and enable coverage */ class ReleasePlease { #token #owner diff --git a/tap-snapshots/test/apply/source-snapshots.js.test.cjs b/tap-snapshots/test/apply/source-snapshots.js.test.cjs index e5aebd76..092be5f4 100644 --- a/tap-snapshots/test/apply/source-snapshots.js.test.cjs +++ b/tap-snapshots/test/apply/source-snapshots.js.test.cjs @@ -184,6 +184,7 @@ updates: prefix-development: chore labels: - "Dependencies" + open-pull-requests-limit: 10 - package-ecosystem: npm directory: / schedule: @@ -197,6 +198,7 @@ updates: prefix-development: chore labels: - "Dependencies" + open-pull-requests-limit: 10 .github/ISSUE_TEMPLATE/bug.yml ======================================== @@ -1617,6 +1619,7 @@ updates: prefix-development: chore labels: - "Dependencies" + open-pull-requests-limit: 10 - package-ecosystem: npm directory: / schedule: @@ -1630,6 +1633,7 @@ updates: prefix-development: chore labels: - "Dependencies" + open-pull-requests-limit: 10 .github/ISSUE_TEMPLATE/bug.yml ======================================== @@ -3381,6 +3385,7 @@ updates: prefix-development: chore labels: - "Dependencies" + open-pull-requests-limit: 10 - package-ecosystem: npm directory: / schedule: @@ -3394,6 +3399,7 @@ updates: prefix-development: chore labels: - "Dependencies" + open-pull-requests-limit: 10 .github/matchers/tap.json ======================================== diff --git a/tap-snapshots/test/release/release-please-cases-chore-commit.js.test.cjs b/tap-snapshots/test/release/release-please-cases-chore-commit.js.test.cjs deleted file mode 100644 index 018f93ff..00000000 --- a/tap-snapshots/test/release/release-please-cases-chore-commit.js.test.cjs +++ /dev/null @@ -1,72 +0,0 @@ -/* IMPORTANT - * This snapshot file is auto-generated, but designed for humans. - * It should be checked into source control and tracked carefully. - * Re-generate by setting TAP_SNAPSHOT=1 and running tests. - * Make sure to inspect the output below. Do not ignore changes! - */ -'use strict' -exports[`test/release/release-please.js TAP cases chore commit > pr chore: this is a chore 1`] = ` -Object { - "baseBranchName": "template-oss-mock-testing-branch-do-not-delete", - "body": String( - :robot: I have created a release *beep* *boop* - --- - - -
2017.0.3-pre - - ## [2017.0.3-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.2-pre...v2017.0.3-pre) (2023-12-05) - - ### Chores - -
Commits - - * [\`f936a4b\`](https://github.com/npm/npm-cli-release-please/commit/f936a4be5f739048163b8346568f8bc49b7b53f9) this is a chore (@lukekarrys) - -
-
- - --- - This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). - ), - "files": Array [], - "headBranchName": "release-please--branches--template-oss-mock-testing-branch-do-not-delete", - "labels": Array [ - "autorelease: pending", - ], - "number": 268, - "sha": "9e96e7aa386e69fd38783b037402d2ffd64fb5fc", - "title": "chore: release 2017.0.3-pre", -} -` - -exports[`test/release/release-please.js TAP cases chore commit > releases chore commit 1`] = ` -Array [ - Object { - "draft": false, - "id": 132694534, - "major": 2017, - "minor": 0, - "name": "v2017.0.3-pre", - "notes": String( - ## [2017.0.3-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.2-pre...v2017.0.3-pre) (2023-12-05) - - ### Chores - - Commits - - * [\`f936a4b\`](https://github.com/npm/npm-cli-release-please/commit/f936a4be5f739048163b8346568f8bc49b7b53f9) this is a chore (@lukekarrys) - ), - "patch": 3, - "path": ".", - "pkgName": "npm-cli-release-please", - "prNumber": 268, - "publishTag": "prerelease-2017", - "sha": "13b89ef2a76c624b3ebccda40ee817c4112744fc", - "tagName": "v2017.0.3-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694534/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/v2017.0.3-pre", - "version": "2017.0.3-pre", - }, -] -` diff --git a/tap-snapshots/test/release/release-please-cases-fix-all.js.test.cjs b/tap-snapshots/test/release/release-please-cases-fix-all.js.test.cjs deleted file mode 100644 index fb4695ae..00000000 --- a/tap-snapshots/test/release/release-please-cases-fix-all.js.test.cjs +++ /dev/null @@ -1,504 +0,0 @@ -/* IMPORTANT - * This snapshot file is auto-generated, but designed for humans. - * It should be checked into source control and tracked carefully. - * Re-generate by setting TAP_SNAPSHOT=1 and running tests. - * Make sure to inspect the output below. Do not ignore changes! - */ -'use strict' -exports[`test/release/release-please.js TAP cases fix all > pr fix: update all packages 1`] = ` -Object { - "baseBranchName": "template-oss-mock-testing-branch-do-not-delete", - "body": String( - :robot: I have created a release *beep* *boop* - --- - - -
2017.0.1-pre - - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.0-pre...v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2016.0.1-pre.1): \`@npmcli/pkg6@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.1-pre): \`pkg1@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2016.0.1-pre.1): \`pkg4@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2016.0.1-pre.1): \`pkg5@2016.0.1-pre.1\` - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.0-pre...v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2016.0.1-pre.1): \`@npmcli/pkg6@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.1-pre): \`pkg1@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2016.0.1-pre.1): \`pkg4@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2016.0.1-pre.1): \`pkg5@2016.0.1-pre.1\` - - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
- - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
-
- -
pkg1: 2017.0.1-pre - - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.0-pre...pkg1-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.0-pre...pkg1-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
- - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
-
- -
pkg2: 2017.0.1-pre - - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.0-pre...pkg2-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.1-pre): \`@npmcli/pkg3@2017.0.1-pre\` - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.0-pre...pkg2-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.1-pre): \`@npmcli/pkg3@2017.0.1-pre\` - - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
- - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
-
- -
pkg3: 2017.0.1-pre - - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg3-v2017.0.0-pre...pkg3-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
-
- -
pkg5: 2016.0.1-pre.1 - - ## [2016.0.1-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg5-v2016.0.0-pre.1...pkg5-v2016.0.1-pre.1) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
-
- -
pkg4: 2016.0.1-pre.1 - - ## [2016.0.1-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg4-v2016.0.0-pre.1...pkg4-v2016.0.1-pre.1) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
-
- -
pkg6: 2016.0.1-pre.1 - - ## [2016.0.1-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg6-v2016.0.0-pre.1...pkg6-v2016.0.1-pre.1) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - -
Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - -
-
- - --- - This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). - ), - "files": Array [], - "headBranchName": "release-please--branches--template-oss-mock-testing-branch-do-not-delete", - "labels": Array [ - "autorelease: pending", - ], - "number": 266, - "sha": "bf304fdfb18e42584e96ff2a737a05e488fb0d04", - "title": "chore: release 2017.0.1-pre", -} -` - -exports[`test/release/release-please.js TAP cases fix all > releases fix all 1`] = ` -Array [ - Object { - "draft": false, - "id": 132694135, - "major": 2017, - "minor": 0, - "name": "v2017.0.1-pre", - "notes": String( - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.0-pre...v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2016.0.1-pre.1): \`@npmcli/pkg6@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.1-pre): \`pkg1@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2016.0.1-pre.1): \`pkg4@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2016.0.1-pre.1): \`pkg5@2016.0.1-pre.1\` - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.0-pre...v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2016.0.1-pre.1): \`@npmcli/pkg6@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.1-pre): \`pkg1@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2016.0.1-pre.1): \`pkg4@2016.0.1-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2016.0.1-pre.1): \`pkg5@2016.0.1-pre.1\` - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - - - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - ), - "patch": 1, - "path": ".", - "pkgName": "npm-cli-release-please", - "prNumber": 266, - "publishTag": "prerelease-2017", - "sha": "b096268dc0cc0092044df883073db693bae36d9c", - "tagName": "v2017.0.1-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694135/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/v2017.0.1-pre", - "version": "2017.0.1-pre", - }, - Object { - "draft": false, - "id": 132694140, - "major": 2017, - "minor": 0, - "name": "pkg1: v2017.0.1-pre", - "notes": String( - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.0-pre...pkg1-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.0-pre...pkg1-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre): \`pkg2@2017.0.1-pre\` - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - - - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - ), - "patch": 1, - "path": "pkg1", - "pkgName": "pkg1", - "prNumber": 266, - "publishTag": "prerelease-2017", - "sha": "b096268dc0cc0092044df883073db693bae36d9c", - "tagName": "pkg1-v2017.0.1-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694140/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.1-pre", - "version": "2017.0.1-pre", - }, - Object { - "draft": false, - "id": 132694145, - "major": 2017, - "minor": 0, - "name": "pkg2: v2017.0.1-pre", - "notes": String( - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.0-pre...pkg2-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.1-pre): \`@npmcli/pkg3@2017.0.1-pre\` - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.0-pre...pkg2-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.1-pre): \`@npmcli/pkg3@2017.0.1-pre\` - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - - - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - ), - "patch": 1, - "path": "pkg2", - "pkgName": "pkg2", - "prNumber": 266, - "publishTag": "prerelease-2017", - "sha": "b096268dc0cc0092044df883073db693bae36d9c", - "tagName": "pkg2-v2017.0.1-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694145/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.1-pre", - "version": "2017.0.1-pre", - }, - Object { - "draft": false, - "id": 132694151, - "major": 2017, - "minor": 0, - "name": "pkg3: v2017.0.1-pre", - "notes": String( - ## [2017.0.1-pre](https://github.com/npm/npm-cli-release-please/compare/pkg3-v2017.0.0-pre...pkg3-v2017.0.1-pre) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - ), - "patch": 1, - "path": "pkg3", - "pkgName": "@npmcli/pkg3", - "prNumber": 266, - "publishTag": "prerelease-2017", - "sha": "b096268dc0cc0092044df883073db693bae36d9c", - "tagName": "pkg3-v2017.0.1-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694151/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.1-pre", - "version": "2017.0.1-pre", - }, - Object { - "draft": false, - "id": 132694161, - "major": 2016, - "minor": 0, - "name": "pkg5: v2016.0.1-pre.1", - "notes": String( - ## [2016.0.1-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg5-v2016.0.0-pre.1...pkg5-v2016.0.1-pre.1) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - ), - "patch": 1, - "path": "workspaces/arbitrary-name", - "pkgName": "pkg5", - "prNumber": 266, - "publishTag": "prerelease-2016", - "sha": "b096268dc0cc0092044df883073db693bae36d9c", - "tagName": "pkg5-v2016.0.1-pre.1", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694161/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2016.0.1-pre.1", - "version": "2016.0.1-pre.1", - }, - Object { - "draft": false, - "id": 132694165, - "major": 2016, - "minor": 0, - "name": "pkg4: v2016.0.1-pre.1", - "notes": String( - ## [2016.0.1-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg4-v2016.0.0-pre.1...pkg4-v2016.0.1-pre.1) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - ), - "patch": 1, - "path": "workspaces/not-the-name", - "pkgName": "pkg4", - "prNumber": 266, - "publishTag": "prerelease-2016", - "sha": "b096268dc0cc0092044df883073db693bae36d9c", - "tagName": "pkg4-v2016.0.1-pre.1", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694165/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2016.0.1-pre.1", - "version": "2016.0.1-pre.1", - }, - Object { - "draft": false, - "id": 132694173, - "major": 2016, - "minor": 0, - "name": "pkg6: v2016.0.1-pre.1", - "notes": String( - ## [2016.0.1-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg6-v2016.0.0-pre.1...pkg6-v2016.0.1-pre.1) (2023-12-05) - - ### Bug Fixes - - * [\`f4e5851\`](https://github.com/npm/npm-cli-release-please/commit/f4e5851372f77cb41f5395e928dd6003f0c5496b) update all packages (@lukekarrys) - - ### Chores - - Commits - - * [\`9b16fc8\`](https://github.com/npm/npm-cli-release-please/commit/9b16fc8e90c2cf9e61fe4ab9ecefe9a42be62ec6) update template-oss (@lukekarrys) - ), - "patch": 1, - "path": "workspaces/pkg6", - "pkgName": "@npmcli/pkg6", - "prNumber": 266, - "publishTag": "prerelease-2016", - "sha": "b096268dc0cc0092044df883073db693bae36d9c", - "tagName": "pkg6-v2016.0.1-pre.1", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694173/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2016.0.1-pre.1", - "version": "2016.0.1-pre.1", - }, -] -` diff --git a/tap-snapshots/test/release/release-please-cases-fix-one.js.test.cjs b/tap-snapshots/test/release/release-please-cases-fix-one.js.test.cjs deleted file mode 100644 index c0b1f0ef..00000000 --- a/tap-snapshots/test/release/release-please-cases-fix-one.js.test.cjs +++ /dev/null @@ -1,175 +0,0 @@ -/* IMPORTANT - * This snapshot file is auto-generated, but designed for humans. - * It should be checked into source control and tracked carefully. - * Re-generate by setting TAP_SNAPSHOT=1 and running tests. - * Make sure to inspect the output below. Do not ignore changes! - */ -'use strict' -exports[`test/release/release-please.js TAP cases fix one > pr fix: update pkg3 1`] = ` -Object { - "baseBranchName": "template-oss-mock-testing-branch-do-not-delete", - "body": String( - :robot: I have created a release *beep* *boop* - --- - - -
2017.0.2-pre - - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.1-pre...v2017.0.2-pre) (2023-12-05) - - ### Bug Fixes - - * [\`c9eaf9c\`](https://github.com/npm/npm-cli-release-please/commit/c9eaf9c0e8943bef862e7695a9e0c7d083731ee4) update pkg3 (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.2-pre): \`pkg1@2017.0.2-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.2-pre): \`pkg2@2017.0.2-pre\` -
- -
pkg1: 2017.0.2-pre - - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.1-pre...pkg1-v2017.0.2-pre) (2023-12-05) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.2-pre): \`pkg2@2017.0.2-pre\` -
- -
pkg2: 2017.0.2-pre - - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.1-pre...pkg2-v2017.0.2-pre) (2023-12-05) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.2-pre): \`@npmcli/pkg3@2017.0.2-pre\` -
- -
pkg3: 2017.0.2-pre - - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/pkg3-v2017.0.1-pre...pkg3-v2017.0.2-pre) (2023-12-05) - - ### Bug Fixes - - * [\`c9eaf9c\`](https://github.com/npm/npm-cli-release-please/commit/c9eaf9c0e8943bef862e7695a9e0c7d083731ee4) update pkg3 (@lukekarrys) -
- - --- - This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). - ), - "files": Array [], - "headBranchName": "release-please--branches--template-oss-mock-testing-branch-do-not-delete", - "labels": Array [ - "autorelease: pending", - ], - "number": 267, - "sha": "b3ff3a8d68d6bab0d83fd82ba0bd260ebe296bb8", - "title": "chore: release 2017.0.2-pre", -} -` - -exports[`test/release/release-please.js TAP cases fix one > releases fix one 1`] = ` -Array [ - Object { - "draft": false, - "id": 132694353, - "major": 2017, - "minor": 0, - "name": "v2017.0.2-pre", - "notes": String( - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.1-pre...v2017.0.2-pre) (2023-12-05) - - ### Bug Fixes - - * [\`c9eaf9c\`](https://github.com/npm/npm-cli-release-please/commit/c9eaf9c0e8943bef862e7695a9e0c7d083731ee4) update pkg3 (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.2-pre): \`pkg1@2017.0.2-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.2-pre): \`pkg2@2017.0.2-pre\` - ), - "patch": 2, - "path": ".", - "pkgName": "npm-cli-release-please", - "prNumber": 267, - "publishTag": "prerelease-2017", - "sha": "e4738bce93b7a2d58c2fee7b618971b5b0feb4bc", - "tagName": "v2017.0.2-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694353/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/v2017.0.2-pre", - "version": "2017.0.2-pre", - }, - Object { - "draft": false, - "id": 132694359, - "major": 2017, - "minor": 0, - "name": "pkg1: v2017.0.2-pre", - "notes": String( - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.1-pre...pkg1-v2017.0.2-pre) (2023-12-05) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.2-pre): \`pkg2@2017.0.2-pre\` - ), - "patch": 2, - "path": "pkg1", - "pkgName": "pkg1", - "prNumber": 267, - "publishTag": "prerelease-2017", - "sha": "e4738bce93b7a2d58c2fee7b618971b5b0feb4bc", - "tagName": "pkg1-v2017.0.2-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694359/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2017.0.2-pre", - "version": "2017.0.2-pre", - }, - Object { - "draft": false, - "id": 132694369, - "major": 2017, - "minor": 0, - "name": "pkg2: v2017.0.2-pre", - "notes": String( - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.1-pre...pkg2-v2017.0.2-pre) (2023-12-05) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.2-pre): \`@npmcli/pkg3@2017.0.2-pre\` - ), - "patch": 2, - "path": "pkg2", - "pkgName": "pkg2", - "prNumber": 267, - "publishTag": "prerelease-2017", - "sha": "e4738bce93b7a2d58c2fee7b618971b5b0feb4bc", - "tagName": "pkg2-v2017.0.2-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694369/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2017.0.2-pre", - "version": "2017.0.2-pre", - }, - Object { - "draft": false, - "id": 132694374, - "major": 2017, - "minor": 0, - "name": "pkg3: v2017.0.2-pre", - "notes": String( - ## [2017.0.2-pre](https://github.com/npm/npm-cli-release-please/compare/pkg3-v2017.0.1-pre...pkg3-v2017.0.2-pre) (2023-12-05) - - ### Bug Fixes - - * [\`c9eaf9c\`](https://github.com/npm/npm-cli-release-please/commit/c9eaf9c0e8943bef862e7695a9e0c7d083731ee4) update pkg3 (@lukekarrys) - ), - "patch": 2, - "path": "pkg3", - "pkgName": "@npmcli/pkg3", - "prNumber": 267, - "publishTag": "prerelease-2017", - "sha": "e4738bce93b7a2d58c2fee7b618971b5b0feb4bc", - "tagName": "pkg3-v2017.0.2-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694374/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2017.0.2-pre", - "version": "2017.0.2-pre", - }, -] -` diff --git a/tap-snapshots/test/release/release-please-cases-prerelease.js.test.cjs b/tap-snapshots/test/release/release-please-cases-prerelease.js.test.cjs deleted file mode 100644 index 17adf6bd..00000000 --- a/tap-snapshots/test/release/release-please-cases-prerelease.js.test.cjs +++ /dev/null @@ -1,352 +0,0 @@ -/* IMPORTANT - * This snapshot file is auto-generated, but designed for humans. - * It should be checked into source control and tracked carefully. - * Re-generate by setting TAP_SNAPSHOT=1 and running tests. - * Make sure to inspect the output below. Do not ignore changes! - */ -'use strict' -exports[`test/release/release-please.js TAP cases prerelease > pr feat!: update all packages 1`] = ` -Object { - "baseBranchName": "template-oss-mock-testing-branch-do-not-delete", - "body": String( - :robot: I have created a release *beep* *boop* - --- - - -
2018.0.0-pre - - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.3-pre...v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2017.0.0-pre.1): \`@npmcli/pkg6@2017.0.0-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2018.0.0-pre): \`pkg1@2018.0.0-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2018.0.0-pre): \`pkg2@2018.0.0-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2017.0.0-pre.1): \`pkg4@2017.0.0-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2017.0.0-pre.1): \`pkg5@2017.0.0-pre.1\` -
- -
pkg1: 2018.0.0-pre - - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.2-pre...pkg1-v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2018.0.0-pre): \`pkg2@2018.0.0-pre\` -
- -
pkg2: 2018.0.0-pre - - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.2-pre...pkg2-v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2018.0.0-pre): \`@npmcli/pkg3@2018.0.0-pre\` -
- -
pkg3: 2018.0.0-pre - - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/pkg3-v2017.0.2-pre...pkg3-v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) -
- -
pkg5: 2017.0.0-pre.1 - - ## [2017.0.0-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg5-v2016.0.1-pre.1...pkg5-v2017.0.0-pre.1) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) -
- -
pkg4: 2017.0.0-pre.1 - - ## [2017.0.0-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg4-v2016.0.1-pre.1...pkg4-v2017.0.0-pre.1) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) -
- -
pkg6: 2017.0.0-pre.1 - - ## [2017.0.0-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg6-v2016.0.1-pre.1...pkg6-v2017.0.0-pre.1) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) -
- - --- - This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). - ), - "files": Array [], - "headBranchName": "release-please--branches--template-oss-mock-testing-branch-do-not-delete", - "labels": Array [ - "autorelease: pending", - ], - "number": 269, - "sha": "92013d870a51a12ac68d724fc6975a15cef19cfa", - "title": "chore: release 2018.0.0-pre", -} -` - -exports[`test/release/release-please.js TAP cases prerelease > releases prerelease 1`] = ` -Array [ - Object { - "draft": false, - "id": 132694882, - "major": 2018, - "minor": 0, - "name": "v2018.0.0-pre", - "notes": String( - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/v2017.0.3-pre...v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2017.0.0-pre.1): \`@npmcli/pkg6@2017.0.0-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2018.0.0-pre): \`pkg1@2018.0.0-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2018.0.0-pre): \`pkg2@2018.0.0-pre\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2017.0.0-pre.1): \`pkg4@2017.0.0-pre.1\` - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2017.0.0-pre.1): \`pkg5@2017.0.0-pre.1\` - ), - "patch": 0, - "path": ".", - "pkgName": "npm-cli-release-please", - "prNumber": 269, - "publishTag": "prerelease-2018", - "sha": "23c64828b453bde72702a2d78286cd90f545d039", - "tagName": "v2018.0.0-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694882/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/v2018.0.0-pre", - "version": "2018.0.0-pre", - }, - Object { - "draft": false, - "id": 132694892, - "major": 2018, - "minor": 0, - "name": "pkg1: v2018.0.0-pre", - "notes": String( - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/pkg1-v2017.0.2-pre...pkg1-v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2018.0.0-pre): \`pkg2@2018.0.0-pre\` - ), - "patch": 0, - "path": "pkg1", - "pkgName": "pkg1", - "prNumber": 269, - "publishTag": "prerelease-2018", - "sha": "23c64828b453bde72702a2d78286cd90f545d039", - "tagName": "pkg1-v2018.0.0-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694892/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg1-v2018.0.0-pre", - "version": "2018.0.0-pre", - }, - Object { - "draft": false, - "id": 132694900, - "major": 2018, - "minor": 0, - "name": "pkg2: v2018.0.0-pre", - "notes": String( - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/pkg2-v2017.0.2-pre...pkg2-v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - - ### Dependencies - - * [workspace](https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2018.0.0-pre): \`@npmcli/pkg3@2018.0.0-pre\` - ), - "patch": 0, - "path": "pkg2", - "pkgName": "pkg2", - "prNumber": 269, - "publishTag": "prerelease-2018", - "sha": "23c64828b453bde72702a2d78286cd90f545d039", - "tagName": "pkg2-v2018.0.0-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694900/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg2-v2018.0.0-pre", - "version": "2018.0.0-pre", - }, - Object { - "draft": false, - "id": 132694909, - "major": 2018, - "minor": 0, - "name": "pkg3: v2018.0.0-pre", - "notes": String( - ## [2018.0.0-pre](https://github.com/npm/npm-cli-release-please/compare/pkg3-v2017.0.2-pre...pkg3-v2018.0.0-pre) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - ), - "patch": 0, - "path": "pkg3", - "pkgName": "@npmcli/pkg3", - "prNumber": 269, - "publishTag": "prerelease-2018", - "sha": "23c64828b453bde72702a2d78286cd90f545d039", - "tagName": "pkg3-v2018.0.0-pre", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694909/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg3-v2018.0.0-pre", - "version": "2018.0.0-pre", - }, - Object { - "draft": false, - "id": 132694916, - "major": 2017, - "minor": 0, - "name": "pkg5: v2017.0.0-pre.1", - "notes": String( - ## [2017.0.0-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg5-v2016.0.1-pre.1...pkg5-v2017.0.0-pre.1) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - ), - "patch": 0, - "path": "workspaces/arbitrary-name", - "pkgName": "pkg5", - "prNumber": 269, - "publishTag": "prerelease-2017", - "sha": "23c64828b453bde72702a2d78286cd90f545d039", - "tagName": "pkg5-v2017.0.0-pre.1", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694916/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg5-v2017.0.0-pre.1", - "version": "2017.0.0-pre.1", - }, - Object { - "draft": false, - "id": 132694920, - "major": 2017, - "minor": 0, - "name": "pkg4: v2017.0.0-pre.1", - "notes": String( - ## [2017.0.0-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg4-v2016.0.1-pre.1...pkg4-v2017.0.0-pre.1) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - ), - "patch": 0, - "path": "workspaces/not-the-name", - "pkgName": "pkg4", - "prNumber": 269, - "publishTag": "prerelease-2017", - "sha": "23c64828b453bde72702a2d78286cd90f545d039", - "tagName": "pkg4-v2017.0.0-pre.1", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694920/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg4-v2017.0.0-pre.1", - "version": "2017.0.0-pre.1", - }, - Object { - "draft": false, - "id": 132694925, - "major": 2017, - "minor": 0, - "name": "pkg6: v2017.0.0-pre.1", - "notes": String( - ## [2017.0.0-pre.1](https://github.com/npm/npm-cli-release-please/compare/pkg6-v2016.0.1-pre.1...pkg6-v2017.0.0-pre.1) (2023-12-05) - - ### ⚠️ BREAKING CHANGES - - * update all packages - - ### Features - - * [\`ba3537a\`](https://github.com/npm/npm-cli-release-please/commit/ba3537aac714f5e8c69afc215af5cfcb128433fb) update all packages (@lukekarrys) - ), - "patch": 0, - "path": "workspaces/pkg6", - "pkgName": "@npmcli/pkg6", - "prNumber": 269, - "publishTag": "prerelease-2017", - "sha": "23c64828b453bde72702a2d78286cd90f545d039", - "tagName": "pkg6-v2017.0.0-pre.1", - "uploadUrl": "https://uploads.github.com/repos/npm/npm-cli-release-please/releases/132694925/assets{?name,label}", - "url": "https://github.com/npm/npm-cli-release-please/releases/tag/pkg6-v2017.0.0-pre.1", - "version": "2017.0.0-pre.1", - }, -] -` diff --git a/test/release/release-please.js b/test/release/release-please.js index e1568f52..c33431c1 100644 --- a/test/release/release-please.js +++ b/test/release/release-please.js @@ -18,7 +18,7 @@ t.test('init', async t => { }).init()) }) -t.test('cases', async t => { +t.todo('cases', async t => { const execRepo = (cmd, opts) => execSync(cmd, { cwd: REPO_DIR, encoding: 'utf-8', ...opts }).trim()