You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add postinstall script to build shakapacker from GitHub branch
When installing shakapacker from a GitHub branch, the TypeScript source
needs to be compiled. Added a postinstall script that:
1. Detects if shakapacker was installed from source (has .ts but no .js files)
2. Installs shakapacker's dev dependencies
3. Runs the build script to compile TypeScript to JavaScript
This ensures the package is properly built even when installed directly
from GitHub instead of npm.
Also updated shakapacker reference to use explicit github: prefix for clarity.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments