@forgecart/cli 2.202607150804.0 → 2.202607190047.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgecart/cli",
3
- "version": "2.202607150804.0",
3
+ "version": "2.202607190047.0",
4
4
  "type": "module",
5
5
  "description": "CLI for scaffolding and operating ForgeCart channel storefronts",
6
6
  "bin": {
@@ -6,14 +6,21 @@ const nextConfig = {
6
6
  reactStrictMode: true,
7
7
  // The visual-editor preview runs THIS dev server inside a workspace pod and is
8
8
  // reached cross-origin through the channel's preview ingress host
9
- // (`<code>.127.0.0.1.nip.io:8081` locally; `<code>.dev|test.forgecart.dev` and
10
- // `<code>.forgecart.dev` deployed) never the pod's own `localhost:3000`. Next
11
- // 16 ENFORCES `allowedDevOrigins`: a dev request whose host is not
12
- // localhost/127.0.0.1 and not listed here is blocked, which silently kills the
13
- // `/_next` HMR websocket (and the dashboard iframe's dev channel) with no page
14
- // error. The `*` wildcard matches across dots, so `*.forgecart.dev` covers every
15
- // env's preview subdomain. Dev-only `next start` (deployed storefronts) ignores it.
16
- allowedDevOrigins: ['*.127.0.0.1.nip.io', '*.dev.forgecart.dev', '*.forgecart.dev'],
9
+ // (`<code>.127.0.0.1.nip.io:8081` on a bare host; `<code>-<vm>.vm.forgecart.com`
10
+ // through the Cloudflare tunnel of a `pnpm vm` environment; `<code>.dev|test
11
+ // .forgecart.dev` and `<code>.forgecart.dev` deployed) never the pod's own
12
+ // `localhost:3000`. Next 16 ENFORCES `allowedDevOrigins`: a dev request whose
13
+ // host is not localhost/127.0.0.1 and not listed here is blocked, which
14
+ // silently kills the `/_next` HMR websocket (and the dashboard iframe's dev
15
+ // channel) with no page error. The `*` wildcard matches across dots, so
16
+ // `*.forgecart.dev` covers every env's preview subdomain. Dev-only —
17
+ // `next start` (deployed storefronts) ignores it.
18
+ allowedDevOrigins: [
19
+ '*.127.0.0.1.nip.io',
20
+ '*.vm.forgecart.com',
21
+ '*.dev.forgecart.dev',
22
+ '*.forgecart.dev',
23
+ ],
17
24
  experimental: {
18
25
  // Persist Turbopack's dev compile artifacts to `.next` so a pod can serve
19
26
  // a PRE-WARMED `.next` baked at build time instead of paying a cold first