@scayle/storefront-product-listing 2.1.1 → 2.1.3
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 +14 -2
- package/README.md +1 -12
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/composables/useProductsForListing.js +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @scayle/storefront-product-listing
|
|
2
2
|
|
|
3
|
+
## 2.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Cleaned up README.md and added CONTRIBUTING.md. No functional changes.
|
|
8
|
+
|
|
9
|
+
## 2.1.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated SCAYLE Resource Center references
|
|
14
|
+
|
|
3
15
|
## 2.1.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -240,7 +252,7 @@
|
|
|
240
252
|
- 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
253
|
This separation empowers developers with greater control over PLP updates and simplifies its integration into existing Storefront-based projects.
|
|
242
254
|
|
|
243
|
-
- [Discover more about the Product Listing Page for SCAYLE Storefront in our SCAYLE Resource Center.](https://scayle.dev/en/storefront-guide/
|
|
255
|
+
- [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
256
|
|
|
245
257
|
- 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
258
|
|
|
@@ -300,7 +312,7 @@
|
|
|
300
312
|
|
|
301
313
|
- 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
314
|
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/
|
|
315
|
+
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
316
|
|
|
305
317
|
## 0.4.1
|
|
306
318
|
|
package/README.md
CHANGED
|
@@ -44,8 +44,6 @@ export default defineNuxtConfig({
|
|
|
44
44
|
})
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
## Module Configuration
|
|
48
|
-
|
|
49
47
|
## License
|
|
50
48
|
|
|
51
49
|
Licensed under the [MIT License](https://opensource.org/license/mit/)
|
|
@@ -55,18 +53,9 @@ Licensed under the [MIT License](https://opensource.org/license/mit/)
|
|
|
55
53
|
[SCAYLE](https://scayle.com) is a full-featured e-commerce software solution that comes with flexible APIs.
|
|
56
54
|
Within SCAYLE, you can manage all aspects of your shop, such as products, stocks, customers, and transactions.
|
|
57
55
|
|
|
58
|
-
Learn more about [SCAYLE’s architecture](https://scayle.dev/en/getting-started) and commerce modules in the Docs.
|
|
56
|
+
Learn more about [SCAYLE’s architecture](https://scayle.dev/en/core-documentation/welcome-to-scayle/getting-started) and commerce modules in the Docs.
|
|
59
57
|
|
|
60
58
|
## Other channels
|
|
61
59
|
|
|
62
60
|
- [LinkedIn](https://www.linkedin.com/company/scaylecommerce/)
|
|
63
61
|
- [Jobs](https://careers.smartrecruiters.com/ABOUTYOUGmbH/scayle)
|
|
64
|
-
|
|
65
|
-
<!-- Badges -->
|
|
66
|
-
|
|
67
|
-
[npm-version-src]: https://img.shields.io/npm/v/@scayle/storefront-product-listing/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
68
|
-
[npm-version-href]: https://npmjs.com/package/@scayle/storefront-product-listing
|
|
69
|
-
[npm-downloads-src]: https://img.shields.io/npm/dm/@scayle/storefront-product-listing.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
70
|
-
[npm-downloads-href]: https://npmjs.com/package/@scayle/storefront-product-listing
|
|
71
|
-
[license-src]: https://img.shields.io/npm/l/@scayle/storefront-product-listing.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
72
|
-
[license-href]: https://npmjs.com/package/@scayle/storefront-product-listing
|
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.3";
|
|
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.3",
|
|
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.
|
|
47
|
-
"@nuxt/test-utils": "3.
|
|
48
|
-
"@types/node": "22.18.
|
|
46
|
+
"@nuxt/schema": "3.19.3",
|
|
47
|
+
"@nuxt/test-utils": "3.20.1",
|
|
48
|
+
"@types/node": "22.18.13",
|
|
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.38.0",
|
|
54
54
|
"fishery": "2.3.1",
|
|
55
|
-
"happy-dom": "
|
|
56
|
-
"nuxt": "3.19.
|
|
57
|
-
"publint": "0.3.
|
|
55
|
+
"happy-dom": "20.0.8",
|
|
56
|
+
"nuxt": "3.19.3",
|
|
57
|
+
"publint": "0.3.15",
|
|
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.2",
|
|
64
|
+
"vue": "3.5.22",
|
|
65
|
+
"@scayle/eslint-config-storefront": "4.7.11",
|
|
66
|
+
"@scayle/storefront-nuxt": "8.47.0",
|
|
67
67
|
"@scayle/vitest-config-storefront": "1.0.0"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|