@ahqstore/cli 1.0.0-rc1

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.
@@ -0,0 +1,27 @@
1
+ name: Publish Node.js Package
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ publish-npm:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
+ - name: Setup Node
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: latest
19
+ registry-url: "https://registry.npmjs.org"
20
+
21
+ - name: Install Deps
22
+ run: npm install
23
+
24
+ - name: Publish
25
+ run: npm publish --access public
26
+ env:
27
+ NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # AHQ Store CLI Tool (astore cli)
2
+
3
+ **NOTE ⚠️:**
4
+ - This CLI tool will only be useful after **AHQ Store V1 is released**
5
+ - This **CLI is not stable currently**, tho it'll be used from **AHQ Store v0.10.0** onwards
6
+
7
+ ## Install
8
+ ```bash
9
+ #pnpm
10
+ pnpm add -g ahq-store-cli
11
+
12
+ #npm
13
+ npm install -g ahq-store-cli
14
+
15
+ #yarn
16
+ yarn global add ahq-store-cli
17
+ ```
18
+
19
+ ## Init an AHQ Store App in a repo
20
+ This cli supports monorepo
21
+
22
+ Upto **5** apps per repo
23
+ ```bash
24
+ # Initialize the ahq store project inside a repo
25
+ astore
26
+ ```
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@ahqstore/cli",
3
+ "version": "1.0.0-rc1",
4
+ "description": "The AHQ Store Cli Tool",
5
+ "type": "module",
6
+ "scripts": {},
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/ahqstore/cli.git"
10
+ },
11
+ "keywords": [
12
+ "cli",
13
+ "ahq",
14
+ "store",
15
+ "open",
16
+ "sourced",
17
+ "app"
18
+ ],
19
+ "author": "AHQ Store Devs",
20
+ "license": "ISC",
21
+ "bugs": {
22
+ "url": "https://github.com/ahqstore/cli/issues"
23
+ },
24
+ "homepage": "https://github.com/ahqstore/cli#readme",
25
+ "dependencies": {
26
+ "chalk": "^5.2.0",
27
+ "inquirer": "^9.2.7"
28
+ },
29
+ "bin": {
30
+ "astore": "./src/cli.js"
31
+ }
32
+ }
package/src/cli.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+