pudu-ai 0.2.2 → 0.2.3

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/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- #!/usr/bin/env node
3
2
 
4
3
  // src/cli/parse-args.ts
5
4
  function parseArgs(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pudu-ai",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Pudu-AI — local AI hardware & benchmark lab for the terminal",
5
5
  "keywords": [
6
6
  "ai",
@@ -24,7 +24,7 @@
24
24
  "author": "devjaime",
25
25
  "type": "module",
26
26
  "bin": {
27
- "pudu-ai": "./bin/pudu-ai.mjs"
27
+ "pudu-ai": "dist/cli/index.js"
28
28
  },
29
29
  "exports": {
30
30
  ".": "./dist/cli/index.js"
@@ -39,7 +39,7 @@
39
39
  "node": ">=20"
40
40
  },
41
41
  "scripts": {
42
- "build": "tsc -p tsconfig.build.json",
42
+ "build": "npx --yes esbuild src/cli/index.ts --bundle --platform=node --format=esm --outfile=dist/cli/index.js --packages=external --jsx=automatic && node scripts/add-shebang.mjs",
43
43
  "dev": "tsx src/cli/index.ts",
44
44
  "pudu-ai": "tsx src/cli/index.ts",
45
45
  "start": "node dist/cli/index.js",
@@ -47,7 +47,7 @@
47
47
  "test:watch": "vitest",
48
48
  "typecheck": "tsc --noEmit -p tsconfig.json",
49
49
  "lint": "tsc --noEmit -p tsconfig.json",
50
- "prepublishOnly": "npm run typecheck && npm test && npm run build"
50
+ "prepublishOnly": "npm run build"
51
51
  },
52
52
  "dependencies": {
53
53
  "execa": "^9.6.0",