@moonrepo/cli 0.0.8 → 0.2.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 ADDED
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+
3
+ ## 0.2.0
4
+
5
+ #### 🚀 Updates
6
+
7
+ - Added support for macOS silicon (`aarch64-apple-darwin`).
8
+ - Added support for Linux musl (`x86_64-unknown-linux-musl`).
9
+ - Added support for the `MOON_LOG` environment variable.
10
+ - Added duration timestamps to all ran tasks in the terminal.
11
+ - Updated the JSON schemas to use the new package manager versions.
12
+ - Updated git file diffing to use `git merge-base` as the base reference.
13
+ - Updated `moon run` to exit early if there are no tasks for the provided target.
14
+ - Hashing will now ignore files that matched a pattern found in the root `.gitignore`.
15
+ - Passthrough args can now be defined for multi-target runs (`:target`).
16
+
17
+ #### 🐞 Fixes
18
+
19
+ - Fixed an issue with the `.moon/workspace.yml` template being generating with invalid whitespace
20
+ during `moon init`.
package/README.md CHANGED
@@ -15,12 +15,11 @@ JavaScript ecosystem, written in Rust!
15
15
  moon can be installed with npm, pnpm, or yarn.
16
16
 
17
17
  ```bash
18
- # Install the dependency and create the binary
18
+ # Install the dependency
19
19
  yarn add --dev @moonrepo/cli
20
- yarn install
21
20
 
22
- # Access the Rust binary and initialize moon
23
- $(yarn bin moon) init
21
+ # Initialize moon in the repo
22
+ npx @moonrepo/cli init
24
23
  ```
25
24
 
26
25
  ## Usage
package/moon CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.0.8",
3
+ "version": "0.2.0",
4
4
  "description": "moon command line and core system.",
5
5
  "keywords": [
6
6
  "moon",
@@ -37,9 +37,10 @@
37
37
  "detect-libc": "^2.0.1"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@moonrepo/core-linux-x64-gnu": "^0.0.8",
41
- "@moonrepo/core-linux-x64-musl": "^0.0.7",
42
- "@moonrepo/core-macos-x64": "^0.0.8",
43
- "@moonrepo/core-windows-x64-msvc": "^0.0.8"
40
+ "@moonrepo/core-linux-x64-gnu": "^0.2.0",
41
+ "@moonrepo/core-linux-x64-musl": "^0.2.0",
42
+ "@moonrepo/core-macos-arm64": "^0.2.0",
43
+ "@moonrepo/core-macos-x64": "^0.2.0",
44
+ "@moonrepo/core-windows-x64-msvc": "^0.2.0"
44
45
  }
45
46
  }
package/postinstall.js CHANGED
@@ -38,10 +38,6 @@ try {
38
38
  }
39
39
  } catch {
40
40
  pkgPath = path.join(__dirname, '../../target/release');
41
-
42
- if (!fs.existsSync(path.join(pkgPath, binary))) {
43
- pkgPath = path.join(__dirname, '../../target/debug');
44
- }
45
41
  }
46
42
 
47
43
  try {