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.3.1

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

🐞 Fixes

  • Fixed a few issues during input hashing:
    • Would attempt to include deleted files from git status, which would log a warning.
    • Would attempt to hash directories for root-level projects, which would log a warning.

⚙️ Internal

  • Upgraded to proto v0.7.2.
moon - v1.3.0

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

🚀 Updates

  • Introducing MQL, a custom query language for running advanced filters on the project graph.
  • Added a --query option to the moon run command, allowing for advanced targeting.
  • Updated config loading to be strict and error on unknown fields for non-root fields.

🐞 Fixes

  • Fixed an issue where proto would fail to parse manifest.json.

⚙️ Internal

  • Updated Rust to v1.69.
  • Improved accuracy of our globbing utilities, especially around dotfiles/dotfolders.
moon - v1.2.2

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

🚀 Updates

  • Added node_modules/.bin/moon as another lookup location for the moon binary when running
    globally.

🐞 Fixes

  • Fixed an issue where running tasks were not killed, resulting in background zombie processes.
  • Fixed a few version comparisons between Yarn legacy and berry.
  • Updated dependency deduping to not run if the manager version is unknown.
moon - v1.2.1

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

🐞 Fixes

  • Fixed an issue where $projectAlias token was not substituting correctly.
moon - v1.2.0

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

🚀 Updates

  • Added task inheritance based on tags in the form of .moon/tasks/tag-<name>.yml.

🐞 Fixes

  • Fixed an issue where setting MOON_COLOR would fail validation.

⚙️ Internal

  • Upgraded to proto v0.6.
  • Improvements to file system operations.
  • Minor improvements to performance.
moon - v1.1.1

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

🐞 Fixes

  • Fixed an issue where token function resolving would cause massive performance degradation.
moon - v1.1.0

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

🚀 Updates

  • Added token variable substitution support for task commands.
  • Added a moon task command, for viewing resolved information about a task.
  • Updated moon run to be able to run tasks in the closest project based on current working
    directory.
  • Updated noop tasks to be cacheable, so that they can be used for cache hit early returns.

⚙️ Internal

  • Support pnpm v8's new lockfile format.
  • Better handling for task's that execute the moon binary.
moon - v1.0.3

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

🚀 Updates

  • Added hasher.batchSize to control the number of files to be hashed per batch.
  • Updated new version checks to include an optional message.

🐞 Fixes

  • Fixed an issue where non-input matching files were being passed to git hash-object during the
    inputs collection process. For large projects, you'll see improved performance.
  • Fixed an issue where root-level input globs were not matching correctly when hasher.walkStrategy
    was "vcs".
  • Fixed a deadlock where some concurrent tasks via a parent noop task would not start or run in
    parallel.

⚙️ Internal

  • Upgraded to proto v0.4.
  • Switched to a semaphore for restricting task concurrency.
moon - v1.0.2

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

🐞 Fixes

  • Fixed an issue where moon run or moon check would hang when not running in a workspace.
  • Fixed an issue where workspace root finding will locate ~/.moon.
moon - v1.0.1

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

🐞 Fixes

  • Updated envFile to log a warning instead of triggering an error when .env is missing.
  • Updated envFile to support workspace relative paths when prefixed with /.
  • Fixed an issue where .moon/tasks/*.yml were not scaffolded into Dockerfiles.
  • Fixed an issue where a CI environment wasn't detected for some CI providers.
  • Fixed a project cache issue when running tasks inside and outside of a container.
moon - v1.0.0

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

💥 Breaking

  • Updated the installer scripts and the moon upgrade command to install the moon binary to
    ~/.moon/bin.

🚀 Updates

  • Added a constraints setting to .moon/workspace.yml, allowing for project/dep relationships to
    be enforced.
  • Added a hasher.warnOnMissingInputs setting to .moon/workspace.yml.
  • Added a shell task option to moon.yml that will wrap system tasks in a shell.
  • Added a tags setting to moon.yml for project categorization.
  • Added a --tags option to the moon query projects command.
  • Added a telemetry setting to .moon/workspace.yml.
  • Added 5 new token variables: $projectAlias, $date, $time, $datetime, and $timestamp.
  • Updated task env and .env files to support variable substitution using ${VAR_NAME} syntax.
  • Updated system tasks to now execute within a shell.

🐞 Fixes

  • Reworked how task inputs are resolved when empty [] is configured, and all **/* is inherited.

