@moonrepo/cli 0.0.4 → 0.0.7

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 (3) hide show
  1. package/README.md +36 -0
  2. package/moon +1 -0
  3. package/package.json +9 -5
package/README.md CHANGED
@@ -1 +1,37 @@
1
1
  # @moonrepo/cli
2
+
3
+ The official CLI for [moon](https://moonrepo.dev), a build system and repo management tool for the
4
+ JavaScript ecosystem, written in Rust!
5
+
6
+ - [Documentation](https://moonrepo.dev/docs)
7
+ - [Getting started](https://moonrepo.dev/docs/install)
8
+
9
+ ## Requirements
10
+
11
+ - Node.js >= 14.15
12
+
13
+ ## Installation
14
+
15
+ moon can be installed with npm, pnpm, or yarn.
16
+
17
+ ```bash
18
+ # Install the dependency and create the binary
19
+ yarn add --dev @moonrepo/cli
20
+ yarn install
21
+
22
+ # Access the Rust binary and initialize moon
23
+ $(yarn bin moon) init
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ Once [projects](https://moonrepo.dev/docs/create-project) and
29
+ [tasks](https://moonrepo.dev/docs/create-task) have been configured, you can run tasks with:
30
+
31
+ ```bash
32
+ # Run `lint` in project `app`
33
+ moon run app:lint
34
+
35
+ # Run `lint` in all projects
36
+ moon run :lint
37
+ ```
package/moon ADDED
@@ -0,0 +1 @@
1
+ This file exists so that npm/yarn link the binary to `node_modules/.bin`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.0.4",
3
+ "version": "0.0.7",
4
4
  "description": "moon command line and core system.",
5
5
  "keywords": [
6
6
  "moon",
@@ -16,6 +16,10 @@
16
16
  "cpu": [
17
17
  "x64"
18
18
  ],
19
+ "files": [
20
+ "moon",
21
+ "postinstall.js"
22
+ ],
19
23
  "author": "Miles Johnson",
20
24
  "license": "MIT",
21
25
  "bin": {
@@ -33,9 +37,9 @@
33
37
  "detect-libc": "^2.0.1"
34
38
  },
35
39
  "optionalDependencies": {
36
- "@moonrepo/core-linux-x64-gnu": "^0.0.4",
37
- "@moonrepo/core-linux-x64-musl": "^0.0.4",
38
- "@moonrepo/core-macos-x64": "^0.0.4",
39
- "@moonrepo/core-windows-x64-msvc": "^0.0.4"
40
+ "@moonrepo/core-linux-x64-gnu": "^0.0.7",
41
+ "@moonrepo/core-linux-x64-musl": "^0.0.7",
42
+ "@moonrepo/core-macos-x64": "^0.0.7",
43
+ "@moonrepo/core-windows-x64-msvc": "^0.0.7"
40
44
  }
41
45
  }