Skip to content

A CLI tool to scaffold, build, and publish TypeScript libraries with ease — like flipping pancakes.

License

Notifications You must be signed in to change notification settings

pancakes-ui/pancakes-cli

🥞 Pancakes-cli

The TypeScript library toolkit — scaffold, build, and publish your packages like flipping pancakes.

🚀 Features

  • 🍳 Create TypeScript libraries in seconds
  • ⚙️ Comes with Rollup pre-configured
  • 📦 Generates tsconfig.json, package.json, and source templates
  • 📥 Installs dev dependencies automatically
  • 🚀 Publish to npm with versioning and tagging
  • 🧠 Interactive and beginner-friendly UX

📦 Installation

Install pancakes-cli with npm

npm install -g pancakes-cli
pancakes-cli

🏅 Badges

MIT License

npm

npm

npm

🛠️ Tech Stack

  • 🔷 TypeScript

  • 🟢 Node.js

  • 🔄 Rollup

  • 💬 Prompts (for interactivity)

  • 🎨 Colorette (for colored output)

  • ⏳ Nanospinner (for loading spinners)

  • 📥 Minimist (argument parsing)

🗺️ Roadmap

  • Test Framework Selection – multi-select: Jest / Vitest / Mocha / others

  • CI/CD Support – auto-generate GitHub Actions workflows for build & test

  • GitHub Repo Automation – create repo, init commit, auto release, tag, upload artifacts

  • Multiple Build Tool Support – tsup / rollup / esbuild (multi-select)

  • Interactive CLI Improvements – enhanced prompts, yes/no, multi-select options

  • Templates / Boilerplates – library / CLI / fullstack starter

  • Plugin System (Future) – allow users to add custom tasks or extensions

  • Changelog / Versioning Automation – semantic version bump, auto-generate changelog

Later Expansion (Post v2.0)

  • Framework-specific templates – React / Express / Next.js / Node.js microservices

  • Optional Testing Configs – preconfigured test setups for different frameworks

  • Optional Build/Publish pipelines – tailor workflow for frontend, backend, or fullstack projects

🚀 Run Locally

Clone the project

git clone https://github.com/pancakes-ui/pancakes-cli.git

Go to the project directory

cd pancakes-cli

Install dependencies

npm i

Start the server

npm start

🔧 Usage

After installing pancakes-cli globally, you can scaffold a new TypeScript library by running:

pancakes-cli

🤝 Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

🥞 About Me

undefined

📝 License

ISC

👩‍💻 Authors

💬 Support

For support, email [email protected]

About

A CLI tool to scaffold, build, and publish TypeScript libraries with ease — like flipping pancakes.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published