@ahqstore/cli 0.0.5 → 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 +43 -0
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# AHQ Store CLI
|
|
2
|
+
|
|
3
|
+
The CLI for devs making AHQ Store Apps
|
|
4
|
+
|
|
5
|
+
This version: NPMJS-PREBUILT-BINARIES
|
|
6
|
+
|
|
7
|
+
Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
$ npm i -g @ahqstore/cli
|
|
11
|
+
$ yarn global add @ahqstore/cli
|
|
12
|
+
$ pnpm add -g @ahqstore/cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Help Command
|
|
16
|
+
|
|
17
|
+
The help command shows all available commands
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
$ ahqstore --help
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Create .ahqstore config
|
|
24
|
+
|
|
25
|
+
Creates the .ahqstore/\* config files to make your app ready to be built
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
$ ahqstore --create {--force}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Build a project
|
|
32
|
+
|
|
33
|
+
Builds your app based on the config files and environment variables
|
|
34
|
+
ENV:
|
|
35
|
+
|
|
36
|
+
> `APP_ID` (Optional) Application Id (only required if your config has more than 1 appIds)
|
|
37
|
+
> `RELEASE_ID` GitHub Release Id
|
|
38
|
+
> `GH_TOKEN` GitHub Personal Access Token / GitHub Actions Token
|
|
39
|
+
> `GITHUB_REPOSITORY` GitHub owner & repo name, eg ahqstore/app
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
$ ahqstore build
|
|
43
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ahqstore/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "The AHQ Store CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/cli.js",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"postinstall": "node install.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ahqstore/cli-rs-win32-x64": "0.
|
|
16
|
-
"@ahqstore/cli-rs-darwin-x64": "0.
|
|
17
|
-
"@ahqstore/cli-rs-darwin-arm64": "0.
|
|
18
|
-
"@ahqstore/cli-rs-linux-x64": "0.
|
|
19
|
-
"@ahqstore/cli-rs-linux-arm64": "0.
|
|
15
|
+
"@ahqstore/cli-rs-win32-x64": "0.1.1",
|
|
16
|
+
"@ahqstore/cli-rs-darwin-x64": "0.1.1",
|
|
17
|
+
"@ahqstore/cli-rs-darwin-arm64": "0.1.1",
|
|
18
|
+
"@ahqstore/cli-rs-linux-x64": "0.1.1",
|
|
19
|
+
"@ahqstore/cli-rs-linux-arm64": "0.1.1",
|
|
20
20
|
"chalk": "^5.3.0"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
@@ -31,5 +31,8 @@
|
|
|
31
31
|
"bugs": {
|
|
32
32
|
"url": "https://github.com/ahqstore/cli/issues"
|
|
33
33
|
},
|
|
34
|
-
"homepage": "https://github.com/ahqstore/cli#readme"
|
|
34
|
+
"homepage": "https://github.com/ahqstore/cli#readme",
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=16"
|
|
37
|
+
}
|
|
35
38
|
}
|