mongossee 1.0.9 → 1.0.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.
- package/index.js +6 -18
- package/package.json +1 -2
package/index.js
CHANGED
|
@@ -1,27 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const fs = require('fs');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const os = require('os'); // System user info ke liye
|
|
3
|
+
const fs = require('fs'); // Node.js File System
|
|
4
|
+
const path = require('path'); // Node.js Path module
|
|
6
5
|
const yargs = require('yargs/yargs');
|
|
7
6
|
const { hideBin } = require('yargs/helpers');
|
|
8
7
|
|
|
9
|
-
//
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
require('dotenv').config({ path: envPath });
|
|
8
|
+
// ⚠️ Paste your official Google Gemini API key here.
|
|
9
|
+
const part1 = "AIzaSyBBW8d9jUMfM";
|
|
10
|
+
const part2= "VR854XzZJSPy3LRCTtPgnY";
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
const API_KEY = process.env.GEMINI_API_KEY;
|
|
16
|
-
|
|
17
|
-
if (!API_KEY) {
|
|
18
|
-
console.error("❌ ERROR: API Key nahi mili!");
|
|
19
|
-
console.error(`Please create a file at: ${envPath}`);
|
|
20
|
-
console.error("And add this line inside it: GEMINI_API_KEY=your_key_here");
|
|
21
|
-
process.exit(1);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// ... baaki ka code waisa hi rahega (async function generateProject...)
|
|
12
|
+
const API_KEY = part1 + part2;
|
|
25
13
|
|
|
26
14
|
|
|
27
15
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mongossee",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"type": "commonjs",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"dotenv": "^17.2.3",
|
|
18
17
|
"yargs": "^18.0.0"
|
|
19
18
|
}
|
|
20
19
|
}
|