@moonrepo/cli 0.16.1 → 0.18.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 +73 -0
- package/README.md +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.0
|
|
4
|
+
|
|
5
|
+
#### 🚀 Updates
|
|
6
|
+
|
|
7
|
+
- Refactored `moon init` heavily for a better onboarding experience.
|
|
8
|
+
- Each tool is now configured individually, with its own prompts. Tools can also be skipped.
|
|
9
|
+
- Tools can now be initialized _after_ moon already exists, ala `moon init --tool node`.
|
|
10
|
+
- Fixed many issues around the templates and rendering.
|
|
11
|
+
- Updated the `moon check` command to support an `--all` flag.
|
|
12
|
+
- Updated `moon migrate` commands to throw an error if the work tree is dirty. This can be bypassed
|
|
13
|
+
with the new `--skipTouchedFilesCheck` option.
|
|
14
|
+
- Updated the `projects` setting in `.moon/workspace.yml` to support globs _and_ a map in unison.
|
|
15
|
+
- Updated default versions of tools:
|
|
16
|
+
- node 16.17.0 -> 18.12.0
|
|
17
|
+
- pnpm 7.12.1 -> 7.14.0
|
|
18
|
+
- yarn 3.2.3 -> 3.2.4
|
|
19
|
+
|
|
20
|
+
##### Runner
|
|
21
|
+
|
|
22
|
+
- Added a `node.binExecArgs` setting to `.moon/workspace.yml`, so that additional `node` CLI
|
|
23
|
+
arguments may be passed when executing the binary to run targets.
|
|
24
|
+
- Updated the task `command` to default to "noop" when not defined.
|
|
25
|
+
- The stdout and stderr of ran targets are now stored as individual log files in
|
|
26
|
+
`.moon/cache/states/<project>/<task>`. This allows CI environments to cache them as artifacts,
|
|
27
|
+
upload/download them, or simply help developers debug broken jobs.
|
|
28
|
+
- Also, these log files are now stored in the output tarballs.
|
|
29
|
+
|
|
30
|
+
#### ⚙️ Internal
|
|
31
|
+
|
|
32
|
+
- Timestamps have been updated to UTC _without timezone_.
|
|
33
|
+
- Implemented a benchmarking system to start capturing performance changes.
|
|
34
|
+
- Improved language and platform interoperability.
|
|
35
|
+
- Extended configurations will now be temporarily cached for 4 hours.
|
|
36
|
+
|
|
37
|
+
## 0.17.0
|
|
38
|
+
|
|
39
|
+
#### 💥 Breaking
|
|
40
|
+
|
|
41
|
+
- Refactored project and task name/id cleaning. Previously, unsupported characters were simply
|
|
42
|
+
removed. Instead, we now replace them with dashes for better readability.
|
|
43
|
+
- The task `type` in `moon.yml` and `.moon/project.yml` has been renamed to `platform`.
|
|
44
|
+
- The `$taskType` token has been renamed to `$taskPlatform`.
|
|
45
|
+
|
|
46
|
+
#### 🚀 Updates
|
|
47
|
+
|
|
48
|
+
- All YAML configuration files can now use
|
|
49
|
+
[aliases and anchors](https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/)!
|
|
50
|
+
- The `moon check` command can now use the `--report` option.
|
|
51
|
+
|
|
52
|
+
##### Tasks
|
|
53
|
+
|
|
54
|
+
- When defining `deps` within the current project, the `~:` prefix is now optional. For example,
|
|
55
|
+
`~:build` can now be written as simply `build`.
|
|
56
|
+
|
|
57
|
+
##### Generator
|
|
58
|
+
|
|
59
|
+
- Enum variables can now declare an object form for `values`, so that a custom label can be provided
|
|
60
|
+
for each value item.
|
|
61
|
+
- Added JSON schema support for the `template.yml` config.
|
|
62
|
+
|
|
63
|
+
##### Notifier
|
|
64
|
+
|
|
65
|
+
- Implemented a new service for notifying you about events happening in moon. The first feature in
|
|
66
|
+
this service is webhooks!
|
|
67
|
+
- Added a new `notifier.webhookUrl` setting to `.moon/workspace.yml`, in which the webhooks endpoint
|
|
68
|
+
can be defined.
|
|
69
|
+
|
|
70
|
+
#### ⚡️ Performance
|
|
71
|
+
|
|
72
|
+
- Enabled [mimalloc](https://github.com/microsoft/mimalloc). This reduces memory cost and increases
|
|
73
|
+
runtime performance.
|
|
74
|
+
- Enabled link-time optimization, increases runtime performance.
|
|
75
|
+
|
|
3
76
|
## 0.16.1
|
|
4
77
|
|
|
5
78
|
#### 🐞 Fixes
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @moonrepo/cli
|
|
2
2
|
|
|
3
3
|
The official CLI for [moon](https://moonrepo.dev), a build system and repo management tool for the
|
|
4
|
-
|
|
4
|
+
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)
|
|
@@ -93,6 +93,6 @@ and provide a first-class developer experience.
|
|
|
93
93
|
|
|
94
94
|
- **Flakiness detection** - Reduce flaky builds with automatic retries and passthrough settings.
|
|
95
95
|
- **Webhook events** - Receive a webhook for every event in the pipeline. Useful for metrics
|
|
96
|
-
gathering.
|
|
96
|
+
gathering and insights.
|
|
97
97
|
- **Terminal notifications** - Receives notifications in your chosen terminal when builds are
|
|
98
98
|
successful... or are not.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonrepo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.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.18.0",
|
|
33
|
+
"@moonrepo/core-linux-arm64-musl": "^0.18.0",
|
|
34
|
+
"@moonrepo/core-linux-x64-gnu": "^0.18.0",
|
|
35
|
+
"@moonrepo/core-linux-x64-musl": "^0.18.0",
|
|
36
|
+
"@moonrepo/core-macos-arm64": "^0.18.0",
|
|
37
|
+
"@moonrepo/core-macos-x64": "^0.18.0",
|
|
38
|
+
"@moonrepo/core-windows-x64-msvc": "^0.18.0"
|
|
39
39
|
}
|
|
40
40
|
}
|