@carrierllc/mcp 0.13.84 → 0.13.86
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-6OIGVT3U.js → chunk-NJTYIKIP.js} +2 -2
- package/dist/{chunk-6OIGVT3U.js.map → chunk-NJTYIKIP.js.map} +1 -1
- package/dist/cli.js +9 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/storefront/src/components/landing/HowItWorks.tsx +1 -1
package/dist/cli.js
CHANGED
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
verifyStorefront,
|
|
46
46
|
walletScreen,
|
|
47
47
|
which
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NJTYIKIP.js";
|
|
49
49
|
import {
|
|
50
50
|
copyTree,
|
|
51
51
|
exists,
|
|
@@ -2155,7 +2155,10 @@ var COPY_FIELDS = [
|
|
|
2155
2155
|
["buyLabel", "buyLabel"],
|
|
2156
2156
|
["emptyPlansText", "emptyPlansText"],
|
|
2157
2157
|
["searchHeading", "searchHeading"],
|
|
2158
|
-
["searchPlaceholder", "searchPlaceholder"]
|
|
2158
|
+
["searchPlaceholder", "searchPlaceholder"],
|
|
2159
|
+
["metaTitle", "metaTitle"],
|
|
2160
|
+
["metaDescription", "metaDescription"],
|
|
2161
|
+
["socialImageUrl", "socialImageUrl"]
|
|
2159
2162
|
];
|
|
2160
2163
|
function storefrontBrandPatch(input, existing) {
|
|
2161
2164
|
const theme = overlay(existing?.theme, input, THEME_FIELDS);
|
|
@@ -2475,6 +2478,9 @@ function hostedPublishInputFromFlags(flags) {
|
|
|
2475
2478
|
emptyPlansText: flags.emptyPlansText,
|
|
2476
2479
|
searchHeading: flags.searchHeading,
|
|
2477
2480
|
searchPlaceholder: flags.searchPlaceholder,
|
|
2481
|
+
metaTitle: flags.metaTitle,
|
|
2482
|
+
metaDescription: flags.metaDescription,
|
|
2483
|
+
socialImageUrl: flags.socialImageUrl,
|
|
2478
2484
|
productId: flags.product,
|
|
2479
2485
|
planSlug: flags.plan,
|
|
2480
2486
|
planName: flags.planName,
|
|
@@ -8191,7 +8197,7 @@ site.command("deploy [dir]").description(
|
|
|
8191
8197
|
p3.outro("");
|
|
8192
8198
|
}
|
|
8193
8199
|
);
|
|
8194
|
-
site.command("publish").description("Publish a Carrier-hosted storefront. Does not deploy a self-hosted copy.").requiredOption("--slug <slug>", "Shop address, such as acme or Acme Mobile").requiredOption("--name <name>", "Brand name").option("--status <status>", "draft or published", "published").option("--accent <hex>", "Accent color, such as #112233").option("--accent-dark <hex>", "Darker accent").option("--bg <hex>", "Page background").option("--text <hex>", "Body text color").option("--logo <url-or-file>", "https logo address, or a PNG, JPEG, WebP, or GIF under 70 KB").option("--hero <text>", "Shop headline (required when publishing a new shop)").option("--tagline <text>", "Line under the headline (required when publishing a new shop)").option("--support-email <email>", "Support address (required when publishing a new shop)").option("--legal-name <name>", "Legal name in the footer (required when publishing a new shop)").option("--address <text>", "Seller address in the footer").option("--locale <locale>", "Storefront language: en or nl").option("--order-notify-email <email>", "Email that receives each order notification").option("--order-notify-webhook-url <url>", "Webhook URL that receives each order notification").option("--cta-label <text>", "Hero primary button text").option("--plans-heading <text>", "Heading for the plans section").option("--buy-label <text>", "Button text on each plan card").option("--product <id>", "Connectivity plan id. Copies its template, price, and allowance.").option("--plan <slug>", "Plan slug, such as eu-1gb").option("--plan-name <name>", "Plan name on the shop").option("--price <amount>", "Retail price in major units, such as 9.00 (converted to minor units)").option("--price-cents <cents>", "Retail price in minor units, such as 900; use this or --price").option("--currency <code>", "Three-letter currency code").option("--template-id <id>", "OCS package template id").option("--ocs-account-id <id>", "Owned OCS account override; omit for automatic resolution").option("--data-gb <gb>", "Data allowance, such as 1 or 1 GB, or the text Unlimited").option("--unlimited", "The only way to sell an unlimited plan. A 0 or missing --data-gb without this is refused.").option("--validity-days <days>", "Validity, such as 7 or 7 days").option("--countries <names>", "Country names or codes, such as France, DE").option("--plan-text <text>", "Buyer-facing sentence. Omit to leave the saved text unchanged.").option("--inactive", "Keep the plan off the shop").option("--plan-sort-order <n>", "Plan display order on the shop (ascending, default 0)").option("--plan-group <label>", "Optional section/group label on the storefront (e.g. Uitwedstrijden)").option("--available-from <iso>", "Optional ISO-8601 start timestamp from which the plan is visible").option("--available-until <iso>", "Optional ISO-8601 end timestamp until which the plan is visible").option("--stripe-price-id <id>", "Existing Stripe Price id (price_\u2026, 1-255 characters), stored, not yet charged. Set with --stripe-price-mode.").option("--stripe-price-mode <mode>", "test or live. Set with --stripe-price-id.").action(async (o) => {
|
|
8200
|
+
site.command("publish").description("Publish a Carrier-hosted storefront. Does not deploy a self-hosted copy.").requiredOption("--slug <slug>", "Shop address, such as acme or Acme Mobile").requiredOption("--name <name>", "Brand name").option("--status <status>", "draft or published", "published").option("--accent <hex>", "Accent color, such as #112233").option("--accent-dark <hex>", "Darker accent").option("--bg <hex>", "Page background").option("--text <hex>", "Body text color").option("--logo <url-or-file>", "https logo address, or a PNG, JPEG, WebP, or GIF under 70 KB").option("--hero <text>", "Shop headline (required when publishing a new shop)").option("--tagline <text>", "Line under the headline (required when publishing a new shop)").option("--meta-title <text>", "Page and share-card title (default: the shop name)").option("--meta-description <text>", "Meta and share-card description (default: the tagline)").option("--social-image-url <url>", "https share-card image address (default: the generated card)").option("--support-email <email>", "Support address (required when publishing a new shop)").option("--legal-name <name>", "Legal name in the footer (required when publishing a new shop)").option("--address <text>", "Seller address in the footer").option("--locale <locale>", "Storefront language: en or nl").option("--order-notify-email <email>", "Email that receives each order notification").option("--order-notify-webhook-url <url>", "Webhook URL that receives each order notification").option("--cta-label <text>", "Hero primary button text").option("--plans-heading <text>", "Heading for the plans section").option("--buy-label <text>", "Button text on each plan card").option("--product <id>", "Connectivity plan id. Copies its template, price, and allowance.").option("--plan <slug>", "Plan slug, such as eu-1gb").option("--plan-name <name>", "Plan name on the shop").option("--price <amount>", "Retail price in major units, such as 9.00 (converted to minor units)").option("--price-cents <cents>", "Retail price in minor units, such as 900; use this or --price").option("--currency <code>", "Three-letter currency code").option("--template-id <id>", "OCS package template id").option("--ocs-account-id <id>", "Owned OCS account override; omit for automatic resolution").option("--data-gb <gb>", "Data allowance, such as 1 or 1 GB, or the text Unlimited").option("--unlimited", "The only way to sell an unlimited plan. A 0 or missing --data-gb without this is refused.").option("--validity-days <days>", "Validity, such as 7 or 7 days").option("--countries <names>", "Country names or codes, such as France, DE").option("--plan-text <text>", "Buyer-facing sentence. Omit to leave the saved text unchanged.").option("--inactive", "Keep the plan off the shop").option("--plan-sort-order <n>", "Plan display order on the shop (ascending, default 0)").option("--plan-group <label>", "Optional section/group label on the storefront (e.g. Uitwedstrijden)").option("--available-from <iso>", "Optional ISO-8601 start timestamp from which the plan is visible").option("--available-until <iso>", "Optional ISO-8601 end timestamp until which the plan is visible").option("--stripe-price-id <id>", "Existing Stripe Price id (price_\u2026, 1-255 characters), stored, not yet charged. Set with --stripe-price-mode.").option("--stripe-price-mode <mode>", "test or live. Set with --stripe-price-id.").action(async (o) => {
|
|
8195
8201
|
header();
|
|
8196
8202
|
const built = hostedPublishInputFromFlags(o);
|
|
8197
8203
|
if (!built.ok) {
|