passive-docs-index 0.2.0 → 0.2.1
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/cli.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +7 -7
package/dist/cli.js
CHANGED
|
@@ -25982,9 +25982,9 @@ async function addCommand(frameworks, options) {
|
|
|
25982
25982
|
categories: Object.keys(template.structure)
|
|
25983
25983
|
};
|
|
25984
25984
|
config2 = updateFrameworkInConfig(config2, frameworkName, frameworkConfig);
|
|
25985
|
-
if (template.libraryId) {
|
|
25985
|
+
if (template.libraryId && config2.mcp) {
|
|
25986
25986
|
config2.mcp.libraryMappings = {
|
|
25987
|
-
...config2.mcp.libraryMappings,
|
|
25987
|
+
...config2.mcp.libraryMappings ?? {},
|
|
25988
25988
|
[frameworkName]: template.libraryId
|
|
25989
25989
|
};
|
|
25990
25990
|
}
|
|
@@ -27521,7 +27521,7 @@ async function syncCommand(options) {
|
|
|
27521
27521
|
const frameworkPath = join10(projectRoot, CLAUDE_DOCS_DIR, FRAMEWORKS_DIR, action.framework);
|
|
27522
27522
|
await removeDir(frameworkPath);
|
|
27523
27523
|
config2 = removeFrameworkFromConfig(config2, action.framework);
|
|
27524
|
-
if (config2.mcp
|
|
27524
|
+
if (config2.mcp?.libraryMappings) {
|
|
27525
27525
|
delete config2.mcp.libraryMappings[action.framework];
|
|
27526
27526
|
}
|
|
27527
27527
|
spinner.succeed(`Removed ${action.framework}`);
|
package/dist/index.js
CHANGED
|
@@ -24128,9 +24128,9 @@ async function addCommand(frameworks, options) {
|
|
|
24128
24128
|
categories: Object.keys(template.structure)
|
|
24129
24129
|
};
|
|
24130
24130
|
config2 = updateFrameworkInConfig(config2, frameworkName, frameworkConfig);
|
|
24131
|
-
if (template.libraryId) {
|
|
24131
|
+
if (template.libraryId && config2.mcp) {
|
|
24132
24132
|
config2.mcp.libraryMappings = {
|
|
24133
|
-
...config2.mcp.libraryMappings,
|
|
24133
|
+
...config2.mcp.libraryMappings ?? {},
|
|
24134
24134
|
[frameworkName]: template.libraryId
|
|
24135
24135
|
};
|
|
24136
24136
|
}
|
|
@@ -25660,7 +25660,7 @@ async function syncCommand(options) {
|
|
|
25660
25660
|
const frameworkPath = join10(projectRoot, CLAUDE_DOCS_DIR, FRAMEWORKS_DIR, action.framework);
|
|
25661
25661
|
await removeDir(frameworkPath);
|
|
25662
25662
|
config2 = removeFrameworkFromConfig(config2, action.framework);
|
|
25663
|
-
if (config2.mcp
|
|
25663
|
+
if (config2.mcp?.libraryMappings) {
|
|
25664
25664
|
delete config2.mcp.libraryMappings[action.framework];
|
|
25665
25665
|
}
|
|
25666
25666
|
spinner.succeed(`Removed ${action.framework}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "passive-docs-index",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Passive documentation indexing system for AI coding assistants - eliminates the decision point for documentation retrieval",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,22 +30,22 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@upstash/context7-sdk": "^0.3.0",
|
|
33
|
-
"chalk": "^5.
|
|
33
|
+
"chalk": "^5.6.2",
|
|
34
34
|
"commander": "^13.1.0",
|
|
35
35
|
"ora": "^8.2.0",
|
|
36
36
|
"p-limit": "^6.2.0",
|
|
37
37
|
"prompts": "^2.4.2",
|
|
38
|
-
"yaml": "^2.
|
|
38
|
+
"yaml": "^2.8.2",
|
|
39
39
|
"zod": "^4.3.6"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@biomejs/biome": "^2.3.
|
|
42
|
+
"@biomejs/biome": "^2.3.15",
|
|
43
43
|
"@changesets/changelog-github": "^0.5.2",
|
|
44
44
|
"@changesets/cli": "^2.29.8",
|
|
45
|
-
"@types/bun": "^1.
|
|
45
|
+
"@types/bun": "^1.3.9",
|
|
46
46
|
"@types/prompts": "^2.4.9",
|
|
47
|
-
"typescript": "^5.
|
|
48
|
-
"ultracite": "^7.1.
|
|
47
|
+
"typescript": "^5.9.3",
|
|
48
|
+
"ultracite": "^7.1.5"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
51
51
|
"ai",
|