In this small release, we're improving our task inheritance and performance.
Task inheritance based on project tags
In v0.23 we introduced scoped task inheritance by project type/language, and in v1.0 we introduced project tagging, but what if we combined both of these features? In this release, you can now define workspace-level tasks by tag that'll be inherited by all projects with that tag.
And then create a new tasks configuration at
.moon/tasks/tag-astro.yml with the following
# Development server
command: 'astro dev'
# Production build
command: 'astro build'
# Check .astro files
command: 'astro check'
# Preview production build locally
command: 'astro preview'
Each of these Astro applications will now inherit all 5 tasks and the file group automatically! This helps to greatly reduce maintenance overhead and help enforce consistency across projects. Jump to the official task inheritance docs for more information on tag based inheritance.
View the official release for a full list of changes.
- Upgraded to proto v0.6.
- Improvements to file system operations.
- Minor improvements to performance.