⚙️ Internal

  • Updated the new version check to only run on the check, ci, run, and sync commands.
  • Will now detect 16 additional CI environments: Agola, AppCenter, Appcircle, Azure, Bamboo,
    Bitrise, Buddy, Cirrus, Codemagic, Heroku, Jenkins, Jenkins X, Netlify, TeamCity, Vela,
    Woodpecker.
  • Will now attempt to detect CD environments for more accurate metrics.
  • We now create a cache directory tag in .moon/cache.
moon - @moonrepo/[email protected]

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

🐞 Fixes

  • Fixed an issue where using a custom project language would break the project graph cache.
moon - @moonrepo/[email protected]

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

🐞 Fixes

  • Fixed an issue with pnpm lockfile parsing.
  • Fixed an issue where the project graph cache wouldn't be invalidated if moon was ran from a sub-directory.
moon - @moonrepo/[email protected]

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

🐞 Fixes

  • Fixed an issue where failing tasks ran with the global moon binary wouldn't bubble up the
    correct exit code.
  • Fixed an issue where a root-level project was synced as a TypeScript project reference to itself.
moon - @moonrepo/[email protected]

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

🚀 Updates

  • Task inputs declared as literal file paths will now be logged to the console as a warning when
    they do not exist during hashing.

🐞 Fixes

  • Fixed an issue when project dependencies that form a cycle would recurse indefinitely and panic.
moon - @moonrepo/[email protected]

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

🐞 Fixes

  • Fixed an issue where tasks with cache disabled were considered empty hashes when declared as a
    dependency of another task.
  • Fixed an issue where matching against package.json workspaces would sometimes fail.
  • Fixed an issue where glob parsing would sometimes fail on Windows.
moon - @moonrepo/[email protected]

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

🚀 Updates

  • Unknown config fields will now display a warning.

🐞 Fixes

  • Fixed an issue where moon docker setup couldn't find the manifest file for staged builds.

⚙️ Internal

  • Added a MOON_DEBUG_PROCESS_ENV env var for debugging processes.
  • Updated glob failures to include the glob expression for easier debugging.
moon - @moonrepo/[email protected]

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

💥 Breaking

  • Toolchain has been moved to ~/.proto from ~/.moon. This should be a transparent change, but at
    minimum your tools will be re-downloaded and installed.
  • Targets that generate an empty hash are now considered a failure, as they may be an edge case not
    accounted for.

🚀 Updates

  • Added a moon docker setup command for efficiently installing project dependencies.
  • Added a moon query hash command for inspecting the hash manifest.
  • Added a moon query hash-diff command for diffing 2 hashes.
  • Updated moon's toolchain to build upon proto, our new toolchain layer.
  • Updated our toolchain and configuration to take .prototools into account.

🐞 Fixes

  • Fixed hashing to avoid including git status files when running in CI.
  • Fixed an issue where dependencies of an affected target were not always being ran.
  • Fixed an issue where gitignored folders were being considered projects if the globs matched.
  • Fixed an issue where project-level glob negations (starting with !) weren't being handled
    correctly.

⚙️ Internal

  • Updated terminal checkpoint colors for tools to pink (to match proto).
  • Migrated to rustls from openssl. Please report any TLS/SSL issues.
  • Loosened package.json parsing.
moon - @moonrepo/[email protected]

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

🐞 Fixes

  • Fixed an issue where an object browser field in package.json would fail to parse.
  • Fixed an issue where checking for a new version would constantly run.
  • Fixed an issue where moon upgrade would not report a newer available version.
moon - @moonrepo/[email protected]

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

🐞 Fixes

  • Fixed an issue where workspace relative outputs were not being included in the hashed tarball.

⚙️ Internal

  • Reduced new version check to once every 12 hours.
Package Rankings
Top 3.41% on Npmjs.org
Badges
Extracted from project README
Contributors