From 46cf2e70fbc75dfceb0f94a751911250b82967e8 Mon Sep 17 00:00:00 2001 From: spiltcoffee Date: Sun, 14 Jan 2024 23:23:42 +1100 Subject: [PATCH] debug: further log npmrc file file (danger) --- .../@semantic-release-npm-npm-11.0.0-d769971ffe.patch | 7 ++++--- yarn.lock | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.yarn/patches/@semantic-release-npm-npm-11.0.0-d769971ffe.patch b/.yarn/patches/@semantic-release-npm-npm-11.0.0-d769971ffe.patch index 9f09f1e8..19a97194 100644 --- a/.yarn/patches/@semantic-release-npm-npm-11.0.0-d769971ffe.patch +++ b/.yarn/patches/@semantic-release-npm-npm-11.0.0-d769971ffe.patch @@ -2,14 +2,15 @@ diff --git a/lib/verify-auth.js b/lib/verify-auth.js index 99e138e98190cf2545937c9d18e426b3ac4aa53d..6b04182ae9f2d294af14bbf17776141965276e6c 100644 --- a/lib/verify-auth.js +++ b/lib/verify-auth.js -@@ -16,6 +16,11 @@ export default async function (npmrc, pkg, context) { - +@@ -16,6 +16,12 @@ export default async function (npmrc, pkg, context) { + await setNpmrcAuth(npmrc, registry, context); - + + const catResult = execa("cat", [npmrc]) + catResult.stdout.pipe(stdout, {end: false}); + catResult.stderr.pipe(stderr, {end: false}); + await catResult; ++ console.log(catResult); + if (normalizeUrl(registry) === normalizeUrl(DEFAULT_NPM_REGISTRY)) { try { diff --git a/yarn.lock b/yarn.lock index a0107c50..d8c75214 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2104,7 +2104,7 @@ __metadata: "@semantic-release/npm@patch:@semantic-release/npm@npm%3A11.0.0#./.yarn/patches/@semantic-release-npm-npm-11.0.0-d769971ffe.patch::locator=postdfm-root%40workspace%3A.": version: 11.0.0 - resolution: "@semantic-release/npm@patch:@semantic-release/npm@npm%3A11.0.0#./.yarn/patches/@semantic-release-npm-npm-11.0.0-d769971ffe.patch::version=11.0.0&hash=56c3c2&locator=postdfm-root%40workspace%3A." + resolution: "@semantic-release/npm@patch:@semantic-release/npm@npm%3A11.0.0#./.yarn/patches/@semantic-release-npm-npm-11.0.0-d769971ffe.patch::version=11.0.0&hash=de70b4&locator=postdfm-root%40workspace%3A." dependencies: "@semantic-release/error": ^4.0.0 aggregate-error: ^5.0.0 @@ -2121,7 +2121,7 @@ __metadata: tempy: ^3.0.0 peerDependencies: semantic-release: ">=20.1.0" - checksum: 8dc49349d120a5eaad9e3157df4806ed01a2d1aefe0d321fe4ae1e602f8cd594e1db4b1342659235f5dfa02eb392cbd12e2a08f7780c5056cdfc6f70ee2a0734 + checksum: 885153b27e455ba2e43105b1e1eac90ea8cb1d764d3400d21ba8f07ccbf49bcbaf4b461711b7adf1e2534b26ba9c2af2fbf2d288f9dca69df0f8df6e4e37a6ec languageName: node linkType: hard