@moonrepo/cli 0.7.0 → 0.8.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.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
This release was largely focused on interoperability with the Node.js ecosystem, specifically
|
|
6
|
+
`package.json` scripts. It's the first step in many steps, so stay tuned!
|
|
7
|
+
|
|
8
|
+
#### 🚀 Updates
|
|
9
|
+
|
|
10
|
+
- Added a special `noop` command for tasks.
|
|
11
|
+
- Added a `moon migrate from-package-json` command for migrating `package.json` scripts to
|
|
12
|
+
`project.yml` tasks.
|
|
13
|
+
- Added a `moon sync` command for manually syncing all projects in the workspace to a healthy state.
|
|
14
|
+
- Added a `node.inferTasksFromScripts` setting to `.moon/workspace.yml`, that will automatically
|
|
15
|
+
infer tasks from `package.json` scripts (with caveats).
|
|
16
|
+
- Added aliases for popular commands:
|
|
17
|
+
- `moon r` -> `moon run`
|
|
18
|
+
- `moon p` -> `moon project`
|
|
19
|
+
- `moon pg` -> `moon project-graph`
|
|
20
|
+
- `moon dg` -> `moon dep-graph`
|
|
21
|
+
|
|
22
|
+
#### 🐞 Fixes
|
|
23
|
+
|
|
24
|
+
- Fixed an issue where files being hashed with git were not being cached accordingly.
|
|
25
|
+
|
|
26
|
+
#### ⚙️ Internal
|
|
27
|
+
|
|
28
|
+
- Runfiles are no longer cleaned up when running tasks.
|
|
29
|
+
- Reworked `package.json` and `tsconfig.json` handling to avoid race conditions.
|
|
30
|
+
|
|
3
31
|
## 0.7.0
|
|
4
32
|
|
|
5
33
|
#### 💥 Breaking
|
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ and provide a first-class developer experience.
|
|
|
51
51
|
_not_ an "all at once adoption". Migrate project-by-project, or task-by-task, it's up to you!
|
|
52
52
|
- **Reduced scripts confusion** - `package.json` scripts can become unwieldy, very quickly. No more
|
|
53
53
|
duplicating the same script into every package, or reverse-engineering which root scripts to use.
|
|
54
|
-
With moon, all you need to know is the project
|
|
54
|
+
With moon, all you need to know is the project name, and a task name.
|
|
55
55
|
- **Ensure correct versions** - Whether it's Node.js or npm, ensure the same version of each tool is
|
|
56
56
|
the same across _every_ developer's environment. No more wasted hours of debugging.
|
|
57
57
|
- **Automation built-in** - When applicable, moon will automatically install `node_modules`, or sync
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonrepo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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.
|
|
33
|
-
"@moonrepo/core-linux-x64-musl": "^0.
|
|
34
|
-
"@moonrepo/core-macos-arm64": "^0.
|
|
35
|
-
"@moonrepo/core-macos-x64": "^0.
|
|
36
|
-
"@moonrepo/core-windows-x64-msvc": "^0.
|
|
32
|
+
"@moonrepo/core-linux-x64-gnu": "^0.8.0",
|
|
33
|
+
"@moonrepo/core-linux-x64-musl": "^0.8.0",
|
|
34
|
+
"@moonrepo/core-macos-arm64": "^0.8.0",
|
|
35
|
+
"@moonrepo/core-macos-x64": "^0.8.0",
|
|
36
|
+
"@moonrepo/core-windows-x64-msvc": "^0.8.0"
|
|
37
37
|
}
|
|
38
38
|
}
|