@moonrepo/cli 0.21.4 → 0.23.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 +76 -0
- package/README.md +10 -6
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
#### 0.23.0
|
|
4
|
+
|
|
5
|
+
#### 💥 Breaking
|
|
6
|
+
|
|
7
|
+
- Renamed `.moon/project.yml` to `.moon/tasks.yml`.
|
|
8
|
+
- Moved `runner.implicitDeps` from `.moon/workspace.yml` to `.moon/tasks.yml` as `implicitDeps`.
|
|
9
|
+
- Moved `runner.implicitInputs` from `.moon/workspace.yml` to `.moon/tasks.yml` as `implicitInputs`.
|
|
10
|
+
|
|
11
|
+
#### 🚀 Updates
|
|
12
|
+
|
|
13
|
+
- We've improved our task inheritance model to support scoped inheritance based on a project's
|
|
14
|
+
`language` and `type`.
|
|
15
|
+
- Now supports `.moon/tasks/<language>.yml` and `.moon/tasks/<language>-<type>.yml` configuration
|
|
16
|
+
files.
|
|
17
|
+
- Added a top-level `env` setting to `moon.yml`.
|
|
18
|
+
- Updated task `outputs` to support globs.
|
|
19
|
+
- Updated `moon migrate from-turborepo` to preserve globs in outputs.
|
|
20
|
+
- Updated project graph to no longer cache when there's no VCS root.
|
|
21
|
+
- Updated pnpm to use the new `pnpm dedupe` command when the version is >= 7.26.0.
|
|
22
|
+
|
|
23
|
+
#### 🐞 Fixes
|
|
24
|
+
|
|
25
|
+
- Fixed an issue where directories in task `inputs` not using `**/*` would crash git.
|
|
26
|
+
- Fixed an issue where the project graph cache was not always resetting based on changes.
|
|
27
|
+
- Fixed an issue where run report action durations were innacurate.
|
|
28
|
+
|
|
29
|
+
#### ⚙️ Internal
|
|
30
|
+
|
|
31
|
+
- Updated our internal hasher to also take into account untracked files when hashing a directory.
|
|
32
|
+
|
|
33
|
+
#### 0.22.0
|
|
34
|
+
|
|
35
|
+
#### 💥 Breaking
|
|
36
|
+
|
|
37
|
+
- Renamed the `runner.*` webhook events to `pipeline.*`.
|
|
38
|
+
- Renamed the `--upstream` option to `--remote`.
|
|
39
|
+
- Removed the `--report` option from `moon check` and `moon run` commands. Reports are now always
|
|
40
|
+
created.
|
|
41
|
+
|
|
42
|
+
#### 🚀 Updates
|
|
43
|
+
|
|
44
|
+
- We've improved our smart hashing for other use cases besides task running. The first improvement
|
|
45
|
+
is that we now hash dependencies to determine whether to run a dependency install, or to skip!
|
|
46
|
+
This is much more accurate than before, which only relied on lockfile modified timestamps.
|
|
47
|
+
- Added a `moon migrate from-turborepo` command to migrate from Turborepo to moon.
|
|
48
|
+
- Updated `moon docker` commands to take into account other programming languages when scaffolding
|
|
49
|
+
files.
|
|
50
|
+
|
|
51
|
+
##### Config
|
|
52
|
+
|
|
53
|
+
- Added a `versionConstraint` setting to `.moon/workspace.yml` that enforces a requirement on the
|
|
54
|
+
running moon binary.
|
|
55
|
+
|
|
56
|
+
##### Pipeline
|
|
57
|
+
|
|
58
|
+
- We've refactored the pipeline to use a new thread pool strategy so that we have more control over
|
|
59
|
+
concurrency. This also paves the way for future output reporters.
|
|
60
|
+
- Added global `--concurrency` option to all `moon` commands, allowing the thread count to be
|
|
61
|
+
customized.
|
|
62
|
+
|
|
63
|
+
##### Projects
|
|
64
|
+
|
|
65
|
+
- Updated the `project` fields in `moon.yml` to be optional, excluding `description`.
|
|
66
|
+
|
|
67
|
+
##### Toolchain
|
|
68
|
+
|
|
69
|
+
- Added Bun as a Tier 1 language (doesn't do much at the moment).
|
|
70
|
+
- Our toolchain now creates shims for all installed tools, and also utilizes these shims when
|
|
71
|
+
executing commands in the pipeline. (Unix only)
|
|
72
|
+
|
|
73
|
+
#### 🐞 Fixes
|
|
74
|
+
|
|
75
|
+
- Fixed an issue where `~/.moon` is deleted, but local caching isn't aware of it missing and fails
|
|
76
|
+
to run a target.
|
|
77
|
+
- Fixed an issue where long-running processes would not exit even after moon has exited.
|
|
78
|
+
|
|
3
79
|
## 0.21.4
|
|
4
80
|
|
|
5
81
|
#### 🐞 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.23.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.23.0",
|
|
33
|
+
"@moonrepo/core-linux-arm64-musl": "^0.23.0",
|
|
34
|
+
"@moonrepo/core-linux-x64-gnu": "^0.23.0",
|
|
35
|
+
"@moonrepo/core-linux-x64-musl": "^0.23.0",
|
|
36
|
+
"@moonrepo/core-macos-arm64": "^0.23.0",
|
|
37
|
+
"@moonrepo/core-macos-x64": "^0.23.0",
|
|
38
|
+
"@moonrepo/core-windows-x64-msvc": "^0.23.0"
|
|
39
39
|
}
|
|
40
40
|
}
|