@mcp-consultant-tools/sharepoint 30.0.0-beta.2 → 31.0.0-beta.2
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/build/cli/output.d.ts +1 -1
- package/build/cli/output.js +3 -3
- package/build/cli/output.js.map +1 -1
- package/package.json +2 -2
package/build/cli/output.d.ts
CHANGED
package/build/cli/output.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI Output Helper
|
|
3
3
|
*
|
|
4
|
-
* Saves full JSON responses to `.
|
|
4
|
+
* Saves full JSON responses to `.context/.mcp-spo-cache/` and prints
|
|
5
5
|
* a concise summary to stdout.
|
|
6
6
|
*/
|
|
7
7
|
import { writeFileSync, mkdirSync, existsSync } from 'node:fs';
|
|
@@ -11,8 +11,8 @@ const CACHE_DIR = '.mcp-spo-cache';
|
|
|
11
11
|
* Write full JSON to cache directory and print summary to stdout.
|
|
12
12
|
*/
|
|
13
13
|
export function outputResult({ fileName, data, summary }) {
|
|
14
|
-
// Resolve cache under .
|
|
15
|
-
const cacheBase = resolve(process.cwd(), '.
|
|
14
|
+
// Resolve cache under .context/ at repo root (always gitignored)
|
|
15
|
+
const cacheBase = resolve(process.cwd(), '.context', CACHE_DIR);
|
|
16
16
|
if (!existsSync(cacheBase)) {
|
|
17
17
|
mkdirSync(cacheBase, { recursive: true });
|
|
18
18
|
}
|
package/build/cli/output.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../src/cli/output.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,SAAS,GAAG,gBAAgB,CAAC;AAWnC;;GAEG;AACH,MAAM,UAAU,YAAY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AC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-consultant-tools/sharepoint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "31.0.0-beta.2",
|
|
4
4
|
"description": "MCP server for SharePoint Online - site management, document libraries, and PowerPlatform validation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@azure/msal-node": "^3.3.0",
|
|
44
|
-
"@mcp-consultant-tools/core": "
|
|
44
|
+
"@mcp-consultant-tools/core": "31.0.0-beta.2",
|
|
45
45
|
"@microsoft/microsoft-graph-client": "^3.0.7",
|
|
46
46
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
47
47
|
"axios": "^1.8.3",
|