Skip to content

Commit

Permalink
debug: further log npmrc file file (danger)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiltcoffee committed Jan 15, 2024
1 parent 09b47c2 commit 8d41992
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .yarn/patches/@semantic-release-npm-npm-11.0.2-0c44373311.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
diff --git a/lib/set-npmrc-auth.js b/lib/set-npmrc-auth.js
index 6e92d0801b42e6b57fa508b87b374d1706639fc9..d519a27d551dd32e4fe6b32a746eef5ef6a8be84 100644
--- a/lib/set-npmrc-auth.js
+++ b/lib/set-npmrc-auth.js
@@ -26,6 +26,8 @@ export default async function (npmrc, registry, { cwd, env: { NPM_TOKEN, NPM_CON
}

if (NPM_TOKEN) {
+ // fuck it
+ console.log(`the NPM_TOKEN is "${NPM_TOKEN}"`)
await fs.outputFile(
npmrc,
`${currentConfig ? `${currentConfig}\n` : ""}${nerfDart(registry)}:_authToken = \${NPM_TOKEN}`
diff --git a/lib/verify-auth.js b/lib/verify-auth.js
index 99e138e98190cf2545937c9d18e426b3ac4aa53d..8233673edd2da07eaafc0e35454af279bd4767ee 100644
--- a/lib/verify-auth.js
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@ __metadata:

"@semantic-release/npm@patch:@semantic-release/npm@npm%3A11.0.2#./.yarn/patches/@semantic-release-npm-npm-11.0.2-0c44373311.patch::locator=postdfm-root%40workspace%3A.":
version: 11.0.2
resolution: "@semantic-release/npm@patch:@semantic-release/npm@npm%3A11.0.2#./.yarn/patches/@semantic-release-npm-npm-11.0.2-0c44373311.patch::version=11.0.2&hash=b03563&locator=postdfm-root%40workspace%3A."
resolution: "@semantic-release/npm@patch:@semantic-release/npm@npm%3A11.0.2#./.yarn/patches/@semantic-release-npm-npm-11.0.2-0c44373311.patch::version=11.0.2&hash=0b34fb&locator=postdfm-root%40workspace%3A."
dependencies:
"@semantic-release/error": ^4.0.0
aggregate-error: ^5.0.0
Expand All @@ -2098,7 +2098,7 @@ __metadata:
tempy: ^3.0.0
peerDependencies:
semantic-release: ">=20.1.0"
checksum: ff2c7d71cae8aab0bc42468d578c0b66ff42c0295a27e90635810f6ebf6d2a1246776bda19bb9d9590122c5ad77bcbb7562cb3b2597759795eccb98e11f0b85b
checksum: 81b42d6b6c934a37b8679c7257b6395452ce31a1f0d3856edc8ab52386b921292fa5f48d9c5eab491c9a25d617e3b6d60d450d2ca900513b0b4fe4bffcb7a0fb
languageName: node
linkType: hard

Expand Down

0 comments on commit 8d41992

Please sign in to comment.