@forgecart/cli 2.202609190800.0 → 2.202609211011.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.202609190800.0",
3
+ "version": "2.202609211011.0",
4
4
  "type": "module",
5
5
  "description": "CLI for scaffolding and operating ForgeCart channel storefronts",
6
6
  "bin": {
@@ -12,6 +12,15 @@
12
12
  * answers 404 here and forwards nothing — the whole beacon path ships only in the
13
13
  * in-pod dev-server. Request access keeps it out of any static prerender so it
14
14
  * behaves identically under `next dev` and a dev build.
15
+ *
16
+ * Folder name: `%5F%5Fforge_beacon` is URL-encoded `__forge_beacon`. The App Router
17
+ * treats a folder whose name starts with `_` as PRIVATE and leaves it out of routing
18
+ * entirely, so the literal spelling this route shipped with answered the not-found
19
+ * page to every POST — silently, because the client swallows delivery failures by
20
+ * design (#2103). The `%5F` escape is Next's documented way to serve a URL segment
21
+ * that really starts with an underscore, and only the FOLDER may change: the URL is
22
+ * a contract with the in-pod receiver (`StorefrontBeaconService`'s `BEACON_PATH`),
23
+ * which this template's server half (`src/instrumentation.ts`) posts to as well.
15
24
  */
16
25
 
17
26
  const BEACON_PORT = process.env.FORGE_BEACON_PORT ?? '3002';