@decocms/apps-website 7.53.0 → 7.55.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": "@decocms/apps-website",
3
- "version": "7.53.0",
3
+ "version": "7.55.0",
4
4
  "type": "module",
5
5
  "description": "Deco generic-site app: SEO, analytics, theme, and content utilities shared across every commerce backend",
6
6
  "repository": {
@@ -32,8 +32,8 @@
32
32
  "lint:unused": "knip"
33
33
  },
34
34
  "dependencies": {
35
- "@decocms/blocks": "7.53.0",
36
- "@decocms/apps-commerce": "7.53.0"
35
+ "@decocms/blocks": "7.55.0",
36
+ "@decocms/apps-commerce": "7.55.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "^19.0.0",
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Moved to `@decocms/blocks/hooks`, and re-exported here so nothing that already imports
3
+ * `@decocms/apps-website/components/Stats` breaks.
4
+ *
5
+ * It moved because `DecoRootLayout` mounts it now: `@decocms/tanstack` importing from an apps
6
+ * package would add an edge to a dependency graph this repo keeps one-way on purpose, and the
7
+ * component never needed to be here — it is a `<link>` and a `<script>` pointing at our own
8
+ * collector, not a vendor integration like `OneDollarStats`.
9
+ *
10
+ * Sites do not need to import it at all any more. Set `DECO_ANALYTICS_ENABLED=true`.
11
+ */
12
+ export {
13
+ Stats as default,
14
+ STATS_DEFAULT_ORIGIN as DEFAULT_ORIGIN,
15
+ type StatsProps as Props,
16
+ } from "@decocms/blocks/hooks";