@cli4ai/mongodb 1.0.5 → 1.0.7

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.
Files changed (3) hide show
  1. package/cli4ai.json +3 -2
  2. package/package.json +2 -2
  3. package/run.ts +1 -1
package/cli4ai.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "mongodb",
3
- "version": "1.0.4",
3
+ "version": "1.0.7",
4
4
  "description": "MongoDB queries",
5
5
  "author": "cliforai",
6
6
  "license": "MIT",
7
7
  "entry": "run.ts",
8
- "runtime": "bun",
8
+ "runtime": "node",
9
9
  "keywords": ["mongodb", "database", "nosql", "query"],
10
10
  "commands": {
11
11
  "databases": { "description": "List all databases" },
@@ -25,6 +25,7 @@
25
25
  "MONGO_URI": { "required": false, "description": "MongoDB connection URI (default: localhost:27017)" }
26
26
  },
27
27
  "dependencies": {
28
+ "@cli4ai/lib": "^1.0.0",
28
29
  "mongodb": "^6.0.0",
29
30
  "commander": "^14.0.0"
30
31
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cli4ai/mongodb",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "MongoDB queries",
5
5
  "author": "cliforai",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  "url": "https://github.com/cliforai/packages/issues"
29
29
  },
30
30
  "dependencies": {
31
- "@cli4ai/lib": "^1.0.2",
31
+ "@cli4ai/lib": "^1.0.0",
32
32
  "mongodb": "^6.0.0",
33
33
  "commander": "^14.0.0"
34
34
  },
package/run.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env bun
1
+ #!/usr/bin/env npx tsx
2
2
  import { MongoClient, Document } from 'mongodb';
3
3
  import { cli, loadEnv, output, outputError, withErrorHandling, parseJson } from '@cli4ai/lib/cli.ts';
4
4