Description:
Let users run npx create-taco-app my-app instead of installing the Go binary manually.
How it works:
The npm package downloads the prebuilt Go binary on install and forwards commands to it.
Steps:
- Create npm package structure under packages/create-taco-app/
- Write postinstall.js — downloads the correct binary from GitHub Releases based on user's OS/arch
- Write create-taco-app.js — runs taco init with forwarded args
- Add GitHub Actions workflow to cross-compile Go binaries and upload as release assets on tagged
releases
- Publish create-taco-app to npm
Description:
Let users run npx create-taco-app my-app instead of installing the Go binary manually.
How it works:
The npm package downloads the prebuilt Go binary on install and forwards commands to it.
Steps:
releases