@decocms/apps-algolia 7.64.3 → 7.65.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 +3 -3
- package/src/README.md +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decocms/apps-algolia",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.65.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deco commerce app: Algolia search integration",
|
|
6
6
|
"repository": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"lint:unused": "knip"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@decocms/blocks": "7.
|
|
26
|
-
"@decocms/apps-commerce": "7.
|
|
25
|
+
"@decocms/blocks": "7.65.0",
|
|
26
|
+
"@decocms/apps-commerce": "7.65.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": "^19.0.0",
|
package/src/README.md
CHANGED
|
@@ -12,10 +12,10 @@ surface plus the `loaders/client.ts` shim that matches the upstream
|
|
|
12
12
|
Just enough for downstream sites with their own product loaders to wire
|
|
13
13
|
Algolia and consume the SDK SearchClient directly.
|
|
14
14
|
|
|
15
|
-
A real-world consumer (
|
|
15
|
+
A real-world consumer (a production Algolia storefront) is migrating away
|
|
16
16
|
from the legacy `ctx.invoke.algolia.loaders.client({})` proxy that
|
|
17
17
|
existed in the Fresh runtime. The site keeps its own product loaders
|
|
18
|
-
(custom
|
|
18
|
+
(custom storefront-specific transforms over the upstream toProduct) and only needs
|
|
19
19
|
the SDK client from this package.
|
|
20
20
|
|
|
21
21
|
## What's here
|
|
@@ -47,10 +47,10 @@ etc.). Tracked here so the next PR series has a clear scope:
|
|
|
47
47
|
| `workflows/index/product.ts` | `deco-cx/apps/algolia/workflows/index/product.ts` |
|
|
48
48
|
| `sections/Analytics/Algolia.tsx` | `deco-cx/apps/algolia/sections/Analytics/Algolia.tsx` |
|
|
49
49
|
|
|
50
|
-
The site-side `src/packs/algolia/products/*` in
|
|
51
|
-
contains a
|
|
50
|
+
The site-side `src/packs/algolia/products/*` in a production Algolia storefront
|
|
51
|
+
contains a storefront-specific transform layer that is not portable as-is.
|
|
52
52
|
Once `loaders/product/*` lands here, the upstream tract can be reused;
|
|
53
|
-
the
|
|
53
|
+
the storefront-specific overlays will keep living in the site.
|
|
54
54
|
|
|
55
55
|
## Wiring in a site
|
|
56
56
|
|