vadimdemedes / pastel

🎨 Next.js-like framework for CLIs made with Ink
https://term.ink/pastel
MIT License
2.2k stars 36 forks source link

Separate pastel into runtime library #37

Closed davej closed 1 year ago

davej commented 4 years ago

Currently, pastel needs to be added as a dependency which means that a lot of unnecessary sub-dependencies are bundled to end-users of our CLI.

Could pastel be separated into a runtime dependency that just does what's needed to boot the project and a devDependency for doing all the other stuff (Parcel/Babel etc.).

adam-lynch commented 4 years ago

Another option (than adding another package): cli.js could be compiled/bundled (like the commands are). I.e. the dependencies would be bundled in, rather than requiring pastel/boot (which requires the runtime dependencies). Then pastel could be in devDependencies.

vadimdemedes commented 1 year ago

Pastel 2.0 no longer provides its own build/watch/dev CLI and is just a runtime library 👍