@scayle/storefront-product-listing 2.1.1 → 2.1.2
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/CHANGELOG.md +8 -2
- package/README.md +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/composables/useProductsForListing.js +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @scayle/storefront-product-listing
|
|
2
2
|
|
|
3
|
+
## 2.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated SCAYLE Resource Center references
|
|
8
|
+
|
|
3
9
|
## 2.1.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -240,7 +246,7 @@
|
|
|
240
246
|
- This release introduces the `@scayle/storefront-product-listing` package, decoupling composables and utilities of the Product Listing Page (PLP) functionality from the SCAYLE Storefront Boilerplate for enhanced modularity and integration.
|
|
241
247
|
This separation empowers developers with greater control over PLP updates and simplifies its integration into existing Storefront-based projects.
|
|
242
248
|
|
|
243
|
-
- [Discover more about the Product Listing Page for SCAYLE Storefront in our SCAYLE Resource Center.](https://scayle.dev/en/storefront-guide/
|
|
249
|
+
- [Discover more about the Product Listing Page for SCAYLE Storefront in our SCAYLE Resource Center.](https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/product-listing-page)
|
|
244
250
|
|
|
245
251
|
- This release requires `@scayle/storefront-nuxt@8.x` or higher. Support for `@scayle/storefront-nuxt@7.x` has been discontinued. Please update your dependencies accordingly. The `peerDependency` range has been updated to `^8.0.0`.
|
|
246
252
|
|
|
@@ -300,7 +306,7 @@
|
|
|
300
306
|
|
|
301
307
|
- The `useProductsByCategory` composable now sets the trackSearchAnalyticsEvent parameter by default if the current page evaluates to `1` and the `appliedFilter.term` is not empty.
|
|
302
308
|
The default behavior can be overridden by passing `trackSearchAnalyticsEvent: false` as part of `ProductsByCategoryOptions.params`.
|
|
303
|
-
For more details, check the [SCAYLE Search Analytics section](https://scayle.dev/en/
|
|
309
|
+
For more details, check the [SCAYLE Search Analytics section](https://scayle.dev/en/core-documentation/the-basics/shops/search#scayle-search-analytics) in the SCAYLE Resource Center.
|
|
304
310
|
|
|
305
311
|
## 0.4.1
|
|
306
312
|
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Licensed under the [MIT License](https://opensource.org/license/mit/)
|
|
|
55
55
|
[SCAYLE](https://scayle.com) is a full-featured e-commerce software solution that comes with flexible APIs.
|
|
56
56
|
Within SCAYLE, you can manage all aspects of your shop, such as products, stocks, customers, and transactions.
|
|
57
57
|
|
|
58
|
-
Learn more about [SCAYLE’s architecture](https://scayle.dev/en/getting-started) and commerce modules in the Docs.
|
|
58
|
+
Learn more about [SCAYLE’s architecture](https://scayle.dev/en/core-documentation/welcome-to-scayle/getting-started) and commerce modules in the Docs.
|
|
59
59
|
|
|
60
60
|
## Other channels
|
|
61
61
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineNuxtModule, createResolver, addImportsDir } from '@nuxt/kit';
|
|
2
2
|
|
|
3
3
|
const PACKAGE_NAME = "@scayle/storefront-product-listing";
|
|
4
|
-
const PACKAGE_VERSION = "2.1.
|
|
4
|
+
const PACKAGE_VERSION = "2.1.2";
|
|
5
5
|
const module = defineNuxtModule({
|
|
6
6
|
meta: {
|
|
7
7
|
name: PACKAGE_NAME,
|
|
@@ -16,7 +16,7 @@ export function useProductsForListing({
|
|
|
16
16
|
// NOTE: We don't want to include trackSearchAnalyticsEvent parameter when paginating,
|
|
17
17
|
// as this logs the search term on every page request.
|
|
18
18
|
// Instead, we log the term only once, when the search is first performed.
|
|
19
|
-
// See: https://scayle.dev/en/
|
|
19
|
+
// See: https://scayle.dev/en/core-documentation/the-basics/shops/search#scayle-search-analytics
|
|
20
20
|
trackSearchAnalyticsEvent: !!(params.value.page === 1 && params.value?.where?.term),
|
|
21
21
|
...params.value
|
|
22
22
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-product-listing",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Collection of essential composables and utilities to work with product listing",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@arethetypeswrong/cli": "0.18.2",
|
|
44
|
-
"@nuxt/kit": "3.19.
|
|
44
|
+
"@nuxt/kit": "3.19.3",
|
|
45
45
|
"@nuxt/module-builder": "1.0.2",
|
|
46
|
-
"@nuxt/schema": "3.19.
|
|
46
|
+
"@nuxt/schema": "3.19.3",
|
|
47
47
|
"@nuxt/test-utils": "3.19.2",
|
|
48
|
-
"@types/node": "22.18.
|
|
48
|
+
"@types/node": "22.18.11",
|
|
49
49
|
"@vitest/coverage-v8": "3.2.4",
|
|
50
50
|
"@vueuse/core": "13.9.0",
|
|
51
51
|
"dprint": "0.50.2",
|
|
52
52
|
"eslint-formatter-gitlab": "6.0.1",
|
|
53
|
-
"eslint": "9.
|
|
53
|
+
"eslint": "9.37.0",
|
|
54
54
|
"fishery": "2.3.1",
|
|
55
|
-
"happy-dom": "
|
|
56
|
-
"nuxt": "3.19.
|
|
57
|
-
"publint": "0.3.
|
|
55
|
+
"happy-dom": "20.0.7",
|
|
56
|
+
"nuxt": "3.19.3",
|
|
57
|
+
"publint": "0.3.14",
|
|
58
58
|
"schema-dts": "1.1.5",
|
|
59
|
-
"typescript": "5.9.
|
|
59
|
+
"typescript": "5.9.3",
|
|
60
60
|
"unbuild": "3.6.1",
|
|
61
61
|
"vitest": "3.2.4",
|
|
62
|
-
"vue-router": "4.
|
|
63
|
-
"vue-tsc": "3.
|
|
64
|
-
"vue": "3.5.
|
|
65
|
-
"@scayle/eslint-config-storefront": "4.7.
|
|
66
|
-
"@scayle/storefront-nuxt": "8.
|
|
62
|
+
"vue-router": "4.6.3",
|
|
63
|
+
"vue-tsc": "3.1.1",
|
|
64
|
+
"vue": "3.5.22",
|
|
65
|
+
"@scayle/eslint-config-storefront": "4.7.10",
|
|
66
|
+
"@scayle/storefront-nuxt": "8.45.1",
|
|
67
67
|
"@scayle/vitest-config-storefront": "1.0.0"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|