@allscale/cli 0.1.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/README.md +482 -0
- package/bin/dev.js +11 -0
- package/bin/run-oclif.js +69 -0
- package/bin/run.js +6 -0
- package/dist/commands/build-info.js +16 -0
- package/dist/commands/claim-link/claim.js +17 -0
- package/dist/commands/claim-link/create.js +75 -0
- package/dist/commands/claim-link/get.js +18 -0
- package/dist/commands/claim-link/list.js +18 -0
- package/dist/commands/claim-link/preview.js +18 -0
- package/dist/commands/claim-link/status.js +17 -0
- package/dist/commands/describe.js +16 -0
- package/dist/commands/device-login.js +40 -0
- package/dist/commands/invoice/get.js +18 -0
- package/dist/commands/invoice/list.js +19 -0
- package/dist/commands/invoice/pay.js +66 -0
- package/dist/commands/invoice/received.js +19 -0
- package/dist/commands/invoice/send.js +167 -0
- package/dist/commands/invoice/sent.js +18 -0
- package/dist/commands/invoice/update.js +18 -0
- package/dist/commands/logout.js +17 -0
- package/dist/commands/operations.js +16 -0
- package/dist/commands/otp-login.js +23 -0
- package/dist/commands/otp-send.js +17 -0
- package/dist/commands/payout/send.js +23 -0
- package/dist/commands/payout/status.js +18 -0
- package/dist/commands/scope.js +22 -0
- package/dist/commands/store/create.js +28 -0
- package/dist/commands/transaction/get.js +18 -0
- package/dist/commands/transaction/list.js +18 -0
- package/dist/commands/wallet/list.js +18 -0
- package/dist/commands/wallet/send.js +63 -0
- package/dist/commands/whoami.js +18 -0
- package/dist/hooks/version-suffix.js +2 -0
- package/dist/index.js +17 -0
- package/dist/lib/help.js +3 -0
- package/oclif.manifest.json +3329 -0
- package/package.json +135 -0
package/package.json
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@allscale/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Command-line interface for AllScale — drives the same actions a user can take in app.allscale.io",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"allscale",
|
|
7
|
+
"cli",
|
|
8
|
+
"payments",
|
|
9
|
+
"stablecoin",
|
|
10
|
+
"wallet",
|
|
11
|
+
"graphql",
|
|
12
|
+
"typescript",
|
|
13
|
+
"oclif"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://app.allscale.io",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"email": "hi@allscale.io"
|
|
18
|
+
},
|
|
19
|
+
"license": "UNLICENSED",
|
|
20
|
+
"type": "commonjs",
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=20.10"
|
|
23
|
+
},
|
|
24
|
+
"bin": {
|
|
25
|
+
"allscale": "./bin/run.js"
|
|
26
|
+
},
|
|
27
|
+
"main": "dist/index.js",
|
|
28
|
+
"files": [
|
|
29
|
+
"bin",
|
|
30
|
+
"dist",
|
|
31
|
+
"!dist/**/*.map",
|
|
32
|
+
"oclif.manifest.json"
|
|
33
|
+
],
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"oclif": {
|
|
38
|
+
"bin": "allscale",
|
|
39
|
+
"commands": "./dist/commands",
|
|
40
|
+
"topicSeparator": " ",
|
|
41
|
+
"helpClass": "./dist/lib/help",
|
|
42
|
+
"helpOptions": {
|
|
43
|
+
"flagSortOrder": "none"
|
|
44
|
+
},
|
|
45
|
+
"additionalHelpFlags": [
|
|
46
|
+
"-h"
|
|
47
|
+
],
|
|
48
|
+
"additionalVersionFlags": [
|
|
49
|
+
"-v"
|
|
50
|
+
],
|
|
51
|
+
"topics": {
|
|
52
|
+
"claim-link": {
|
|
53
|
+
"description": "Create and fund Claim Links through the browser bridge; inspect, list, claim, and preview them."
|
|
54
|
+
},
|
|
55
|
+
"invoice": {
|
|
56
|
+
"description": "Create, list, inspect, update, and pay invoices."
|
|
57
|
+
},
|
|
58
|
+
"payout": {
|
|
59
|
+
"description": "Auto-payout authorization is set up in the AllScale dashboard: Store Settings → Payout Authorization. This CLI inspects the resulting session (`payout status`) and sends payouts from it (`payout send`)."
|
|
60
|
+
},
|
|
61
|
+
"store": {
|
|
62
|
+
"description": "Create stores and issue store API credentials."
|
|
63
|
+
},
|
|
64
|
+
"transaction": {
|
|
65
|
+
"description": "List and inspect transactions."
|
|
66
|
+
},
|
|
67
|
+
"wallet": {
|
|
68
|
+
"description": "List wallets and send supported stablecoins."
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"hooks": {
|
|
72
|
+
"finally": [
|
|
73
|
+
"./dist/hooks/version-suffix"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build": "tsup",
|
|
79
|
+
"build:internal": "ALLSCALE_BUILD_TARGET=internal tsup",
|
|
80
|
+
"manifest": "oclif manifest",
|
|
81
|
+
"prepack": "npm run build && npm run manifest",
|
|
82
|
+
"prepublishOnly": "npm run build && npm run manifest && node scripts/assert-publish-safe.mjs",
|
|
83
|
+
"verify:publish-safe": "node scripts/assert-publish-safe.mjs",
|
|
84
|
+
"test:smoke:public": "node scripts/smoke-public-build.mjs",
|
|
85
|
+
"test": "vitest run",
|
|
86
|
+
"test:watch": "vitest",
|
|
87
|
+
"pretest:e2e": "bash scripts/build-e2e-target.sh",
|
|
88
|
+
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
89
|
+
"test:e2e:watch": "vitest --config vitest.e2e.config.ts",
|
|
90
|
+
"test:e2e:coverage": "bash scripts/build-e2e-target.sh && rm -rf coverage-e2e && E2E_COVERAGE_DIR=coverage-e2e/v8 vitest run --config vitest.e2e.config.ts && npm run report:e2e",
|
|
91
|
+
"report:e2e": "node scripts/coverage-report.mjs",
|
|
92
|
+
"coverage:merged": "vitest run --coverage && npm run test:e2e:coverage && node scripts/coverage-report.mjs --merged",
|
|
93
|
+
"coverage:gate": "node scripts/assert-coverage.mjs",
|
|
94
|
+
"lint": "eslint src tests scripts *.mjs *.ts",
|
|
95
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.typecheck.json",
|
|
96
|
+
"dev": "node ./bin/dev.js",
|
|
97
|
+
"sync-schema": "ts-node codegen/sync-schema.ts",
|
|
98
|
+
"codegen": "ts-node codegen/run.ts",
|
|
99
|
+
"codegen:accept-descriptions": "ts-node codegen/run.ts --accept-descriptions"
|
|
100
|
+
},
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"@iarna/toml": "^2.2.5",
|
|
103
|
+
"@noble/hashes": "^1.8.0",
|
|
104
|
+
"@oclif/core": "^4.5.4",
|
|
105
|
+
"@turnkey/api-key-stamper": "^0.6.2",
|
|
106
|
+
"@turnkey/crypto": "^2.8.11",
|
|
107
|
+
"@turnkey/http": "^3.17.0",
|
|
108
|
+
"handlebars": "^4.7.9"
|
|
109
|
+
},
|
|
110
|
+
"optionalDependencies": {
|
|
111
|
+
"keytar": "^7.9.0"
|
|
112
|
+
},
|
|
113
|
+
"overrides": {
|
|
114
|
+
"brace-expansion": "5.0.8",
|
|
115
|
+
"esbuild": "0.28.1",
|
|
116
|
+
"js-yaml": "4.3.0",
|
|
117
|
+
"postcss": "8.5.18"
|
|
118
|
+
},
|
|
119
|
+
"devDependencies": {
|
|
120
|
+
"@eslint/js": "^9.39.4",
|
|
121
|
+
"@oclif/test": "^4.0.10",
|
|
122
|
+
"@types/node": "^20.14.10",
|
|
123
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
124
|
+
"eslint": "^9.13.0",
|
|
125
|
+
"globals": "^14.0.0",
|
|
126
|
+
"graphql": "^16.14.2",
|
|
127
|
+
"monocart-coverage-reports": "^2.12.12",
|
|
128
|
+
"oclif": "^4.15.0",
|
|
129
|
+
"ts-node": "^10.9.2",
|
|
130
|
+
"tsup": "^8.3.0",
|
|
131
|
+
"typescript": "^5.6.3",
|
|
132
|
+
"typescript-eslint": "^8.59.2",
|
|
133
|
+
"vitest": "^4.1.10"
|
|
134
|
+
}
|
|
135
|
+
}
|