💥 Breaking
- Task outputs are now cached as
.tar.gz
archives, instead of being copied as-is. This shouldn't
affect consumers, but we're raising awareness in case of any platform specific issues. - Renamed the project-level
project.yml
file tomoon.yml
. The.moon/project.yml
file has not
changed.
🚀 Updates
- Projects now support language specific aliases, which can be used as a drop-in replacement for
names within targets and dependencies. - Project and tasks names now support forward slashes (
/
). - Added a
node.aliasPackageNames
setting to.moon/workspace.yml
, that aliases thepackage.json
name to the respective project. - Added an experimental
outputStyle
option to tasks, providing some control of how stdout/stderr
is handled. - Added a
runDepsInParallel
option to tasks, that controls whether task dependencies run in
parallel or serial (in order). - Updated tasks to automatically detect their
type
(when undefined) based on their defined
command
. Will attempt to match against common system commands, likerm
,mkdir
, etc. - When in CI, Node.js will not install dependencies if they were already installed before moon runs.
This should avoid unintentional and unnecessary double installs. - Updated default versions of tools:
- node 16.15.0 -> 16.16.0
- npm 8.10.0 -> 8.16.0
- pnpm 7.1.5 -> 7.9.0
- yarn 3.2.1 -> 3.2.2
🐞 Fixes
- Fixed some issues where task outputs were not being hydrated based on the state of the
target/project. - Fixed an issue where task outputs were not considered for hash generation.