@carrierllc/mcp 0.13.20 → 0.13.21
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/{chunk-VM2X3RHP.js → chunk-IUYX4NKC.js} +2 -2
- package/dist/{chunk-VM2X3RHP.js.map → chunk-IUYX4NKC.js.map} +1 -1
- package/dist/cli.js +8 -5
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/storefront/pnpm-workspace.yaml +7 -0
- package/templates/storefront/src/app/layout.tsx +1 -1
package/dist/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
verifyStorefront,
|
|
40
40
|
walletScreen,
|
|
41
41
|
which
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IUYX4NKC.js";
|
|
43
43
|
import {
|
|
44
44
|
copyTree,
|
|
45
45
|
exists,
|
|
@@ -243,12 +243,15 @@ async function patchBrandConfig(path, brand) {
|
|
|
243
243
|
setField("accentLight", deriveAccentLight(brand.colors.accent));
|
|
244
244
|
setField("bg", brand.colors.bg);
|
|
245
245
|
const socialEntries = Object.entries(brand.social).filter(([, v]) => v);
|
|
246
|
-
const
|
|
246
|
+
const socialLines = [
|
|
247
|
+
` x: ${JSON.stringify(brand.social.x ?? "")},`,
|
|
248
|
+
...socialEntries.filter(([k]) => k !== "x").map(([k, v]) => ` ${k}: ${JSON.stringify(v)},`)
|
|
249
|
+
];
|
|
247
250
|
src = src.replace(
|
|
248
251
|
/social:\s*\{[^}]*\}/s,
|
|
249
|
-
|
|
250
|
-
${
|
|
251
|
-
}`
|
|
252
|
+
`social: {
|
|
253
|
+
${socialLines.join("\n")}
|
|
254
|
+
}`
|
|
252
255
|
);
|
|
253
256
|
await writeFile(path, src);
|
|
254
257
|
}
|