mcp-probe-kit 1.2.2 → 1.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readFileSync, readdirSync, statSync } from 'fs';
|
|
1
|
+
import { readFileSync, readdirSync, statSync, existsSync } from 'fs';
|
|
2
2
|
import { join, extname } from 'path';
|
|
3
3
|
export async function analyzeProject(args) {
|
|
4
4
|
const projectPath = args.project_path || process.cwd();
|
|
@@ -174,9 +174,9 @@ function detectLanguage(packageJson) {
|
|
|
174
174
|
return 'JavaScript';
|
|
175
175
|
}
|
|
176
176
|
function detectPackageManager() {
|
|
177
|
-
if (
|
|
177
|
+
if (existsSync('yarn.lock'))
|
|
178
178
|
return 'Yarn';
|
|
179
|
-
if (
|
|
179
|
+
if (existsSync('pnpm-lock.yaml'))
|
|
180
180
|
return 'pnpm';
|
|
181
181
|
return 'npm';
|
|
182
182
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-probe-kit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Cursor Development Enhancement Toolkit - MCP Server with 23 practical tools for code quality, development efficiency, and project management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -63,4 +63,3 @@
|
|
|
63
63
|
"typescript": "^5.3.0"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
|