Chore/DX: move from make to JS-based taskrunner
See original GitHub issueGiven the higher barrier for contribution for Windows users introduced by us using make
, we should explore moving to a JS-based taskrunner. WSL should be the silver bullet for this, but I haven’t been able to get lerna bootstrap
run in WSL (and it looks like I’m not the only one).
My initial exploration is here, but some tests are failing and I think it’s due to the fact that shelljs
doesn’t preserve colors in the output of running shell commands.
Some other alternatives:
- Modify the current
shelljs
PR and switch outshelljs.exec()
for something like node-cross-spawn or execa. - Go all in on Gulp
- Use something like Just
Would love to hear others’ opinions on this! 😃
Follow-up question:
We use a lot of shell scripts in the dev build process that don’t work natively in Windows. Should we also rewrite these in JS?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:10 (9 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kaicataldo found it here https://github.com/lerna/lerna/pull/806
Yes, please! I’m not partial about them being in JS, but they should IMO be cross-platform, so there are other options like PowerShell or something. But JS feels like the best choice given the project itself is written in it.