@moonrepo/cli 0.8.1 → 0.10.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 +78 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,83 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.0
4
+
5
+ #### 💥 Breaking
6
+
7
+ - Task outputs are now cached as `.tar.gz` archives, instead of being copied as-is. This shouldn't
8
+ affect consumers, but we're raising awareness in case of any platform specific issues.
9
+ - Renamed the project-level `project.yml` file to `moon.yml`. The `.moon/project.yml` file has not
10
+ changed.
11
+
12
+ #### 🚀 Updates
13
+
14
+ - Projects now support language specific aliases, which can be used as a drop-in replacement for
15
+ names within targets and dependencies.
16
+ - Project and tasks names now support forward slashes (`/`).
17
+ - Added a `node.aliasPackageNames` setting to `.moon/workspace.yml`, that aliases the `package.json`
18
+ name to the respective project.
19
+ - Added an experimental `outputStyle` option to tasks, providing some control of how stdout/stderr
20
+ is handled.
21
+ - Added a `runDepsInParallel` option to tasks, that controls whether task dependencies run in
22
+ parallel or serial (in order).
23
+ - Updated tasks to automatically detect their `type` (when undefined) based on their defined
24
+ `command`. Will attempt to match against common system commands, like `rm`, `mkdir`, etc.
25
+ - When in CI, Node.js will not install dependencies if they were already installed before moon runs.
26
+ This should avoid unintentional and unnecessary double installs.
27
+ - Updated default versions of tools:
28
+ - node 16.15.0 -> 16.16.0
29
+ - npm 8.10.0 -> 8.16.0
30
+ - pnpm 7.1.5 -> 7.9.0
31
+ - yarn 3.2.1 -> 3.2.2
32
+
33
+ #### 🐞 Fixes
34
+
35
+ - Fixed some issues where task outputs were not being hydrated based on the state of the
36
+ target/project.
37
+ - Fixed an issue where task outputs were not considered for hash generation.
38
+
39
+ ## 0.9.1
40
+
41
+ #### 🐞 Fixes
42
+
43
+ - Fixed an issue where a root-level project cannot be configured with a glob. Updated `projects`
44
+ glob matching to support `'.'`.
45
+ - Fixed an issue where moon was setup in a sub-folder. Updated git/svn to traverse upwards to find
46
+ the applicable root (`.git`, etc).
47
+
48
+ ## 0.9.0
49
+
50
+ #### 💥 Breaking
51
+
52
+ We've refactored our smart hashing layer to take into account different platforms (a task's type) in
53
+ an effort to be more accurate, which now results in different hashes for the same build. Any
54
+ previous builds are no longer valid and can be removed.
55
+
56
+ #### 🚀 Updates
57
+
58
+ - Updated task `type` to be automatically inferred when the value is unknown, based on the owning
59
+ project's `language` (`javascript` = node, `bash` = system, etc).
60
+ - Updated `dependsOn` in `project.yml` to support an object form, where a scope (production,
61
+ development, peer) can also be defined. This maps to the appropriate field in `package.json` when
62
+ syncing.
63
+ - Added `batch` as a supported value for the project `language` setting (Windows counter-part to
64
+ `bash`).
65
+ - Added a `cache` option to tasks, which will disable smart hashing and output caching.
66
+ - Added a `node.dependencyVersionFormat` setting to `.moon/workspace.yml`, to customize the version
67
+ format when syncing dependencies.
68
+ - Added environment variable support to task `inputs` and `actionRunner.implicitInputs`, in the
69
+ format of `$ENV_VAR`.
70
+
71
+ #### 🐞 Fixes
72
+
73
+ - Fixed an issue where pnpm didn't work with `node-linker=isolated` for nested node modules.
74
+ - Fixed an issue where failing processes would display an empty error message.
75
+
76
+ #### ⚙️ Internal
77
+
78
+ - Outputs are now copied to `.moon/cache/out` instead of being hardlinked.
79
+ - Package binaries are now resolved to their canonical path when a symlink.
80
+
3
81
  ### 0.8.1
4
82
 
5
83
  #### 🐞 Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.8.1",
3
+ "version": "0.10.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.8.1",
33
- "@moonrepo/core-linux-x64-musl": "^0.8.1",
34
- "@moonrepo/core-macos-arm64": "^0.8.1",
35
- "@moonrepo/core-macos-x64": "^0.8.1",
36
- "@moonrepo/core-windows-x64-msvc": "^0.8.1"
32
+ "@moonrepo/core-linux-x64-gnu": "^0.10.0",
33
+ "@moonrepo/core-linux-x64-musl": "^0.10.0",
34
+ "@moonrepo/core-macos-arm64": "^0.10.0",
35
+ "@moonrepo/core-macos-x64": "^0.10.0",
36
+ "@moonrepo/core-windows-x64-msvc": "^0.10.0"
37
37
  }
38
38
  }