@moonrepo/cli 1.14.5 → 1.15.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.
- package/CHANGELOG.md +43 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,49 @@
|
|
|
10
10
|
- More accurately monitors signals (ctrl+c) and shutdowns.
|
|
11
11
|
- Tasks can now be configured with a timeout.
|
|
12
12
|
|
|
13
|
+
## 1.15.0
|
|
14
|
+
|
|
15
|
+
#### 💥 Breaking
|
|
16
|
+
|
|
17
|
+
- Tasks that depend (via `deps`) on other tasks from arbitrary projects (the parent project doesn't
|
|
18
|
+
implicitly or explicitly depend on the other project) will now automatically mark that other
|
|
19
|
+
project as a "peer" dependency. For example, "b" becomes a peer dependency for "a".
|
|
20
|
+
|
|
21
|
+
#### 🎉 Release
|
|
22
|
+
|
|
23
|
+
- Rewrote the dependency graph from the ground-up:
|
|
24
|
+
- Now known as the action graph.
|
|
25
|
+
- All actions now depend on the `SyncWorkspace` action, instead of this action running
|
|
26
|
+
arbitrarily.
|
|
27
|
+
- Cleaned up dependency chains between actions, greatly reducing the number of nodes in the graph.
|
|
28
|
+
- Renamed `RunTarget` to `RunTask`, including interactive and persistent variants.
|
|
29
|
+
- Updated the action graph to process using a topological queue, which executes actions on-demand in
|
|
30
|
+
the thread pool when they are ready (dependencies have been met). Previously, we would sort
|
|
31
|
+
topologically _into batches_, which worked, but resulted in many threads uselessly waiting for an
|
|
32
|
+
action to run, which was blocked waiting for the current batch to complete.
|
|
33
|
+
- For large graphs, this should result in a significant performance improvement.
|
|
34
|
+
- Persistent tasks will still be ran as a batch, but since it's the last operation, it's fine.
|
|
35
|
+
- Released a new GitHub action,
|
|
36
|
+
[`moonrepo/setup-toolchain`](https://github.com/marketplace/actions/setup-proto-and-moon-toolchains),
|
|
37
|
+
that replaces both `setup-moon-action` and `setup-proto`.
|
|
38
|
+
|
|
39
|
+
#### 🚀 Updates
|
|
40
|
+
|
|
41
|
+
- Added a `moon action-graph` command.
|
|
42
|
+
- Added a `--dependents` argument to `moon action-graph`.
|
|
43
|
+
- Added the ability to skip non-`RunTask` actions using environment variables.
|
|
44
|
+
- Deprecated the `moon dep-graph` command.
|
|
45
|
+
|
|
46
|
+
#### 🐞 Fixes
|
|
47
|
+
|
|
48
|
+
- Fixed an issue where task dependents (via `moon ci` or `moon run --dependents`) wouldn't always
|
|
49
|
+
locate all downstream tasks.
|
|
50
|
+
|
|
51
|
+
#### ⚙️ Internal
|
|
52
|
+
|
|
53
|
+
- Added in-memory caching to project graph file system lookup operations.
|
|
54
|
+
- Updated Rust to v1.72.
|
|
55
|
+
|
|
13
56
|
## 1.14.5
|
|
14
57
|
|
|
15
58
|
#### 🐞 Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonrepo/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.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.2"
|
|
30
30
|
},
|
|
31
31
|
"optionalDependencies": {
|
|
32
|
-
"@moonrepo/core-linux-arm64-gnu": "^1.
|
|
33
|
-
"@moonrepo/core-linux-arm64-musl": "^1.
|
|
34
|
-
"@moonrepo/core-linux-x64-gnu": "^1.
|
|
35
|
-
"@moonrepo/core-linux-x64-musl": "^1.
|
|
36
|
-
"@moonrepo/core-macos-arm64": "^1.
|
|
37
|
-
"@moonrepo/core-macos-x64": "^1.
|
|
38
|
-
"@moonrepo/core-windows-x64-msvc": "^1.
|
|
32
|
+
"@moonrepo/core-linux-arm64-gnu": "^1.15.0",
|
|
33
|
+
"@moonrepo/core-linux-arm64-musl": "^1.15.0",
|
|
34
|
+
"@moonrepo/core-linux-x64-gnu": "^1.15.0",
|
|
35
|
+
"@moonrepo/core-linux-x64-musl": "^1.15.0",
|
|
36
|
+
"@moonrepo/core-macos-arm64": "^1.15.0",
|
|
37
|
+
"@moonrepo/core-macos-x64": "^1.15.0",
|
|
38
|
+
"@moonrepo/core-windows-x64-msvc": "^1.15.0"
|
|
39
39
|
}
|
|
40
40
|
}
|