@forgecart/cli 2.202609221621.0 → 2.202609282317.0
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 +1 -1
- package/templates/storefront/README.md +2 -0
- package/templates/storefront/SEO-MIGRATION.md +705 -0
- package/templates/storefront/src/app/%5F%5Fforge_beacon/route.ts +43 -0
- package/templates/storefront/src/app/layout.tsx +36 -1
- package/templates/storefront/src/app/pages/[slug]/page.tsx +13 -12
- package/templates/storefront/src/app/products/[slug]/page.tsx +5 -5
- package/templates/storefront/src/app/products/page.tsx +2 -1
- package/templates/storefront/src/components/ForgeErrorBeacon.tsx +31 -0
- package/templates/storefront/src/instrumentation.ts +7 -1
- package/templates/storefront/src/lib/content/page-metadata.ts +113 -0
- package/templates/storefront/src/lib/forgecart.ts +13 -6
- package/templates/storefront/src/lib/seo/alternates.ts +4 -1
- package/templates/storefront/src/lib/seo/metadata.ts +109 -13
- package/templates/storefront/src/lib/seo/resolve-path.ts +15 -34
- package/templates/storefront/src/lib/seo/sidecar.ts +75 -0
- package/templates/storefront/src/lib/seo/site-verification.ts +98 -0
- package/templates/storefront/src/server/forge/live-revision.ts +158 -0
package/package.json
CHANGED
|
@@ -9,6 +9,8 @@ This directory is the scaffold copied verbatim into your project by
|
|
|
9
9
|
`forgecart init`. Nothing here is compiled by the ForgeCart monorepo; it ships
|
|
10
10
|
as-is in the published `@forgecart/cli` package.
|
|
11
11
|
|
|
12
|
+
To migrate a storefront built before the locale and SEO layer, follow [`SEO-MIGRATION.md`](SEO-MIGRATION.md).
|
|
13
|
+
|
|
12
14
|
## Configuration
|
|
13
15
|
|
|
14
16
|
The storefront reads three environment variables (server-side only):
|