Skip to content

Commit 2878aff

Browse files
committed
fix: add prepack script to build dist for git deps
Yarn 3 runs prepack before packing git dependencies. Without this, installing from a git branch produces a package without dist/, causing ERR_MODULE_NOT_FOUND for all exports. Made-with: Cursor
1 parent 4b683ad commit 2878aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,5 @@
121121
"typescript-eslint": "^8.48.1",
122122
"zx": "^8.8.5"
123123
},
124-
"packageManager": "yarn@3.8.7"
124+
"packageManager": "yarn@3.8.7+sha512.bbe7e310ff7fd20dc63b111110f96fe18192234bb0d4f10441fa6b85d2b644c8923db8fbe6d7886257ace948440ab1f83325ad02af457a1806cdc97f03d2508e"
125125
}

0 commit comments

Comments
 (0)