@grunnverk/kodrdriv 1.5.2 → 1.5.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/constants.js +1 -1
- package/dist/mcp-server.js +20 -6
- package/dist/mcp-server.js.map +2 -2
- package/package.json +1 -1
- package/WORKSPACE-EXCLUSION-FIX.md +0 -99
package/dist/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os from 'os';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
|
|
4
|
-
/** Version string populated at build time with git and system information */ const VERSION = '1.5.
|
|
4
|
+
/** Version string populated at build time with git and system information */ const VERSION = '1.5.3 (HEAD/af44fda T:v1.5.3 2026-01-28 11:05:47 -0800) linux x64 v24.13.0';
|
|
5
5
|
/** The program name used in CLI help and error messages */ const PROGRAM_NAME = 'kodrdriv';
|
|
6
6
|
const DEFAULT_OVERRIDES = false;
|
|
7
7
|
const DATE_FORMAT_YEAR_MONTH_DAY_HOURS_MINUTES_SECONDS_MILLISECONDS = 'YYYY-MM-DD-HHmmss.SSS';
|
package/dist/mcp-server.js
CHANGED
|
@@ -13915,7 +13915,7 @@ import path2 from "path";
|
|
|
13915
13915
|
// src/constants.ts
|
|
13916
13916
|
import os from "os";
|
|
13917
13917
|
import path from "path";
|
|
13918
|
-
var VERSION = "1.5.
|
|
13918
|
+
var VERSION = "1.5.3 (HEAD/af44fda T:v1.5.3 2026-01-28 11:05:47 -0800) linux x64 v24.13.0";
|
|
13919
13919
|
var PROGRAM_NAME = "kodrdriv";
|
|
13920
13920
|
var DATE_FORMAT_YEAR_MONTH_DAY_HOURS_MINUTES_SECONDS_MILLISECONDS = "YYYY-MM-DD-HHmmss.SSS";
|
|
13921
13921
|
var DEFAULT_OUTPUT_DIRECTORY = "output/kodrdriv";
|
|
@@ -15079,7 +15079,10 @@ async function executeCheckDevelopment(args, _context) {
|
|
|
15079
15079
|
"**/build/**",
|
|
15080
15080
|
"**/.git/**",
|
|
15081
15081
|
// Add subproject exclusions
|
|
15082
|
-
...excludeSubprojects.map((pattern) =>
|
|
15082
|
+
...excludeSubprojects.map((pattern) => {
|
|
15083
|
+
const normalized = pattern.endsWith("/") ? pattern.slice(0, -1) : pattern;
|
|
15084
|
+
return `**/${normalized}/**`;
|
|
15085
|
+
})
|
|
15083
15086
|
];
|
|
15084
15087
|
const packageJsonFiles = await scanForPackageJsonFiles2(directory, excludedPatterns);
|
|
15085
15088
|
const isTree = packageJsonFiles.length > 1;
|
|
@@ -15091,6 +15094,17 @@ async function executeCheckDevelopment(args, _context) {
|
|
|
15091
15094
|
linkStatus: { passed: true, issues: [] }
|
|
15092
15095
|
};
|
|
15093
15096
|
const packagesToCheck = isTree ? packageJsonFiles : [path4.join(directory, "package.json")];
|
|
15097
|
+
const localPackageNames = /* @__PURE__ */ new Set();
|
|
15098
|
+
for (const pkgJsonPath of packagesToCheck) {
|
|
15099
|
+
try {
|
|
15100
|
+
const pkgJsonContent = await readFile(pkgJsonPath, "utf-8");
|
|
15101
|
+
const pkgJson = JSON.parse(pkgJsonContent);
|
|
15102
|
+
if (pkgJson.name) {
|
|
15103
|
+
localPackageNames.add(pkgJson.name);
|
|
15104
|
+
}
|
|
15105
|
+
} catch {
|
|
15106
|
+
}
|
|
15107
|
+
}
|
|
15094
15108
|
for (const pkgJsonPath of packagesToCheck) {
|
|
15095
15109
|
const pkgDir = path4.dirname(pkgJsonPath);
|
|
15096
15110
|
const pkgJsonContent = await readFile(pkgJsonPath, "utf-8");
|
|
@@ -15143,12 +15157,12 @@ async function executeCheckDevelopment(args, _context) {
|
|
|
15143
15157
|
...pkgJson.dependencies,
|
|
15144
15158
|
...pkgJson.devDependencies
|
|
15145
15159
|
};
|
|
15146
|
-
const
|
|
15147
|
-
const
|
|
15148
|
-
if (
|
|
15160
|
+
const localDeps = Object.keys(allDeps).filter((dep) => localPackageNames.has(dep));
|
|
15161
|
+
const unlinkedLocal = localDeps.filter((dep) => !linkedDeps.has(dep));
|
|
15162
|
+
if (unlinkedLocal.length > 0) {
|
|
15149
15163
|
checks.linkStatus.passed = false;
|
|
15150
15164
|
checks.linkStatus.issues.push(
|
|
15151
|
-
`${pkgName}:
|
|
15165
|
+
`${pkgName}: Local dependencies not linked: ${unlinkedLocal.join(", ")}`
|
|
15152
15166
|
);
|
|
15153
15167
|
}
|
|
15154
15168
|
} catch (error48) {
|