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
feat: add npx compatibility with Node.js build target
Add build step that compiles TypeScript to Node.js-compatible JavaScript,
enabling both `bunx pgai` and `npx pgai` to work. Users without Bun installed
can now use the CLI via npx with Node.js runtime.
- Add bun build with --target node for Node.js compatibility
- Update shebang replacement in build script
- Fix path resolution for SQL templates in init.ts
- Update pgai wrapper to detect .ts vs .js and use appropriate runtime
0 commit comments