github moonrepo/moon @moonrepo/cli@0.21.0

latest releases: v1.32.9, @moonrepo/core-windows-x64-msvc@1.32.9, @moonrepo/core-macos-x64@1.32.9...
2 years ago

🚀 Updates

  • We've rewritten our project graph to use eager-loading instead of lazy-loading to improve
    performance, and to avoid mutating borrowed data across threads in Rust. We're also no longer
    cloning project information unnecessarily, which is a massive memory reduction boost.
  • We've also rewritten our dependency graph in a similar fashion, and are now able to efficiently
    reference data from the project graph while building the dependency chain.
  • You may now install the @moonrepo/cli package globally with pnpm and yarn. When running these
    globals, moon will attempt to use the binary found in the repo's node modules.
Core
  • Added a new cache level, read-write, that can be passed to --cache or MOON_CACHE. This is
    now the default level, while write is now a write-only level.
  • Added --minimal to moon init for quick scaffolding and prototyping.
  • Updated the system platform to include the operating system and architecture when hashing.
  • Updated remote caching to use presigned URLs when available.
Graphs
  • Updated moon dep-graph and moon project-graph to serve interactive graph visualizers using the
    cytoscape library. The DOT output has moved behind a --dot flag.
Runner
  • Added --updateCache (-u) to moon check and moon run that force updates the cache and
    bypasses any existing cache.
  • Added args and env as valid values for the affectedFiles task option.
  • Updated moon run and moon query touched-files to support a list of --status options.
  • Updated pnpm prune to use the pnpm-deduplicate
    package.
Toolchain
  • Added 24 hour temporary caching to version manifests to improve performance.
  • Updated default versions of tools:
    • pnpm 7.14.0 -> 7.18.2
    • yarn 3.2.4 -> 3.3.0

🐞 Fixes

  • Fixed an issue where "installing yarn" would constantly show.
  • Fixed an issue on Windows where package.json and tsconfig.json would change newlines
    unexpectedly when saving.
  • Fixed an issue with ^:deps that would resolve projects with a non-matching task.

⚙️ Internal

  • Updated Rust to v1.66.

Don't miss a new moon release

NewReleases is sending notifications on new releases.