Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use Bridgetown CLI directly instead of Yarn #280

Closed
jaredcwhite opened this issue Apr 6, 2021 · 2 comments
Closed

feat: use Bridgetown CLI directly instead of Yarn #280

jaredcwhite opened this issue Apr 6, 2021 · 2 comments
Milestone

Comments

@jaredcwhite
Copy link
Member

jaredcwhite commented Apr 6, 2021

I put a question mark at the end there because I'm not entirely sold on the idea myself, but I've been musing on the idea of making the bridgetown command itself handle the common use cases we're currently relying on yarn to do. Think:

  • bridgetown start (or dev)
  • bridgetown deploy
  • bridgetown frontend:compile
  • etc.

I also did a personal hackathon a couple of days ago to try out Rake/Roda and in the processes essentially recreated Concurrently/Foreman/etc. in order to run multiple processes in parallel from a single Ruby script (Bridgetown watch, Webpack, and Browsersync). I like the idea of removing dependencies there and handling all the processes directly. It's true yarn has a lot of institutional awareness already and it's easy to tweak and add your own scripts in package.json. On the other hand…we're a Ruby tool, so why are using Yarn instead of Rake?

@jaredcwhite
Copy link
Member Author

Earlier today prototyped bridgetown handling Rakefile tasks just like how rails does these days, and it's pretty nifty…thinking it might be the right call to move in that direction.

@jaredcwhite jaredcwhite changed the title feat: use Bridgetown CLI directly instead of Yarn? feat: use Bridgetown CLI directly instead of Yarn Apr 8, 2021
@jaredcwhite jaredcwhite added this to the 0.22 "TBD" milestone Apr 16, 2021
@jaredcwhite jaredcwhite modified the milestones: 0.22, 1.0 Sep 24, 2021
@jaredcwhite
Copy link
Member Author

bin/bridgetown start etc. has been merged into v1.0 alpha. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant