@moonrepo/cli 0.18.2 → 0.19.1

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 +57 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.1
4
+
5
+ #### 🚀 Updates
6
+
7
+ - Task `affectedFiles` will also be set via the `MOON_AFFECTED_FILES` env var.
8
+
9
+ #### 🐞 Fixes
10
+
11
+ - The runner will no longer attempt to install dependencies if running against affected files.
12
+ - Fixed some unexpected panics in relation to non-installed tools.
13
+
14
+ ## 0.19.0
15
+
16
+ #### 💥 Breaking
17
+
18
+ - We've refactored how npm/pnpm/yarn work in the toolchain. Previously, they were installed as
19
+ global packages (or via corepack) within the configured `~/.moon/tools/node` version. This
20
+ approach worked but was susceptible to collisions, so now, these package managers are installed
21
+ individually as their own tools at `~/.moon/tools/npm`, etc. This change should be transparent to
22
+ you, but we're documenting it just in case something breaks!
23
+ - We've updated the dependency graph so that `InstallDeps` based actions use the task's `platform`
24
+ instead of the project's `language` as the tool to install. This allows for granular control at
25
+ the task level, and also unlocks the ability for project's to utilize multiple languages in the
26
+ future.
27
+
28
+ #### 🚀 Updates
29
+
30
+ - When writing JSON files, indentation and formatting will be inferred from the closest
31
+ `.editorconfig` as best as possible.
32
+ - When applicable, `moon ci` will group and collapse logs based on the current CI/CD environment.
33
+ - Updated webhook payloads to contain information about the current CI/CD environment under the
34
+ `environment` field.
35
+
36
+ ##### Runner
37
+
38
+ - Added an `affectedFiles` task option, allowing a filtered list of paths based on affected files to
39
+ be passed as command line arguments. Perfect for git hooks!
40
+
41
+ ##### Generator
42
+
43
+ - Updated the generator to now support merging JSON and YAML files when it exists in both the
44
+ destination and source.
45
+
46
+ #### 🐞 Fixes
47
+
48
+ - Fixed an issue where passthrough args were incorrectly being passed to non-primary targets when
49
+ using `moon run`.
50
+ - Fixed an issue where a root-level project was not being marked as affected based on touched files.
51
+ - Fixed an issue where tool version overrides at the project-level were not properly being set, and
52
+ configuration that is root-only was being referenced in projects.
53
+ - Fixed some CLI arguments that should be ran mutually exclusive with other arguments.
54
+ - Task hashes will now properly invalidate if their dependencies hashes have also changed.
55
+
56
+ #### ⚙️ Internal
57
+
58
+ - Updated Rust to v1.65.
59
+
3
60
  ## 0.18.2
4
61
 
5
62
  #### 🐞 Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.18.2",
3
+ "version": "0.19.1",
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.18.2",
33
- "@moonrepo/core-linux-arm64-musl": "^0.18.2",
34
- "@moonrepo/core-linux-x64-gnu": "^0.18.2",
35
- "@moonrepo/core-linux-x64-musl": "^0.18.2",
36
- "@moonrepo/core-macos-arm64": "^0.18.2",
37
- "@moonrepo/core-macos-x64": "^0.18.2",
38
- "@moonrepo/core-windows-x64-msvc": "^0.18.2"
32
+ "@moonrepo/core-linux-arm64-gnu": "^0.19.1",
33
+ "@moonrepo/core-linux-arm64-musl": "^0.19.1",
34
+ "@moonrepo/core-linux-x64-gnu": "^0.19.1",
35
+ "@moonrepo/core-linux-x64-musl": "^0.19.1",
36
+ "@moonrepo/core-macos-arm64": "^0.19.1",
37
+ "@moonrepo/core-macos-x64": "^0.19.1",
38
+ "@moonrepo/core-windows-x64-msvc": "^0.19.1"
39
39
  }
40
40
  }