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