@moonrepo/cli 0.19.0 → 0.20.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 +65 -2
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,68 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.20.0
4
+
5
+ #### 💥 Breaking
6
+
7
+ - Moved the `node` and `typescript` settings from `.moon/workspace.yml` to a new config,
8
+ `.moon/toolchain.yml`.
9
+ - Moved the `workspace.node` and `workspace.typescript` settings in `moon.yml` to `toolchain.node`
10
+ and `toolchain.typescript`.
11
+
12
+ #### 🚀 Updates
13
+
14
+ - Added `runner.archivableTargets` to `.moon/workspace.yml` to control which targets are cached as
15
+ archives.
16
+ - Added `vcs.remoteCandidates` to `.moon/workspace.yml` to customize the remotes for git to query
17
+ against.
18
+ - Added support for `moduleSuffixes` and `moduleDetection` in TypeScript `tsconfig.json` compiler
19
+ options.
20
+ - Added Google Cloud Build and AWS CodeBuild to the list of CI providers to detect. results.
21
+
22
+ ##### Toolchain
23
+
24
+ - Implemented a new toolchain, that is more efficient and performant.
25
+ - Will now log to the terminal when node, npm, etc, are being installed for the first time.
26
+
27
+ ##### Runner
28
+
29
+ - Updated the terminal output to include a shortened version of each task hash.
30
+ - Reworked the terminal output when running multiple tasks in parallel, or for long-running
31
+ processes.
32
+ - Implemented a new file tree diffing algorithm that speeds up task output hydration by 10x.
33
+ - Updated pnpm to no longer run `pnpm prune` while deduping dependencies, as it produces unexpected
34
+ results.
35
+
36
+ ##### Generator
37
+
38
+ - Added `path_join` and `path_relative` template filters.
39
+ - Added pre-defined template variables for the working dir, destination, and workspace root.
40
+
41
+ #### 🐞 Fixes
42
+
43
+ - When writing JSON files, it will now respect the `indent_style = tab` setting in the closest
44
+ `.editorconfig`.
45
+ - When writing YAML files, indentation and formatting will be inferred from the closest
46
+ `.editorconfig` as best as possible.
47
+ - Fixed an issue where parsing `yarn.lock` would panic on certain Windows machines.
48
+ - Fixed an issue where `moon docker prune` would remove required node modules.
49
+
50
+ #### ⚙️ Internal
51
+
52
+ - Migrated our json/yaml libraries to the official serde crates.
53
+ - Migrated to nextest for better testing performance.
54
+
55
+ ## 0.19.1
56
+
57
+ #### 🚀 Updates
58
+
59
+ - Task `affectedFiles` will also be set via the `MOON_AFFECTED_FILES` env var.
60
+
61
+ #### 🐞 Fixes
62
+
63
+ - The runner will no longer attempt to install dependencies if running against affected files.
64
+ - Fixed some unexpected panics in relation to non-installed tools.
65
+
3
66
  ## 0.19.0
4
67
 
5
68
  #### 💥 Breaking
@@ -29,8 +92,8 @@
29
92
 
30
93
  ##### Generator
31
94
 
32
- - Updated the generator to now support merging JSON and YAML files when it exists in both the
33
- destination and source.
95
+ - When generating files and a JSON or YAML file exists at the destination, you now have the option
96
+ of merging files, instead of replacing entirely.
34
97
 
35
98
  #### 🐞 Fixes
36
99
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.19.0",
3
+ "version": "0.20.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.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"
32
+ "@moonrepo/core-linux-arm64-gnu": "^0.20.0",
33
+ "@moonrepo/core-linux-arm64-musl": "^0.20.0",
34
+ "@moonrepo/core-linux-x64-gnu": "^0.20.0",
35
+ "@moonrepo/core-linux-x64-musl": "^0.20.0",
36
+ "@moonrepo/core-macos-arm64": "^0.20.0",
37
+ "@moonrepo/core-macos-x64": "^0.20.0",
38
+ "@moonrepo/core-windows-x64-msvc": "^0.20.0"
39
39
  }
40
40
  }