@daniel.stefan/metalink 1.3.21 → 1.3.23
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daniel.stefan/metalink",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.23",
|
|
4
4
|
"description": "MetaLink MCP Management Platform - Universal MCP server orchestrator",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"packages/*/dist/**/*",
|
|
17
17
|
"packages/*/package.json",
|
|
18
|
-
"scripts/setup-platform.
|
|
18
|
+
"scripts/setup-platform.cjs",
|
|
19
19
|
"README.md",
|
|
20
20
|
"README.npm.md",
|
|
21
21
|
"LICENSE"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"changeset": "changeset",
|
|
37
37
|
"version": "changeset version",
|
|
38
38
|
"prepack": "npm run build:verified",
|
|
39
|
-
"postinstall": "node scripts/setup-platform.
|
|
39
|
+
"postinstall": "node scripts/setup-platform.cjs"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@daniel.stefan/metalink": "^1.3.19",
|
|
@@ -8,6 +8,6 @@ export { CircuitBreaker, CircuitBreakerManager, CircuitState, } from "./server/c
|
|
|
8
8
|
export type { CircuitBreakerConfig, CircuitBreakerMetrics, } from "./server/circuit-breaker.js";
|
|
9
9
|
export * from "./secrets/keyring.js";
|
|
10
10
|
export * from "./logging/index.js";
|
|
11
|
-
export declare const version = "v1.3.
|
|
11
|
+
export declare const version = "v1.3.23";
|
|
12
12
|
export declare const name = "@metalink/core";
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -18,6 +18,6 @@ export * from "./logging/index.js";
|
|
|
18
18
|
// export * from './metrics/index.js'; // Metrics collection
|
|
19
19
|
// Version info - DECLARATIVE, managed by sync-version script from packages/shared/version.ts
|
|
20
20
|
// Single source of truth: packages/shared/version.ts
|
|
21
|
-
export const version = "v1.3.
|
|
21
|
+
export const version = "v1.3.23";
|
|
22
22
|
export const name = "@metalink/core";
|
|
23
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Postinstall script for @daniel.stefan/metalink
|
|
4
|
+
* Creates symlinks for workspace packages so they resolve correctly in global installs.
|
|
5
|
+
*/
|
|
6
|
+
const { existsSync, mkdirSync, symlinkSync } = require('fs');
|
|
7
|
+
const { join } = require('path');
|
|
8
|
+
|
|
9
|
+
const root = join(__dirname, '..');
|
|
10
|
+
|
|
11
|
+
const links = [
|
|
12
|
+
{ name: '@metalink/core', target: join(root, 'packages', 'core') },
|
|
13
|
+
{ name: '@metalink/shared', target: join(root, 'packages', 'shared') },
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
const nodeModules = join(root, 'node_modules');
|
|
17
|
+
const scopeDir = join(nodeModules, '@metalink');
|
|
18
|
+
|
|
19
|
+
for (const { name, target } of links) {
|
|
20
|
+
const linkPath = join(nodeModules, name);
|
|
21
|
+
|
|
22
|
+
if (existsSync(linkPath)) continue;
|
|
23
|
+
if (!existsSync(target)) continue;
|
|
24
|
+
|
|
25
|
+
if (!existsSync(scopeDir)) {
|
|
26
|
+
mkdirSync(scopeDir, { recursive: true });
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
try {
|
|
30
|
+
symlinkSync(target, linkPath, 'dir');
|
|
31
|
+
} catch {
|
|
32
|
+
// Ignore errors (permission issues, already exists, etc.)
|
|
33
|
+
}
|
|
34
|
+
}
|