Commit 765acf4
chore: add pnpm override for dargs to fix bump command
The bump command was failing with "TypeError: dargs is not a function"
due to a CommonJS/ESM module incompatibility. The issue occurs because:
- [email protected] (used by lerna) is CommonJS and requires [email protected]
- pnpm's hoisting was resolving to [email protected] (pure ESM) instead
- CommonJS require() cannot load pure ESM modules, causing the error
This adds a pnpm override to force [email protected] for git-raw-commits,
ensuring the correct CommonJS-compatible version is used.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent b58a1bc commit 765acf4
2 files changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments