|
| 1 | +diff --git a/dist/changesets-cli.cjs.js b/dist/changesets-cli.cjs.js |
| 2 | +index 0f03e31068a5a7f77ef03ee97684d7f4d5136367..d7007c613c70dd51a8b73e584fb413054b431f20 100644 |
| 3 | +--- a/dist/changesets-cli.cjs.js |
| 4 | ++++ b/dist/changesets-cli.cjs.js |
| 5 | +@@ -762,7 +762,9 @@ async function internalPublish(packageJson, opts, twoFactorState) { |
| 6 | + // Due to a super annoying issue in yarn, we have to manually override this env variable |
| 7 | + // See: https://github.com/yarnpkg/yarn/issues/2935#issuecomment-355292633 |
| 8 | + const envOverride = { |
| 9 | +- [scope ? `npm_config_${scope}:registry` : "npm_config_registry"]: registry |
| 10 | ++ [scope ? `npm_config_${scope}:registry` : "npm_config_registry"]: registry, |
| 11 | ++ // Don't pass through any npm auth tokens so that we use trusted publishers |
| 12 | ++ NODE_AUTH_TOKEN: "" |
| 13 | + }; |
| 14 | + let { |
| 15 | + code, |
| 16 | +diff --git a/dist/changesets-cli.esm.js b/dist/changesets-cli.esm.js |
| 17 | +index 1946941b0b876b6f90d25c613696a8e151b726c4..c021d21c9054f6c12ef9d3ba869cc9e4b8217f29 100644 |
| 18 | +--- a/dist/changesets-cli.esm.js |
| 19 | ++++ b/dist/changesets-cli.esm.js |
| 20 | +@@ -724,7 +724,9 @@ async function internalPublish(packageJson, opts, twoFactorState) { |
| 21 | + // Due to a super annoying issue in yarn, we have to manually override this env variable |
| 22 | + // See: https://github.com/yarnpkg/yarn/issues/2935#issuecomment-355292633 |
| 23 | + const envOverride = { |
| 24 | +- [scope ? `npm_config_${scope}:registry` : "npm_config_registry"]: registry |
| 25 | ++ [scope ? `npm_config_${scope}:registry` : "npm_config_registry"]: registry, |
| 26 | ++ // Don't pass through any npm auth tokens so that we use trusted publishers |
| 27 | ++ NODE_AUTH_TOKEN: "" |
| 28 | + }; |
| 29 | + let { |
| 30 | + code, |
0 commit comments