@moonrepo/cli 0.21.4 → 0.22.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 +46 -0
- package/README.md +10 -6
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
#### 0.22.0
|
|
4
|
+
|
|
5
|
+
#### 💥 Breaking
|
|
6
|
+
|
|
7
|
+
- Renamed the `runner.*` webhook events to `pipeline.*`.
|
|
8
|
+
- Renamed the `--upstream` option to `--remote`.
|
|
9
|
+
- Removed the `--report` option from `moon check` and `moon run` commands. Reports are now always
|
|
10
|
+
created.
|
|
11
|
+
|
|
12
|
+
#### 🚀 Updates
|
|
13
|
+
|
|
14
|
+
- We've improved our smart hashing for other use cases besides task running. The first improvement
|
|
15
|
+
is that we now hash dependencies to determine whether to run a dependency install, or to skip!
|
|
16
|
+
This is much more accurate than before, which only relied on lockfile modified timestamps.
|
|
17
|
+
- Added a `moon migrate from-turborepo` command to migrate from Turborepo to moon.
|
|
18
|
+
- Updated `moon docker` commands to take into account other programming languages when scaffolding
|
|
19
|
+
files.
|
|
20
|
+
|
|
21
|
+
##### Config
|
|
22
|
+
|
|
23
|
+
- Added a `versionConstraint` setting to `.moon/workspace.yml` that enforces a requirement on the
|
|
24
|
+
running moon binary.
|
|
25
|
+
|
|
26
|
+
##### Pipeline
|
|
27
|
+
|
|
28
|
+
- We've refactored the pipeline to use a new thread pool strategy so that we have more control over
|
|
29
|
+
concurrency. This also paves the way for future output reporters.
|
|
30
|
+
- Added global `--concurrency` option to all `moon` commands, allowing the thread count to be
|
|
31
|
+
customized.
|
|
32
|
+
|
|
33
|
+
##### Projects
|
|
34
|
+
|
|
35
|
+
- Updated the `project` fields in `moon.yml` to be optional, excluding `description`.
|
|
36
|
+
|
|
37
|
+
##### Toolchain
|
|
38
|
+
|
|
39
|
+
- Added Bun as a Tier 1 language (doesn't do much at the moment).
|
|
40
|
+
- Our toolchain now creates shims for all installed tools, and also utilizes these shims when
|
|
41
|
+
executing commands in the pipeline. (Unix only)
|
|
42
|
+
|
|
43
|
+
#### 🐞 Fixes
|
|
44
|
+
|
|
45
|
+
- Fixed an issue where `~/.moon` is deleted, but local caching isn't aware of it missing and fails
|
|
46
|
+
to run a target.
|
|
47
|
+
- Fixed an issue where long-running processes would not exit even after moon has exited.
|
|
48
|
+
|
|
3
49
|
## 0.21.4
|
|
4
50
|
|
|
5
51
|
#### 🐞 Fixes
|
package/README.md
CHANGED
|
@@ -5,14 +5,18 @@ web ecosystem, written in Rust! Supports JavaScript, TypeScript, Bash, and Batch
|
|
|
5
5
|
|
|
6
6
|
- [Documentation](https://moonrepo.dev/docs)
|
|
7
7
|
- [Getting started](https://moonrepo.dev/docs/install)
|
|
8
|
+
- [Feature comparison](https://moonrepo.dev/docs/comparison)
|
|
9
|
+
- [FAQ](https://moonrepo.dev/docs/faq)
|
|
8
10
|
|
|
9
|
-
##
|
|
11
|
+
## Installation
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
moon can be installed with bash:
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
```bash
|
|
16
|
+
curl -fsSL https://moonrepo.dev/install.sh | bash
|
|
17
|
+
```
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
Or with npm, pnpm, or yarn.
|
|
16
20
|
|
|
17
21
|
```bash
|
|
18
22
|
# Install the dependency
|
|
@@ -25,7 +29,7 @@ npx @moonrepo/cli init
|
|
|
25
29
|
## Usage
|
|
26
30
|
|
|
27
31
|
Once [projects](https://moonrepo.dev/docs/create-project) and
|
|
28
|
-
[tasks](https://moonrepo.dev/docs/create-task) have been configured,
|
|
32
|
+
[tasks](https://moonrepo.dev/docs/create-task) have been configured, tasks can be ran with:
|
|
29
33
|
|
|
30
34
|
```bash
|
|
31
35
|
# Run `lint` in project `app`
|
|
@@ -83,7 +87,7 @@ and provide a first-class developer experience.
|
|
|
83
87
|
#### Orchestration
|
|
84
88
|
|
|
85
89
|
- **Dependency graph** - Generates a dependency graph to increase performance and reduce workloads.
|
|
86
|
-
- **Action
|
|
90
|
+
- **Action pipeline** - Executes actions in parallel and in order using a thread pool and our
|
|
87
91
|
dependency graph.
|
|
88
92
|
- **Action distribution** - Distributes actions across multiple machines to increase throughput.
|
|
89
93
|
- **Incremental builds** - With our smart hashing, only rebuild projects that have been touched
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonrepo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.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.
|
|
33
|
-
"@moonrepo/core-linux-arm64-musl": "^0.
|
|
34
|
-
"@moonrepo/core-linux-x64-gnu": "^0.
|
|
35
|
-
"@moonrepo/core-linux-x64-musl": "^0.
|
|
36
|
-
"@moonrepo/core-macos-arm64": "^0.
|
|
37
|
-
"@moonrepo/core-macos-x64": "^0.
|
|
38
|
-
"@moonrepo/core-windows-x64-msvc": "^0.
|
|
32
|
+
"@moonrepo/core-linux-arm64-gnu": "^0.22.0",
|
|
33
|
+
"@moonrepo/core-linux-arm64-musl": "^0.22.0",
|
|
34
|
+
"@moonrepo/core-linux-x64-gnu": "^0.22.0",
|
|
35
|
+
"@moonrepo/core-linux-x64-musl": "^0.22.0",
|
|
36
|
+
"@moonrepo/core-macos-arm64": "^0.22.0",
|
|
37
|
+
"@moonrepo/core-macos-x64": "^0.22.0",
|
|
38
|
+
"@moonrepo/core-windows-x64-msvc": "^0.22.0"
|
|
39
39
|
}
|
|
40
40
|
}
|