@telora/mcp-products 0.22.134 → 0.22.137
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/package.json +2 -2
- package/scripts/postinstall.js +9 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telora/mcp-products",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.137",
|
|
4
4
|
"description": "MCP server exposing Telora product operations to Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
41
|
-
"@telora/daemon-core": "^0.2.
|
|
41
|
+
"@telora/daemon-core": "^0.2.92",
|
|
42
42
|
"ts-morph": "^28.0.0",
|
|
43
43
|
"zod": "^4.3.6"
|
|
44
44
|
},
|
package/scripts/postinstall.js
CHANGED
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
// Never fails the install -- all errors are swallowed silently.
|
|
8
8
|
// ---------------------------------------------------------------------------
|
|
9
9
|
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
// This package is "type": "module", so this .js is loaded as ESM. It MUST use
|
|
11
|
+
// import, not require -- a top-level require() throws ReferenceError at load,
|
|
12
|
+
// OUTSIDE the try/catch below (so "never fail the install" is defeated) and
|
|
13
|
+
// spews an ESM error stack into every `npm ci` (red CI). Keep these as ESM
|
|
14
|
+
// imports.
|
|
15
|
+
import { execSync } from "node:child_process";
|
|
16
|
+
import { readFileSync, writeFileSync, mkdirSync, existsSync } from "node:fs";
|
|
17
|
+
import { join } from "node:path";
|
|
18
|
+
import { homedir } from "node:os";
|
|
16
19
|
|
|
17
20
|
try {
|
|
18
21
|
// Resolve full paths to hook binaries (bare names may not work in Claude Code subprocesses)
|