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.28.1 Latest Release

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

🚀 Updates

  • Added caching around bun bun.lockb commands, instead of running them for every task.
  • Updated and loosened identifier naming restrictions.
  • Updated environment variable substitution to support different outputs when a variable is missing,
    based on a trailing flag syntax.
    • $FOO or ${FOO} - If variable is missing, keeps the original syntax (current default).
    • $FOO? or ${FOO?} - If variable is missing, replaces with an empty string.
    • $FOO! or ${FOO!} - Ignores variable substitution and preserves the syntax (without !).

🐞 Fixes

  • Fixed an issue where an affected task with files that contain non-standard characters would fail
    to run because Bash expansion fails. We now quote file paths that contain *, $, +, and [].

⚙️ Internal

  • Updated Rust to v1.81.
moon - v1.28.0

Published by github-actions[bot] about 2 months ago

💥 Breaking

  • Extensions (WASM plugins) must implement the register_extension API. All built-in extensions
    have been updated.

🚀 Updates

  • Resolved the actionPipelineV2 experiment and the new pipeline is now always enabled. The old
    pipeline code has been deleted. If you run into any problems, please report an issue!
  • Resolved the strictProjectAliases experiment and enabled its functionality going forward.
  • Added a preset task setting, that enables a collection of task options.
    • Will be replacing the local setting, which is now deprecated.
  • Added an os task option, which allows a specific operating system to be targeted for the task.
  • Added a @meta token function that can access project metadata.
  • Added $projectName, $projectChannel, and $projectOwner token variables.
  • Added codeowners.requiredApprovals setting to .moon/workspace.yml, that will apply
    requirements to all paths.
  • Added a new experiment disallowRunInCiMismatch, that errors when a task that is runInCI
    enabled depends on a task that is runInCI disabled. These kinds of relationships cause a handful
    of issues in the pipeline.
    • Currently this only applies to moon ci and may also apply to moon run in the future.
  • Updated the terminal checkpoint (4 squares) colors to better reflect their state.
    • Cached tasks continue to be blue, but non-cached but successful tasks are now green.
    • Announcements are now yellow.
  • Updated MOON_TOOLCHAIN_FORCE_GLOBALS to support filtering by tool IDs, instead of applying to
    everything.

⚙️ Internal

  • We've sunset the CI insights feature in moonbase. We will no longer be tracking CI run history.
    This is a retroactive change that applies to all moon versions.
  • Updated proto to v0.40.4 (from v0.39.7).
moon - v1.27.10

Published by github-actions[bot] about 2 months ago

🐞 Fixes

  • Fixed an issue around running dependents when a dependency is affected in CI.
moon - v1.27.9

Published by github-actions[bot] about 2 months ago

🐞 Fixes

  • Fixed a regression where the "primary target" detection would include far too many targets. This
    would result in passthrough arguments being unintentionally passed deeper.
  • Fixed a regression where dependent tasks would always run in CI.
moon - v1.27.8

Published by github-actions[bot] 2 months ago

🚀 Updates

  • We now log messages when inheriting values from the root .prototools.

🐞 Fixes

  • Fixed a panic that occurs in the action graph builder.
  • Fixed an issue where the root .prototools wasn't always loaded.
moon - v1.27.7

Published by github-actions[bot] 2 months ago

🐞 Fixes

  • Fixed an issue where codeowners requiredAppprovals wouldn't allow 1.
  • Fixed an issue where a task that depends on another task that has runInCI: false, would not run
    as affected in moon ci because the dependency task was skipped.
moon - v1.27.6

Published by github-actions[bot] 2 months ago

📢 Notice

There have been reports of the moon.exe binary being flagged as a Trojan on Windows. This looks to
be a common false positive (Wacatac.B!ml) that targets Rust built binaries (as seen in the
Tauri project as well).

While this isn't a simple fix on our end, we're publishing a new binary to replace the old one. You
may also have to unquarantine moon on your system. And lastly, we also suggest
adding an exclusion for moon.exe to Windows Defender.

⚙️ Internal

  • Updated proto to v0.39.7 (from v0.38.3).
  • Updated Rust to v1.80.
  • Updated dependencies.
moon - v1.27.5

Published by github-actions[bot] 3 months ago

🐞 Fixes

  • Fixed an issue where token expansion would clobber variable replacement when multiple variables
    are used.
  • Fixed internal tasks being displayed in moon query results.
moon - v1.27.4

Published by github-actions[bot] 3 months ago

🐞 Fixes

  • Fixed an issue where moon docker scaffold would not respect .gitignore files.
  • Fixed an issue where task hashing would potentially hash too many files when extracting touched
    files from git status.
  • Fixed an issue where the automatic dependency installation wasn't triggering when switching
    branches.
moon - v1.27.3

Published by github-actions[bot] 3 months ago

