@moonrepo/cli 0.20.2 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,63 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.0
4
+
5
+ #### 🚀 Updates
6
+
7
+ - We've rewritten our project graph to use eager-loading instead of lazy-loading to improve
8
+ performance, and to avoid mutating borrowed data across threads in Rust. We're also no longer
9
+ cloning project information unnecessarily, which is a massive memory reduction boost.
10
+ - We've also rewritten our dependency graph in a similar fashion, and are now able to efficiently
11
+ reference data from the project graph while building the dependency chain.
12
+ - You may now install the `@moonrepo/cli` package globally with pnpm and yarn. When running these
13
+ globals, moon will attempt to use the binary found in the repo's node modules.
14
+
15
+ ##### Core
16
+
17
+ - Added a new cache level, `read-write`, that can be passed to `--cache` or `MOON_CACHE`. This is
18
+ now the default level, while `write` is now a write-only level.
19
+ - Added `--minimal` to `moon init` for quick scaffolding and prototyping.
20
+ - Updated the system platform to include the operating system and architecture when hashing.
21
+ - Updated remote caching to use presigned URLs when available.
22
+
23
+ ##### Graphs
24
+
25
+ - Updated `moon dep-graph` and `moon project-graph` to serve interactive graph visualizers using the
26
+ cytoscape library. The DOT output has moved behind a `--dot` flag.
27
+
28
+ ##### Runner
29
+
30
+ - Added `--updateCache` (`-u`) to `moon check` and `moon run` that force updates the cache and
31
+ bypasses any existing cache.
32
+ - Added `args` and `env` as valid values for the `affectedFiles` task option.
33
+ - Updated `moon run` and `moon query touched-files` to support a list of `--status` options.
34
+ - Updated pnpm prune to use the [pnpm-deduplicate](https://www.npmjs.com/package/pnpm-deduplicate)
35
+ package.
36
+
37
+ ##### Toolchain
38
+
39
+ - Added 24 hour temporary caching to version manifests to improve performance.
40
+ - Updated default versions of tools:
41
+ - pnpm 7.14.0 -> 7.18.2
42
+ - yarn 3.2.4 -> 3.3.0
43
+
44
+ #### 🐞 Fixes
45
+
46
+ - Fixed an issue where "installing yarn" would constantly show.
47
+ - Fixed an issue on Windows where `package.json` and `tsconfig.json` would change newlines
48
+ unexpectedly when saving.
49
+ - Fixed an issue with `^:deps` that would resolve projects with a non-matching task.
50
+
51
+ #### ⚙️ Internal
52
+
53
+ - Updated Rust to v1.66.
54
+
55
+ ## 0.20.3
56
+
57
+ #### 🐞 Fixes
58
+
59
+ - Fixed an issue where Node.js arm64 was no longer working within the toolchain.
60
+
3
61
  ## 0.20.2
4
62
 
5
63
  #### 🐞 Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.20.2",
3
+ "version": "0.21.0",
4
4
  "description": "moon command line and core system.",
5
5
  "keywords": [
6
6
  "moon",
@@ -29,12 +29,12 @@
29
29
  "detect-libc": "^2.0.1"
30
30
  },
31
31
  "optionalDependencies": {
32
- "@moonrepo/core-linux-arm64-gnu": "^0.20.2",
33
- "@moonrepo/core-linux-arm64-musl": "^0.20.2",
34
- "@moonrepo/core-linux-x64-gnu": "^0.20.2",
35
- "@moonrepo/core-linux-x64-musl": "^0.20.2",
36
- "@moonrepo/core-macos-arm64": "^0.20.2",
37
- "@moonrepo/core-macos-x64": "^0.20.2",
38
- "@moonrepo/core-windows-x64-msvc": "^0.20.2"
32
+ "@moonrepo/core-linux-arm64-gnu": "^0.21.0",
33
+ "@moonrepo/core-linux-arm64-musl": "^0.21.0",
34
+ "@moonrepo/core-linux-x64-gnu": "^0.21.0",
35
+ "@moonrepo/core-linux-x64-musl": "^0.21.0",
36
+ "@moonrepo/core-macos-arm64": "^0.21.0",
37
+ "@moonrepo/core-macos-x64": "^0.21.0",
38
+ "@moonrepo/core-windows-x64-msvc": "^0.21.0"
39
39
  }
40
40
  }