@sparkdotfi/abi-cli 0.2.0-20250801.38da833b-canary
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/dist/cli.js +13 -0
- package/dist/types/cli.d.ts +3 -0
- package/dist/types/cli.d.ts.map +1 -0
- package/package.json +32 -0
package/dist/cli.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import * as path from 'node:path';
|
|
3
|
+
async function main() {
|
|
4
|
+
// biome-ignore lint/suspicious/noConsoleLog: CLI tool
|
|
5
|
+
console.log('Hello World!');
|
|
6
|
+
const rootDir = process.cwd();
|
|
7
|
+
const config = await import(path.join(rootDir, 'abi-cli.config.ts'));
|
|
8
|
+
// biome-ignore lint/suspicious/noConsoleLog: CLI tool
|
|
9
|
+
console.log(config);
|
|
10
|
+
}
|
|
11
|
+
main().catch((e) => {
|
|
12
|
+
console.error(e);
|
|
13
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sparkdotfi/abi-cli",
|
|
3
|
+
"version": "0.2.0-20250801.38da833b-canary",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">=22.0.0"
|
|
6
|
+
},
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"abi-cli": "./dist/cli.js",
|
|
10
|
+
"abi-cli-ts": "tsx ./src/cli.ts"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/sparkdotfi/spark-app.git",
|
|
15
|
+
"directory": "packages/abi-cli"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"lint": "true",
|
|
22
|
+
"verify": "concurrently --names \"LINT,TYPECHECK\" -c \"bgMagenta.bold,bgBlue.bold\" \"pnpm run lint\" \"pnpm run typecheck\"",
|
|
23
|
+
"fix": "cd ../../ && pnpm run check:fix && cd - && pnpm run verify",
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
|
+
"build": "tsc -p tsconfig.build.json",
|
|
26
|
+
"clean": "rm -rf dist",
|
|
27
|
+
"prepublishOnly": "pnpm run clean && pnpm run build"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@sparkdotfi/common-universal": "*"
|
|
31
|
+
}
|
|
32
|
+
}
|