sonance-brand-mcp 1.3.11 → 1.3.12
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -558,8 +558,8 @@ function runDevToolsInstaller() {
|
|
|
558
558
|
try {
|
|
559
559
|
let cssContent = fs.readFileSync(globalsFullPath, "utf-8");
|
|
560
560
|
// Calculate correct relative paths from globals.css to the target files
|
|
561
|
-
const stylesTarget = path.join(targetDir, "
|
|
562
|
-
const themeTarget = path.join(targetDir, "
|
|
561
|
+
const stylesTarget = path.join(targetDir, baseDir, "styles/brand-overrides.css");
|
|
562
|
+
const themeTarget = path.join(targetDir, baseDir, "theme/sonance-theme.css");
|
|
563
563
|
const import1 = `@import "${getRelativeImportPath(globalsFullPath, stylesTarget)}";`;
|
|
564
564
|
const import2 = `@import "${getRelativeImportPath(globalsFullPath, themeTarget)}";`;
|
|
565
565
|
// Prepend imports if not already present
|
|
@@ -588,7 +588,7 @@ function runDevToolsInstaller() {
|
|
|
588
588
|
let layoutContent = fs.readFileSync(layoutFullPath, "utf-8");
|
|
589
589
|
let modified = false;
|
|
590
590
|
// Calculate relative import path from layout to dev-tools
|
|
591
|
-
const devToolsTarget = path.join(targetDir, "
|
|
591
|
+
const devToolsTarget = path.join(targetDir, baseDir, "components/dev-tools");
|
|
592
592
|
let devToolsImportPath = getRelativeImportPath(layoutFullPath, devToolsTarget);
|
|
593
593
|
// Remove trailing slash for JS/TS imports
|
|
594
594
|
devToolsImportPath = devToolsImportPath.replace(/\/$/, '');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
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",
|