Skip to content

Commit d6d0316

Browse files
mikolalysenkoclaude
andcommitted
Add prepare script to build on install
Adds a prepare script that runs tsc automatically after pnpm install. This ensures the dist/ folder is built before any workspace dependencies try to import from the package, fixing CI build errors. The prepare script runs automatically during: - pnpm install (in CI and locally) - Before publishing to npm 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 6c59c0f commit d6d0316

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
}
3232
},
3333
"scripts": {
34+
"prepare": "tsc",
3435
"build": "tsc",
3536
"dev": "tsc --watch",
3637
"patch": "node dist/cli.js",

0 commit comments

Comments
 (0)