metro-cache 0.82.5 (nested under metro 0.82.5) imports metro-core/src/canonicalize directly. Top-level metro-core 0.83.3 has restrictive exports map that blocks this. Pnpm patch adds ./src/* to exports while preserving the existing ./private/* path. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
417 B
Diff
15 lines
417 B
Diff
diff --git a/package.json b/package.json
|
|
index 56847375ce7ba936f4a604b66faad24242677abf..db49d1d51d6dca996e61d03b80d383acaf36e046 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -6,7 +6,8 @@
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./package.json": "./package.json",
|
|
- "./private/*": "./src/*.js"
|
|
+ "./private/*": "./src/*.js",
|
|
+ "./src/*": "./src/*.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|