sonance-brand-mcp 1.3.14 → 1.3.15
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/index.js +10 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -446,9 +446,16 @@ function runDevToolsInstaller() {
|
|
|
446
446
|
fs.copyFileSync(sourceBrandContext, path.join(libDir, "brand-context.tsx"));
|
|
447
447
|
createdFiles.push(`${pathPrefix}lib/brand-context.tsx`);
|
|
448
448
|
console.log(` ✓ Created ${pathPrefix}lib/brand-context.tsx`);
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
449
|
+
// Only copy utils.ts if it doesn't already exist (avoid overwriting user's utils)
|
|
450
|
+
const utilsPath = path.join(libDir, "utils.ts");
|
|
451
|
+
if (!fs.existsSync(utilsPath)) {
|
|
452
|
+
fs.copyFileSync(sourceUtils, utilsPath);
|
|
453
|
+
createdFiles.push(`${pathPrefix}lib/utils.ts`);
|
|
454
|
+
console.log(` ✓ Created ${pathPrefix}lib/utils.ts`);
|
|
455
|
+
}
|
|
456
|
+
else {
|
|
457
|
+
console.log(` ⏭️ Skipped ${pathPrefix}lib/utils.ts (already exists)`);
|
|
458
|
+
}
|
|
452
459
|
// 2. Install DevTools components
|
|
453
460
|
if (!fs.existsSync(devToolsDir)) {
|
|
454
461
|
fs.mkdirSync(devToolsDir, { recursive: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
4
4
|
"description": "MCP Server for Sonance Brand Guidelines and Component Library - gives Claude instant access to brand colors, typography, and UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|