cli4ai 1.2.8 → 1.2.10
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.
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
import { homedir } from 'os';
|
|
11
11
|
import { join } from 'path';
|
|
12
12
|
import { existsSync, mkdirSync } from 'fs';
|
|
13
|
+
import { createRequire } from 'module';
|
|
14
|
+
const require = createRequire(import.meta.url);
|
|
13
15
|
// ═══════════════════════════════════════════════════════════════════════════
|
|
14
16
|
// SQLITE AVAILABILITY CHECK
|
|
15
17
|
// ═══════════════════════════════════════════════════════════════════════════
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cli4ai",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"description": "The package manager for AI CLI tools - cli4ai.com",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev": "npx tsx src/bin.ts",
|
|
11
|
-
"build": "tsc",
|
|
11
|
+
"build": "tsc && cp -r src/dashboard/public dist/dashboard/",
|
|
12
12
|
"prepublishOnly": "npm run build",
|
|
13
13
|
"typecheck": "tsc --noEmit",
|
|
14
14
|
"test": "vitest run",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"files": [
|
|
56
56
|
"dist/**/*.js",
|
|
57
57
|
"dist/**/*.d.ts",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
58
|
+
"dist/dashboard/public/**/*",
|
|
59
|
+
"templates/**/*"
|
|
60
60
|
],
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|