🚀 Updates

  • Added project.metadata to moon.yml so that custom fields can be defined.
  • Improved some task related error messages to include more information.

🐞 Fixes

  • Fixed an issue where the new action pipeline wouldn't wait for in-flight moonbase (remote caching)
    requests to finish. The old pipeline was not affected.
  • Fixed @in and @out tokens not being able to reference other token functions.
moon - v1.27.2

Published by github-actions[bot] 3 months ago

🐞 Fixes

  • Fixed an issue where file groups expanded within task script or env weren't resolving relative
    to the project or workspace root (based on options).

⚙️ Internal

  • Updated proto to v0.38.3 (from v0.38.2).
moon - v1.27.1

Published by github-actions[bot] 3 months ago

🚀 Updates

  • Removed the concurrency limit when running persistent tasks.

🐞 Fixes

  • Fixed an issue where task scripts would error with "command not found" (caused by over
    escaping/quoting).
  • Fixed an issue where a persistent task may not run or error with a missing dependency hash, if ran
    alongside many other persistent tasks.
  • Fixed an issue where "build" dependencies were being synced as project references.
  • Fixed an issue where the install depenencies action wouldn't run if the vendor directory
    (node_modules) was missing, but our operation was previously cached.
  • Fixed an issue where token variables were not being replaced in task scripts.
moon - v1.27.0

Published by github-actions[bot] 3 months ago

🚀 Updates

  • Enabled the experiments.actionPipelineV2 setting in .moon/workspace.yml by default.
    • If you run into any issues running tasks, disable this setting and report an issue.
  • Added a new task field script, as an alternative to command + args.
    • Scripts support multiple commands (&&), pipes, and redirects.
    • Scripts do not support task inheritance argument merging.
    • Scripts are always ran in a shell.
  • Added a new command, moon docker file, that can be used to generate an initial multi-stage
    Dockerfile for a project.
  • Added new docker settings to both .moon/workspace.yml and moon.yml, allowing it to be
    configured at the workspace and project levels.
  • Added support for murex shells.
    • Updated both unixShell and windowsShell task options.
  • Improved the "automatically install dependencies if a manifest/lockfile has changed" flow. This
    should trigger less than before.
  • We now generate JSON schemas for our configuration files to .moon/cache/schemas, so that they
    can be dynamically created based on the current moon version and environment.
    • Is automatically generated when running a task.
    • Added a moon sync config-schemas command to manually run this operation.
  • When writing JSON and YAML files, we attempt to write back to the file with its original
    indentation.

🐞 Fixes

  • Fixed action operations not being present in the run report when a task fails to run.
  • Fixed stdout/stderr not being included in the summary review of failed tasks.

🧰 Toolchain

  • Node
    • Added a node.syncPackageManagerField setting, to control the packageManager field in
      package.json.
  • Yarn
    • Will no longer call yarn set version and instead rely entirely on proto's toolchain.

⚙️ Internal

  • Updated proto to v0.38.2 (from v0.37.2).
moon - v1.26.7

Published by github-actions[bot] 3 months ago

🚀 Updates

  • Updated bun.installArgs and node.bun.installArgs to stay in sync.

🐞 Fixes

  • Fixed moon run --affected not auto-installing dependencies in CI.
  • Fixed an issue where the project graph cache would not invalidate based on certain environment
    variables.
  • Fixed an issue where our console would be prematurely dropped, causing output flushing issues.
moon - v1.26.6

Published by github-actions[bot] 4 months ago

🐞 Fixes

  • Fixed a regression where pwsh.exe would not fallback to powershell.exe when the former does
    not exist.
  • Respect CARGO_HOME during automatic rustup installation.
moon - v1.26.5

Published by github-actions[bot] 4 months ago

🚀 Updates

  • Updated home-based environment variables, like CARGO_HOME, to support relative paths.

🐞 Fixes

  • Fixed an issue where globs wouldn't match when leading with ./.

⚙️ Internal

  • Updated proto to v0.37.2 (from v0.37.1).
moon - v1.26.4

Published by github-actions[bot] 4 months ago

🐞 Fixes

  • Fixed an issue where the shell could not be detected, and would potentially hang.
moon - v1.26.3

Published by github-actions[bot] 4 months ago

🐞 Fixes

  • Potential fix for a deadlock that occurs when running moon docker scaffold.
  • Reverted the default shell back to sh instead of bash when one could not be detected.
moon - v1.26.2

Published by github-actions[bot] 4 months ago

🐞 Fixes

  • Fixed the ciReport.json file not being created with the experimental pipeline.
  • Fixed the wrong version being displayed in --version and in logs.

⚙️ Internal

  • Downgraded WASM runtime to fix potential issues.
moon - v1.26.1

Published by github-actions[bot] 4 months ago

🐞 Fixes

  • Re-released because of an npm version mismatch issue.
Package Rankings
Top 3.41% on Npmjs.org
Badges
Extracted from project README
Contributors