alpic 0.0.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/bin/dev.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*
package/bin/dev.js ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env -S node --loader ts-node/esm --disable-warning=ExperimentalWarning
2
+
3
+ import { execute } from "@oclif/core";
4
+
5
+ await execute({ development: true, dir: import.meta.url });
package/bin/run.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\run" %*
package/bin/run.js ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { execute } from "@oclif/core";
4
+
5
+ await execute({ dir: import.meta.url });
@@ -0,0 +1,6 @@
1
+ import { Command } from "@oclif/core";
2
+ export declare class Hello extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ run(): Promise<void>;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { Command } from "@oclif/core";
2
+ export class Hello extends Command {
3
+ static description = "A simple hello world command for testing";
4
+ static examples = ["<%= config.bin %> hello"];
5
+ async run() {
6
+ await this.parse(Hello);
7
+ this.log("Hello, world! 👋");
8
+ }
9
+ }
10
+ //# sourceMappingURL=hello.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hello.js","sourceRoot":"","sources":["../../src/commands/hello.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,OAAO,KAAM,SAAQ,OAAO;IAChC,MAAM,CAAU,WAAW,GAAG,0CAA0C,CAAC;IAEzE,MAAM,CAAU,QAAQ,GAAG,CAAC,yBAAyB,CAAC,CAAC;IAEvD,KAAK,CAAC,GAAG;QACP,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACxB,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAC/B,CAAC"}
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "alpic",
3
+ "version": "0.0.0",
4
+ "description": "The command-line interface for Alpic",
5
+ "homepage": "https://alpic.ai",
6
+ "preferGlobal": true,
7
+ "type": "module",
8
+ "files": [
9
+ "bin",
10
+ "dist"
11
+ ],
12
+ "engines": {
13
+ "node": ">= 18"
14
+ },
15
+ "scripts": {
16
+ "build": "shx rm -rf dist && tsc",
17
+ "format": "biome check --write --error-on-warnings",
18
+ "test": "pnpm run test:unit && pnpm run test:type && pnpm run test:format",
19
+ "test:unit": "vitest run",
20
+ "test:format": "prettier --check .",
21
+ "test:type": "tsc --noEmit"
22
+ },
23
+ "keywords": [
24
+ "chatgpt",
25
+ "app",
26
+ "ai",
27
+ "alpic"
28
+ ],
29
+ "author": "Alpic",
30
+ "license": "ISC",
31
+ "devDependencies": {
32
+ "@oclif/core": "^4.8.0",
33
+ "@total-typescript/tsconfig": "^1.0.4",
34
+ "@types/node": "^25.0.10",
35
+ "biome": "^0.3.3",
36
+ "jsdom": "^27.4.0",
37
+ "shx": "^0.4.0",
38
+ "ts-node": "^10.9.2",
39
+ "typescript": "^5.9.3",
40
+ "vitest": "^4.0.18"
41
+ },
42
+ "packageManager": "pnpm@10.28.0",
43
+ "bin": {
44
+ "alpic": "bin/run.js"
45
+ },
46
+ "oclif": {
47
+ "bin": "alpic",
48
+ "commands": "./dist/commands",
49
+ "dirname": "alpic",
50
+ "topicSeparator": " "
51
+ }
52
+ }