@runta/runta-cli 0.1.22 → 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/bin/runta.js +2 -1
- package/package.json +10 -8
- package/README.md +0 -13
package/bin/runta.js
CHANGED
|
@@ -5,6 +5,7 @@ const fs = require("node:fs");
|
|
|
5
5
|
const path = require("node:path");
|
|
6
6
|
|
|
7
7
|
const packages = new Map([
|
|
8
|
+
["darwin:arm64", "runta-darwin-arm64"],
|
|
8
9
|
["linux:x64", "runta-linux-x64"],
|
|
9
10
|
["linux:arm64", "runta-linux-arm64"],
|
|
10
11
|
]);
|
|
@@ -20,7 +21,7 @@ function fail(message) {
|
|
|
20
21
|
|
|
21
22
|
if (!packageName) {
|
|
22
23
|
fail(
|
|
23
|
-
`runta's npm package
|
|
24
|
+
`runta's npm package supports macOS arm64 and Linux x64/arm64; got ${platform}/${arch}.`,
|
|
24
25
|
);
|
|
25
26
|
}
|
|
26
27
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runta/runta-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Runta command-line interface",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://runta.com",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/runta-dev/runta/issues"
|
|
9
9
|
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/runta-dev/runta.git",
|
|
13
|
+
"directory": "packing/npm/cli"
|
|
14
|
+
},
|
|
10
15
|
"publishConfig": {
|
|
11
16
|
"access": "public"
|
|
12
17
|
},
|
|
@@ -17,11 +22,7 @@
|
|
|
17
22
|
"prepack": "test -f bin/runta.js"
|
|
18
23
|
},
|
|
19
24
|
"files": [
|
|
20
|
-
"bin/runta.js"
|
|
21
|
-
"README.md"
|
|
22
|
-
],
|
|
23
|
-
"os": [
|
|
24
|
-
"linux"
|
|
25
|
+
"bin/runta.js"
|
|
25
26
|
],
|
|
26
27
|
"cpu": [
|
|
27
28
|
"x64",
|
|
@@ -31,7 +32,8 @@
|
|
|
31
32
|
"node": ">=16"
|
|
32
33
|
},
|
|
33
34
|
"optionalDependencies": {
|
|
34
|
-
"runta-
|
|
35
|
-
"runta-linux-
|
|
35
|
+
"runta-darwin-arm64": "0.2.0",
|
|
36
|
+
"runta-linux-x64": "0.2.0",
|
|
37
|
+
"runta-linux-arm64": "0.2.0"
|
|
36
38
|
}
|
|
37
39
|
}
|
package/README.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# runta
|
|
2
|
-
|
|
3
|
-
Runta command-line interface distributed through npm.
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
npm install -g @runta/runta-cli
|
|
7
|
-
runta --help
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
This package currently ships Linux binaries for npm's `x64` CPU name (amd64)
|
|
11
|
-
and `arm64`. The top-level package installs a small Node.js launcher and uses
|
|
12
|
-
npm optional dependencies to select the matching native binary package for the
|
|
13
|
-
current platform.
|