moon

A task runner and repo management tool for the web ecosystem, written in Rust.

MIT License

Downloads
294.4K
Stars
2.6K
Committers
50

Bot releases are visible (Hide)

moon - v1.15.3

Published by github-actions[bot] 12 months ago

🐞 Fixes

  • Fixed an issue where interactive/persistent flags weren't always bubbled up the the task runner.

⚙️ Internal

  • Updated to proto v0.20.
moon - v1.15.2

Published by github-actions[bot] about 1 year ago

🚀 Updates

  • Updated moon run --interactive to allow more than 1 target.

🐞 Fixes

  • Fixed an issue where "raw" codegen files were sometimes being rendered, and failing with invalid
    syntax.
  • Fixed an issue where task dependents for the non-primary targets were being included in the action
    graph.
  • Fixed an issue with the project graph that would create duplicate nodes for deeply nested cycles.
  • Fixed an issue where a cycle would be created in the action graph for the SyncProject action
    type.
moon - Nightly

Published by github-actions[bot] about 1 year ago

This nightly release corresponds to the commit [2ef0752ff202eaaa9d08f2c8a4f1ec2823e0e598].

moon - v1.15.1

Published by github-actions[bot] about 1 year ago

🚀 Updates

  • Based on feedback, we've updated the automatic dependency linking to not apply when the target
    is the root-level project. This should alleviate all unwanted cycles.

🐞 Fixes

  • Fixed an issue where Node.js dependency syncing would fail on build dependencies, and be over
    zealous with root-level projects.
  • Improved detection of Rust cargo-binstall package.
moon - v1.15.0

Published by github-actions[bot] about 1 year ago

💥 Breaking

  • Tasks that depend (via deps) on other tasks from arbitrary projects (the parent project doesn't
    implicitly or explicitly depend on the other project) will now automatically mark that other
    project as a "peer" dependency.

🎉 Release

  • Rewrote the dependency graph from the ground-up:
    • Now known as the action graph.
    • All actions now depend on the SyncWorkspace action, instead of this action running arbitrarily.
    • Cleaned up dependency chains between actions, greatly reducing the number of nodes in the graph.
    • Renamed RunTarget to RunTask, including interactive and persistent variants.
  • Updated the action graph to process using a topological queue, which executes actions on-demand in
    the thread pool when they are ready (dependencies have been met). Previously, we would sort
    topologically into batches, which worked, but resulted in many threads uselessly waiting for an
    action to run, which was blocked waiting for the current batch to complete.
    • For large graphs, this should result in a significant performance improvement.
    • Persistent tasks will still be ran as a batch, but since it's the last operation, it's fine.
  • Released a new GitHub action, moonrepo/setup-toolchain, that replaces both setup-moon-action and setup-proto.

🚀 Updates

  • Added a moon action-graph command.
  • Added a --dependents argument to moon action-graph.
  • Added the ability to skip non-RunTask actions using environment variables.
  • Deprecated the moon dep-graph command.

🐞 Fixes

  • Fixed an issue where task dependents (via moon ci or moon run --dependents) wouldn't always
    locate all downstream tasks.

⚙️ Internal

  • Added in-memory caching to project graph file system lookup operations.
  • Updated Rust to v1.72.
moon - v1.14.5

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Temporarily fixed the "A dependency cycle has been detected for (unknown)" issue.
  • Fixed an issue where Git hooks were not created properly when using Git worktrees.
  • Fixed a panic when attempting to clean/parse a JSON string.
moon - v1.14.4

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Fixed an issue where moon docker scaffold was too greedy and would copy files it shouldn't.
  • Fixed some PATH inconsistencies when executing npm/pnpm/yarn binaries.
  • Fixed codegen lower_case and upper_case stripping characters.
moon - v1.14.3

Published by github-actions[bot] about 1 year ago

🚀 Updates

  • Updated moon dep-graph to support a task in closest project, similar to moon run.
  • Updated to proto v0.19.

🐞 Fixes

  • Fixed an issue where local tasks could not extend global tasks using the extends setting.
