Skip to content

Commit 2ebb9bf

Browse files
committed
fix: workaround for npm oicd support
1 parent 616c342 commit 2ebb9bf

4 files changed

Lines changed: 48 additions & 3 deletions

File tree

.changeset/sharp-crabs-stand.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-virtual-masonry': patch
3+
---
4+
5+
patch for changeset cli

patches/@changesets__cli.patch

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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,

pnpm-lock.yaml

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ packages:
22
- docs
33
- demo
44
- package
5+
56
catalog:
67
'@types/react': ^19.2.7
78
'@types/react-dom': ^19.2.3
8-
typescript: ^5.9.3
99
react: ^19.1.4
1010
react-dom: ^19.1.4
11+
typescript: ^5.9.3
12+
1113
onlyBuiltDependencies:
1214
- esbuild
1315
- sharp
16+
17+
patchedDependencies:
18+
'@changesets/cli': patches/@changesets__cli.patch

0 commit comments

Comments
 (0)