@moonrepo/cli 0.0.1 → 0.0.6
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/LICENSE +1 -1
- package/README.md +36 -0
- package/moon +1 -0
- package/package.json +11 -10
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021
|
|
3
|
+
Copyright (c) 2021 moon, Miles Johnson
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
|
6
6
|
associated documentation files (the "Software"), to deal in the Software without restriction,
|
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonrepo/cli",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "moon command line and core system.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"moon",
|
|
7
7
|
"repo",
|
|
@@ -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": {
|
|
@@ -23,7 +27,7 @@
|
|
|
23
27
|
},
|
|
24
28
|
"repository": {
|
|
25
29
|
"type": "git",
|
|
26
|
-
"url": "https://github.com/
|
|
30
|
+
"url": "https://github.com/moonrepo/moon",
|
|
27
31
|
"directory": "packages/cli"
|
|
28
32
|
},
|
|
29
33
|
"scripts": {
|
|
@@ -33,12 +37,9 @@
|
|
|
33
37
|
"detect-libc": "^2.0.1"
|
|
34
38
|
},
|
|
35
39
|
"optionalDependencies": {
|
|
36
|
-
"@moonrepo/core-linux-x64-gnu": "^0.0.
|
|
37
|
-
"@moonrepo/core-linux-x64-musl": "^0.0.
|
|
38
|
-
"@moonrepo/core-macos-x64": "^0.0.
|
|
39
|
-
"@moonrepo/core-windows-x64-msvc": "^0.0.
|
|
40
|
-
},
|
|
41
|
-
"engines": {
|
|
42
|
-
"node": ">=12.17.0"
|
|
40
|
+
"@moonrepo/core-linux-x64-gnu": "^0.0.6",
|
|
41
|
+
"@moonrepo/core-linux-x64-musl": "^0.0.6",
|
|
42
|
+
"@moonrepo/core-macos-x64": "^0.0.6",
|
|
43
|
+
"@moonrepo/core-windows-x64-msvc": "^0.0.6"
|
|
43
44
|
}
|
|
44
45
|
}
|