@moonrepo/cli 0.9.0 → 0.11.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 +76 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.0
4
+
5
+ #### 🚀 Updates
6
+
7
+ - Added a `moon clean` command for manually clearing the cache.
8
+ - Added an `actionRunner.cacheLifetime` setting to `.moon/workspace.yml`, for controlling the stale
9
+ cache threshold.
10
+ - Added an `envFile` option to tasks, allowing `.env` files to be loaded for environment variables.
11
+ - Added a `local` setting to tasks, that marks the task for local development only.
12
+ - Updated the `outputStyle` task option with additional variants: `buffer`, `buffer-only-failure`,
13
+ `hash`, `none`.
14
+ - Updated `moon run` to support running multiple targets concurrently.
15
+
16
+ #### 🐞 Fixes
17
+
18
+ - Fixed an issue where output hydration was bypassing "off" cache.
19
+ - Fixed an issue where parsing a node module binary would panic.
20
+ - Fixed an issue where moon would panic attempting to read non-JS code shipped in node modules (Rust
21
+ or Go binaries).
22
+ - Fixed an issue where project globs would pickup dot folders (`.git`, `.moon`, etc) or
23
+ `node_modules`.
24
+ - Fixed an issue where project names were stripping capital letters when using globs.
25
+
26
+ #### ⚙️ Internal
27
+
28
+ - Updated Rust to v1.63.
29
+
30
+ ## 0.10.0
31
+
32
+ #### 💥 Breaking
33
+
34
+ - Task outputs are now cached as `.tar.gz` archives, instead of being copied as-is. This shouldn't
35
+ affect consumers, but we're raising awareness in case of any platform specific issues.
36
+ - Renamed the project-level `project.yml` file to `moon.yml`. The `.moon/project.yml` file has not
37
+ changed.
38
+
39
+ #### 🚀 Updates
40
+
41
+ - Projects now support language specific aliases, which can be used as a drop-in replacement for
42
+ names within targets and dependencies.
43
+ - Project and tasks names now support forward slashes (`/`).
44
+ - Added a `node.aliasPackageNames` setting to `.moon/workspace.yml`, that aliases the `package.json`
45
+ name to the respective project.
46
+ - Added an experimental `outputStyle` option to tasks, providing some control of how stdout/stderr
47
+ is handled.
48
+ - Added a `runDepsInParallel` option to tasks, that controls whether task dependencies run in
49
+ parallel or serial (in order).
50
+ - Updated tasks to automatically detect their `type` (when undefined) based on their defined
51
+ `command`. Will attempt to match against common system commands, like `rm`, `mkdir`, etc.
52
+ - When in CI, Node.js will not install dependencies if they were already installed before moon runs.
53
+ This should avoid unintentional and unnecessary double installs.
54
+ - Updated default versions of tools:
55
+ - node 16.15.0 -> 16.16.0
56
+ - npm 8.10.0 -> 8.16.0
57
+ - pnpm 7.1.5 -> 7.9.0
58
+ - yarn 3.2.1 -> 3.2.2
59
+
60
+ #### 🐞 Fixes
61
+
62
+ - Fixed some issues where task outputs were not being hydrated based on the state of the
63
+ target/project.
64
+ - Fixed an issue where task outputs were not considered for hash generation.
65
+
66
+ ## 0.9.1
67
+
68
+ #### 🐞 Fixes
69
+
70
+ - Fixed an issue where a root-level project cannot be configured with a glob. Updated `projects`
71
+ glob matching to support `'.'`.
72
+ - Fixed an issue where moon was setup in a sub-folder. Updated git/svn to traverse upwards to find
73
+ the applicable root (`.git`, etc).
74
+
3
75
  ## 0.9.0
4
76
 
5
77
  #### 💥 Breaking
@@ -158,6 +230,10 @@ This release was largely focused on interoperability with the Node.js ecosystem,
158
230
 
159
231
  - More fixes around terminal color output and handling.
160
232
 
233
+ #### 📚 Documentation
234
+
235
+ - Add "released in version" badges/labels to new features across all docs.
236
+
161
237
  #### ⚙️ Internal
162
238
 
163
239
  - Temporarily disabling offline internet checks as it has issues with VPNs. Will revisit in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "description": "moon command line and core system.",
5
5
  "keywords": [
6
6
  "moon",
@@ -29,10 +29,10 @@
29
29
  "detect-libc": "^2.0.1"
30
30
  },
31
31
  "optionalDependencies": {
32
- "@moonrepo/core-linux-x64-gnu": "^0.9.0",
33
- "@moonrepo/core-linux-x64-musl": "^0.9.0",
34
- "@moonrepo/core-macos-arm64": "^0.9.0",
35
- "@moonrepo/core-macos-x64": "^0.9.0",
36
- "@moonrepo/core-windows-x64-msvc": "^0.9.0"
32
+ "@moonrepo/core-linux-x64-gnu": "^0.11.0",
33
+ "@moonrepo/core-linux-x64-musl": "^0.11.0",
34
+ "@moonrepo/core-macos-arm64": "^0.11.0",
35
+ "@moonrepo/core-macos-x64": "^0.11.0",
36
+ "@moonrepo/core-windows-x64-msvc": "^0.11.0"
37
37
  }
38
38
  }