With this release, we're bringing further improvements to tags and MQL.
Run targets by tag with
We love our community, as you all continuously suggest new and awesome features that haven't crossed
our minds. One such feature was the ability to run tasks for all projects with a tag,
suggested by @theoephraim, which is now possible with
the new tag scope,
As an example, we can easily lint all projects that have the
$ moon run '#frontend:lint'
#is special syntax and denotes a comment, the target will need to be quoted to work correctly!
moon query commands to support MQL
Last week we announced MQL, a custom query language for
applying filters to moon's project graph, primarily through the
command. We plan to slowly integrate MQL throughout moon as it provides an easy to use API, and an
overall better developer experience.
# Find all projects with a `lint` or `build` task
$ moon query projects "task=[lint,build]"
# Find all tasks with an id that starts with "dev"
$ moon query tasks "task~dev-*"
moon project's support the concept of aliasing, where
language/ecosystem specific names are used alongside moon's. For example, the
name field from
package.json. However, aliasing was off by default for Node.js projects and had to be explicitly
enabled with the
In an effort to streamline moon adoption for Node.js codebases, we're deprecating that setting, and
instead will now always inherit the
package.json name as an alias. For example, if you're package
@company/utils, you can now run a target like so:
$ moon run @company/utils:build
This setting is now a no-op and can be removed from your configuration.
View the official release for a full list of changes.
- Upgraded to proto v0.8.