This release was largely focused on interoperability with the Node.js ecosystem, specifically package.json
scripts. It's the first step in many steps, so stay tuned!
🚀 Updates
- Added a special
noop
command for tasks. - Added a
moon migrate from-package-json
command for migratingpackage.json
scripts toproject.yml
tasks. - Added a
moon sync
command for manually syncing all projects in the workspace to a healthy state. - Added a
node.inferTasksFromScripts
setting to.moon/workspace.yml
, that will automatically infer tasks frompackage.json
scripts (with caveats). - Added aliases for popular commands:
moon r
->moon run
moon p
->moon project
moon pg
->moon project-graph
moon dg
->moon dep-graph
🐞 Fixes
- Fixed an issue where files being hashed with git were not being cached accordingly.
⚙️ Internal
- Runfiles are no longer cleaned up when running tasks.
- Reworked
package.json
andtsconfig.json
handling to avoid race conditions.