From d2971946fc942f8ca6c2b7d8f54e7bed2364a638 Mon Sep 17 00:00:00 2001 From: ebarrios Date: Tue, 9 Feb 2021 17:12:11 +0100 Subject: [PATCH 1/3] Add package name to lockfile.ts error --- packages/cli/src/lib/versioning/Lockfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/lib/versioning/Lockfile.ts b/packages/cli/src/lib/versioning/Lockfile.ts index f567786b7c..f0867c6408 100644 --- a/packages/cli/src/lib/versioning/Lockfile.ts +++ b/packages/cli/src/lib/versioning/Lockfile.ts @@ -153,7 +153,7 @@ export class Lockfile { const acceptedVersion = versions.find(v => semver.satisfies(v, range)); if (!acceptedVersion) { throw new Error( - `No existing version was accepted for range ${range}, searching through ${versions}`, + `No existing version was accepted for range ${range}, searching through ${versions}, for package ${name}`, ); } From 9337f509dd5c3a8b4b235db7ce83f5ec0a4c01e7 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 9 Feb 2021 17:18:20 +0100 Subject: [PATCH 2/3] Create new-mangos-tap.md --- .changeset/new-mangos-tap.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/new-mangos-tap.md diff --git a/.changeset/new-mangos-tap.md b/.changeset/new-mangos-tap.md new file mode 100644 index 0000000000..1b57510417 --- /dev/null +++ b/.changeset/new-mangos-tap.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli': patch +--- + +Tweak error message in lockfile parsing to include more information. From 5e74f638ce02c38760e1298b7635f9393a1eb03b Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 11 Feb 2021 16:57:06 +0100 Subject: [PATCH 3/3] chore: add lockfile to words --- .github/styles/vocab.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/styles/vocab.txt b/.github/styles/vocab.txt index 2991a6babd..37bfd9af92 100644 --- a/.github/styles/vocab.txt +++ b/.github/styles/vocab.txt @@ -119,6 +119,7 @@ Kumar learnings lerna Lerna +lockfile Luxon magiclink mailto