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

Published by github-actions[bot] 7 months ago

⚙️ Internal

  • Added more logging around our WASM plugins.
  • Added a MOON_DEBUG_WASM environment variable, for including additional logging output, and
    optionally dumping memory/core profiles.
moon - v1.22.9

Published by github-actions[bot] 7 months ago

🐞 Fixes

  • Fixed an issue with moon docker scaffold where Rust projects in the workspace skeleton would
    fail to compile as they were missing a lib/main entry point.
  • Fixed an issue with moon docker prune where an unknown project type would trigger toolchain
    errors.
moon - v1.22.8

Published by github-actions[bot] 7 months ago

🐞 Fixes

  • Fixed an issue where task hashing would attempt to hash invalid file paths, when moon is located
    within a nested git repository.
moon - v1.22.7

Published by github-actions[bot] 7 months ago

🐞 Fixes

  • Fixed an issue where environment variable substitution would trigger recursively when referencing
    itself.
moon - v1.22.6

Published by github-actions[bot] 8 months ago

🚀 Updates

  • We now include the exit code of a failing task in the logs for easier debugging.

🐞 Fixes

  • Fixed an issue where the wrong path was being displayed for the task message "in ...".

⚙️ Internal

  • Updated proto to v0.31.4 (from v0.31.2).
moon - v1.22.5

Published by github-actions[bot] 8 months ago

🐞 Fixes

  • Fixed env variable substitution not being able to reference values from an .env file.
  • Fixed an issue where moon would move an existing proto binary when installing proto, triggering
    permission issues.
moon - v1.22.4

Published by github-actions[bot] 8 months ago

🐞 Fixes

  • Fixed an issue where deleted but uncommitted files would log a hashing warning.
  • Fixed an issue where parsing bun.lockb would fail if using github: protocols.

⚙️ Internal

  • Updated proto to v0.31.2 (from v0.30.2).
moon - v1.22.3

Published by github-actions[bot] 8 months ago

🚀 Updates

  • Updated our project constraint enforcement to take the new stack setting into account. For
    example, frontend applications can now depend on backend applications, where as previously they
    could not.
moon - v1.22.2

Published by github-actions[bot] 8 months ago

🐞 Fixes

  • Fixed an issue where VCS hooks were being created in Docker, triggering cache issues.
moon - v1.22.1

Published by github-actions[bot] 8 months ago

🚀 Updates

In v1.22, we made a change to affected tasks that pass all inputs as arguments, instead of passing .. This change was made to not overzealously pass files to the task that it doesn't care about, but it ended up causing problems for certain commands.

We didn't want to revert the change, but it also wasn't easy to fix without causing other issues, so as a compromise, we opted to introduce a new task option, affectedPassInputs to handle this functionality.

moon - v1.22.0

Published by github-actions[bot] 8 months ago

🚀 Updates

  • Added configuration and scaffolding variants to the project type setting in moon.yml.
    • Updated project constraints to support these new variants.
  • Added a stack setting to moon.yml, for categorizing which tech stack it belongs to.
    • Supports frontend, backend, infrastructure, and systems.
    • Added a projectStack field to the query language (MQL).
    • Added a $projectStack token variable for tasks.
    • Updated the moon query projects command to support a --stack option, and include the stack
      in the output.
    • Updated the moon project command to include the stack in the output.
  • Added a description setting for tasks, for providing human-readable information.
    • Updated the moon project and moon task commands to include the description in the output.
  • Added an installArgs setting for bun/npm/pnpm/yarn in .moon/toolchain.yml, to customize the
    args used when installing dependencies.
  • Added a new built-in extension, migrate-nx, for migrating from Nx to moon.
    • Will convert all nx.json, workspace.json, and project.json files.
  • Updated task input environment variables to support a wildcard match using *, for example
    $VITE_*.
    • This will include all environment variables in the current process that starts with VITE_.
  • Updated the envFile task option to support a list of file paths.
  • Updated the migrate-turborepo extension.
    • Removed the requirement of moon's project graph. Will now scan for turbo.jsons instead.
  • Updated affected tasks to use inputs as the list of files provided, instead of ..

🐞 Fixes

  • Fixed an issue where bun install was not running with --production in Docker prune.
  • Fixed an issue where invalid IDs passed to certain commands would trigger a panic.
  • Fixed an issue where $PWD in a task was pointing to the wrong directory.

🧩 Plugins

  • Updated deno_plugin to v0.9.1.
    • Added Linux ARM64 support (requires Deno >= v1.41).
  • Updated rust_plugin to v0.8.1.
    • Uses the full triple target when installing and uninstalling toolchains.

⚙️ Internal

  • Updated Rust to v1.76.
  • Updated proto to v0.30.2 (from v0.29.1).
moon - v1.21.4