moon - v1.14.2

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Fixed an issue where non-YAML files in .moon/tasks would be parsed as YAML configs.
  • Fixed an issue where arguments were not passed to generated Git hooks.
  • Fixed an issue where moonbase would fail to sign in in CI.
  • Fixed an issue where a root project with aliases, that has self referential tasks, would trigger a stack overflow error.
moon - v1.14.1

Published by github-actions[bot] about 1 year ago

moon - v1.14.0

Published by github-actions[bot] about 1 year ago

🚀 Updates

  • Added a moon run shorthand, where "run" can be omitted. For example, moon run app:build can be
    written as moon app:build.
    • This only works for targets that contain a :.
  • Updated moon ci to support running an explicit list of targets, instead of running everything.
  • Updated node.version, npm.version, pnpm.version, yarn.version, and rust.version to
    support partial versions and requirements/ranges like 1.2, 1, or ^1.2.
  • Updated .moon/tasks to support nested folders, for better organization of task files.

⚙️ Internal

  • Improved handling of certificates and proxies.
  • Updated to proto v0.18.
moon - v1.13.5

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Fixed an issue where the projectName query would not work correctly.
moon - v1.13.4

Published by github-actions[bot] about 1 year ago

⚙️ Internal

  • Updated to proto v0.17.
moon - v1.13.3

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Fixed an issue where tool globals directory was not being correctly located.
  • Fixed a panic when using the rust toolchain and attempting to install bins.
moon - v1.13.2

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Fixed an issue where pnpm or yarn would panic based on configuration combination.
moon - v1.13.1

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Fixed an issue where tasks depending on arbitrary project tasks would fail to build a partial
    project graph.
  • Fixed an issue where task deps within global tasks would not apply exclude/rename overrides.
  • Fixed an issue with asset/binary files not working correctly with codegen templates.
  • Fixed an issue where moon upgrade would require a workspace.
moon - v1.13.0

Published by github-actions[bot] about 1 year ago

🚀 Updates

  • Added an allowFailure task option, allowing tasks to fail without bailing the entire run.
    • Tasks allowed to fail cannot be depended on.
  • Added colors to command line --help menus.
  • Updated runner.archivableTargets to support tag scoped targets.
  • Updated moon query tasks to filter out projects with no tasks.
  • Updated moon query tasks --affected to filter based on affected task, instead of affected
    project.
  • Updated proto integration from v0.12 to v0.16:
    • proto tools are now powered by WASM plugins, which will be downloaded by moon on-demand.
    • Yarn v2+ will now download the requested version, and not downgrade to latest v1.
    • Please report any issues or degradations from this migration.
    • View entire proto changelog.

🐞 Fixes

  • Fixed moon init not using the remote default branch when scaffolding.

⚙️ Internal

  • Cleaned up moonbase and launchpad implementations.
  • Updated Rust to v1.72.
moon - v1.12.1

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Improved failed task error messages by including information about the failing task.
  • Fixed an issue where failed tasks would be cached.
  • Fixed an issue where errors lost information while bubbling up the stack.
moon - v1.12.0

Published by github-actions[bot] about 1 year ago

🚀 Updates

  • Added git worktree support (experimental).
  • Added an interactive field to task options. This marks tasks as interactive, so they can use stdin.
  • Added an extends field to task configurations. This allows tasks to extend and inherit settings from sibling tasks.
  • Updated task env values to support token functions and variables.
  • Updated task outputs to support negated globs.
  • Will now log a warning to the console if a configuration file uses the .yaml extension.

🐞 Fixes

  • Fixed an issue where moon ci would not run affected targets based on touched files.

⚙️ Internal

  • Improved caching and hashing layers.
moon - v1.11.1

Published by github-actions[bot] about 1 year ago

🐞 Fixes

  • Fixed an issue where tasks using output globs would not always hydrate from the cache.
Package Rankings
Top 3.41% on Npmjs.org
Badges
Extracted from project README
Contributors