@yuou-finance/cli 0.1.0 → 0.1.1
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/README.md +3 -3
- package/package.json +7 -5
- package/scripts/run.js +1 -0
package/README.md
CHANGED
|
@@ -7,14 +7,14 @@ This Go CLI calls the API Key based `CliInvocationController` in `hscs-cli-servi
|
|
|
7
7
|
After the npm packages have been published to your configured registry, install the command with Node.js 18 or newer. Go is not needed on the installation machine.
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npm install -g @yuou-finance/cli@0.1.
|
|
10
|
+
npm install -g @yuou-finance/cli@0.1.1
|
|
11
11
|
hscs --help
|
|
12
12
|
|
|
13
13
|
# Run without a global install.
|
|
14
|
-
npx --yes @yuou-finance/cli@0.1.
|
|
14
|
+
npx --yes @yuou-finance/cli@0.1.1 --help
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
The
|
|
17
|
+
The packages contain binaries for macOS arm64, macOS x64, Windows x64, and Linux x64. The platform-specific binary is installed as an optional npm dependency. See [the npm release guide](docs/npm-release.md) for building and publishing all five packages.
|
|
18
18
|
|
|
19
19
|
## Build and install
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuou-finance/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "HSCS command-line interface",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"os": [
|
|
16
16
|
"darwin",
|
|
17
|
-
"win32"
|
|
17
|
+
"win32",
|
|
18
|
+
"linux"
|
|
18
19
|
],
|
|
19
20
|
"cpu": [
|
|
20
21
|
"x64",
|
|
@@ -24,8 +25,9 @@
|
|
|
24
25
|
"node": ">=18"
|
|
25
26
|
},
|
|
26
27
|
"optionalDependencies": {
|
|
27
|
-
"@yuou-finance/cli-darwin-arm64": "0.1.
|
|
28
|
-
"@yuou-finance/cli-darwin-x64": "0.1.
|
|
29
|
-
"@yuou-finance/cli-win32-x64": "0.1.
|
|
28
|
+
"@yuou-finance/cli-darwin-arm64": "0.1.1",
|
|
29
|
+
"@yuou-finance/cli-darwin-x64": "0.1.1",
|
|
30
|
+
"@yuou-finance/cli-win32-x64": "0.1.1",
|
|
31
|
+
"@yuou-finance/cli-linux-x64": "0.1.1"
|
|
30
32
|
}
|
|
31
33
|
}
|
package/scripts/run.js
CHANGED
|
@@ -8,6 +8,7 @@ const platforms = {
|
|
|
8
8
|
'darwin-arm64': ['@yuou-finance/cli-darwin-arm64', 'hscs'],
|
|
9
9
|
'darwin-x64': ['@yuou-finance/cli-darwin-x64', 'hscs'],
|
|
10
10
|
'win32-x64': ['@yuou-finance/cli-win32-x64', 'hscs.exe'],
|
|
11
|
+
'linux-x64': ['@yuou-finance/cli-linux-x64', 'hscs'],
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
const platform = `${process.platform}-${process.arch}`
|