@scayle/storefront-product-detail 1.1.2 → 1.1.4
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 +12 -0
- package/dist/module.json +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/composables/useProductSeoData.js +8 -1
- package/package.json +22 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @scayle/storefront-product-detail
|
|
2
2
|
|
|
3
|
+
## 1.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Use absolute URL's inproduct breadcrumbs JSONLD returned by `useProductSeoData`
|
|
8
|
+
|
|
9
|
+
## 1.1.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Added `vue@>=3.5.13` and `schema-dts@>=1.1.5` to `peerDependencies`.
|
|
14
|
+
|
|
3
15
|
## 1.1.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/module.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-product-detail",
|
|
3
3
|
"configKey": "product-detail",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.4",
|
|
5
5
|
"compatibility": {
|
|
6
6
|
"bridge": false,
|
|
7
7
|
"nuxt": ">=3.13"
|
|
8
8
|
},
|
|
9
9
|
"builder": {
|
|
10
10
|
"@nuxt/module-builder": "0.8.4",
|
|
11
|
-
"unbuild": "
|
|
11
|
+
"unbuild": "2.0.0"
|
|
12
12
|
}
|
|
13
13
|
}
|
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-detail";
|
|
4
|
-
const PACKAGE_VERSION = "1.1.
|
|
4
|
+
const PACKAGE_VERSION = "1.1.4";
|
|
5
5
|
const module = defineNuxtModule({
|
|
6
6
|
meta: {
|
|
7
7
|
name: PACKAGE_NAME,
|
|
@@ -27,7 +27,14 @@ export function useProductSeoData(breadcrumbs, urlParams, productInfo) {
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
const productBreadcrumbJsonLd = computed(() => {
|
|
30
|
-
return generateCategoryBreadcrumbSchema(
|
|
30
|
+
return generateCategoryBreadcrumbSchema(
|
|
31
|
+
toValue(breadcrumbs).map(({ to, value }) => {
|
|
32
|
+
return {
|
|
33
|
+
value,
|
|
34
|
+
to: new URL(to, toValue(urlParams).baseUrl).href
|
|
35
|
+
};
|
|
36
|
+
})
|
|
37
|
+
);
|
|
31
38
|
});
|
|
32
39
|
return {
|
|
33
40
|
robots,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-product-detail",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Collection of essential composables and utilities to work with product detail",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,31 +45,36 @@
|
|
|
45
45
|
"package:lint": "publint"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@nuxt/kit": "
|
|
48
|
+
"@nuxt/kit": ">=3.13.0",
|
|
49
49
|
"@scayle/storefront-nuxt": "^8.0.0",
|
|
50
|
-
"@vue/test-utils": "2.4.6",
|
|
51
|
-
"@vueuse/core": "12.
|
|
52
|
-
"
|
|
50
|
+
"@vue/test-utils": "^2.4.6",
|
|
51
|
+
"@vueuse/core": "^12.8.2 || ^13.0.0",
|
|
52
|
+
"schema-dts": "^1.1.5",
|
|
53
|
+
"vue-router": "^4.5.0",
|
|
54
|
+
"vue": "^3.5.13"
|
|
53
55
|
},
|
|
54
56
|
"devDependencies": {
|
|
55
|
-
"@nuxt/kit": "3.
|
|
57
|
+
"@nuxt/kit": "3.15.4",
|
|
56
58
|
"@nuxt/module-builder": "0.8.4",
|
|
57
|
-
"@nuxt/schema": "3.
|
|
58
|
-
"@nuxt/test-utils": "3.17.
|
|
59
|
-
"@scayle/eslint-config-storefront": "4.
|
|
60
|
-
"@scayle/storefront-nuxt": "8.
|
|
61
|
-
"@types/node": "22.
|
|
59
|
+
"@nuxt/schema": "3.15.4",
|
|
60
|
+
"@nuxt/test-utils": "3.17.2",
|
|
61
|
+
"@scayle/eslint-config-storefront": "4.5.0",
|
|
62
|
+
"@scayle/storefront-nuxt": "8.16.0",
|
|
63
|
+
"@types/node": "22.14.0",
|
|
62
64
|
"@vue/test-utils": "2.4.6",
|
|
63
|
-
"@vueuse/core": "
|
|
64
|
-
"dprint": "0.49.
|
|
65
|
-
"eslint": "9.21.0",
|
|
66
|
-
"happy-dom": "17.1.8",
|
|
65
|
+
"@vueuse/core": "13.0.0",
|
|
66
|
+
"dprint": "0.49.1",
|
|
67
67
|
"eslint-formatter-gitlab": "5.1.0",
|
|
68
|
-
"
|
|
68
|
+
"eslint": "9.23.0",
|
|
69
|
+
"happy-dom": "17.4.4",
|
|
70
|
+
"nuxt": "3.15.4",
|
|
69
71
|
"publint": "0.2.12",
|
|
72
|
+
"schema-dts": "1.1.5",
|
|
70
73
|
"typescript": "5.8.2",
|
|
74
|
+
"unbuild": "2.0.0",
|
|
71
75
|
"vitest": "2.1.9",
|
|
72
76
|
"vue-router": "4.5.0",
|
|
73
|
-
"vue-tsc": "2.2.8"
|
|
77
|
+
"vue-tsc": "2.2.8",
|
|
78
|
+
"vue": "3.5.13"
|
|
74
79
|
}
|
|
75
80
|
}
|