Published by github-actions[bot] 8 months ago

🐞 Fixes

  • Fixed VCS hooks on Windows generating invalid PowerShell commands.
moon - v1.21.3

Published by github-actions[bot] 8 months ago

🐞 Fixes

  • Fixed a panic that would occur when running an action and path stripping would fail.
moon - v1.21.2

Published by github-actions[bot] 8 months ago

🐞 Fixes

  • Attempted fix for liblzma.5.dylib issues on macOS arm64.
moon - v1.21.1

Published by github-actions[bot] 8 months ago

  • Added shallow checkout detection to help avoid failing Git commands.
    • If detected in moon ci, is a hard failure.
    • If detected in moon run, will disable affected checks.
moon - v1.21.0

Published by github-actions[bot] 9 months ago

🚀 Updates

  • Added Deno tier 3 support.
    • Will download and install Deno into the toolchain when a version is configured.
    • Will parse the deno.lock lockfile to extract and resolve dependencies.
    • Will hash manifests and inputs for Deno specific caching.
    • Added a deno.version setting to .moon/toolchain.yml.
    • Added a toolchain.deno setting to moon.yml.
    • Updated moon bin and moon docker commands to support Deno.
  • Added a new built-in extension, migrate-turborepo, with new functionality.
    • Replaces the previous moon migrate from-turborepo command.
    • Added Bun support behind a new --bun flag.
    • Added support for globalDotEnv, dotEnv, and outputMode.
    • Scripts now run through a package manager, instead of moon node run-script.
    • Root-level tasks will now create a root moon.yml, instead of warning.
  • Added unixShell and windowsShell task options, so that the underlying shell can be configured
    per task.
  • Added bun.inferTasksFromScripts setting to .moon/toolchain.yml, for compatibility with
    Node.js.
  • Added environment variable support to fileGroups.
  • Added a @envs(group) token function for referencing environment variables.
  • Added a --quiet global argument, for hiding non-critical moon output.
  • Deprecated the moon node run-script command. Run the task through a package manager instead,
    like npm run or yarn run.
  • Updated tasks with glob-like arguments to automatically enabled the shell option, so that glob
    expansion works correctly.
  • Updated interactive tasks to not be shutdown when receiving a CTRL+C signal, and instead allow
    them to handle it themselves, and cleanup if necessary.
  • Implemented a new console layer for writing to stdout/stderr.
    • Logs are now buffered and written periodically.
    • Previously they were written immediately, which required locking std each call.
    • Should see some minor performance improvements.

🐞 Fixes

  • Fixed an issue where the action graph would create incorrect nodes when a tool utilizes dependency
    workspaces, and a project is not within the workspace.
  • Fixed an issue where glob based arguments were overlay escaped.
  • Fixed console checkpoints (the 4 squares) showing the wrong working directory.

⚙️ Internal

  • Updated proto to v0.30.0 (from v0.29.1).
moon - v1.20.1

Published by github-actions[bot] 9 months ago

🚀 Updates

  • Removed the maximum concurrency limit from persistent tasks.

🐞 Fixes

  • Fixed moon docker scaffold not copying the project specific moon.yml file, resulting in a
    skewed project graph.
moon - v1.20.0

Published by github-actions[bot] 9 months ago

🚀 Updates

  • Added a new extension plugin system.
    • An extension is a WASM plugin that is not built into moon's core:
      https://github.com/moonrepo/moon-extensions
    • Extensions can be executed with the new moon ext command.
    • The community can build and publish their own extensions!
  • Added a taskOptions setting to .moon task configs, allowing default task options to be
    defined.
    • These options will be merged and inherited as part of the configuration chain.
  • Added an optional field to task deps, allowing the dependency to be optional during
    inheritance.
  • Added a "Tags" view to the VSCode extension.
  • Updated proto installation to trigger for all applicable commands, not just moon run,
    moon check, and moon ci.
    • Will also use the global proto version if available when there's no internet connection, and the
      moon required proto version has not been installed.

🐞 Fixes

  • Fixed Git version parsing when using VFSForGit.

🧩 Plugins

  • Updated bun_plugin to v0.9.
  • Updated node_plugin and node_depman_plugin to v0.9.
    • Changed the bundled-npm and intercept-globals settings to be false by default (instead of
      true).
  • Updated rust_plugin to v0.8.

⚙️ Internal

  • Updated proto to v0.29.1 (from v0.26.4).
moon - v1.19.3

Published by github-actions[bot] 9 months ago

This fixes a bad 1.19.2 release.

moon - v1.19.2

Published by github-actions[bot] 9 months ago

🐞 Fixes

  • Fixed another location where the proto binary was not available.
Package Rankings
Top 3.41% on Npmjs.org
Badges
Extracted from project README
Contributors