@scayle/storefront-product-detail 1.1.1 → 1.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @scayle/storefront-product-detail
2
2
 
3
+ ## 1.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Added `vue@>=3.5.13` and `schema-dts@>=1.1.5` to `peerDependencies`.
8
+
9
+ ## 1.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Set `productGroupID` instead of `productID` when generating the product group JSON schema.
14
+
3
15
  ## 1.1.1
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.1",
4
+ "version": "1.1.3",
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": "3.3.1"
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.1";
4
+ const PACKAGE_VERSION = "1.1.3";
5
5
  const module = defineNuxtModule({
6
6
  meta: {
7
7
  name: PACKAGE_NAME,
@@ -0,0 +1 @@
1
+ export * from './useProductSeoData.js';
@@ -0,0 +1 @@
1
+ export * from "./useProductSeoData.js";
@@ -43,7 +43,7 @@ export const generateProductGroupSchema = ({
43
43
  return {
44
44
  "@context": "https://schema.org",
45
45
  "@type": "ProductGroup",
46
- productID: productId,
46
+ productGroupID: productId,
47
47
  name: `${name}, ${color}`,
48
48
  description,
49
49
  image: images,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-product-detail",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Collection of essential composables and utilities to work with product detail",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -14,6 +14,10 @@
14
14
  "types": "./dist/types.d.ts",
15
15
  "import": "./dist/module.mjs",
16
16
  "require": "./dist/module.cjs"
17
+ },
18
+ "./composables": {
19
+ "types": "./dist/runtime/composables/index.d.ts",
20
+ "import": "./dist/runtime/composables/index.js"
17
21
  }
18
22
  },
19
23
  "main": "./dist/module.cjs",
@@ -41,31 +45,36 @@
41
45
  "package:lint": "publint"
42
46
  },
43
47
  "peerDependencies": {
44
- "@nuxt/kit": "^3.13.0",
48
+ "@nuxt/kit": ">=3.13.0",
45
49
  "@scayle/storefront-nuxt": "^8.0.0",
46
- "@vue/test-utils": "2.4.6",
47
- "@vueuse/core": "12.7.0",
48
- "vue-router": "4.5.0"
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"
49
55
  },
50
56
  "devDependencies": {
51
- "@nuxt/kit": "3.14.1592",
57
+ "@nuxt/kit": "3.15.4",
52
58
  "@nuxt/module-builder": "0.8.4",
53
- "@nuxt/schema": "3.14.1592",
54
- "@nuxt/test-utils": "3.16.0",
59
+ "@nuxt/schema": "3.15.4",
60
+ "@nuxt/test-utils": "3.17.2",
55
61
  "@scayle/eslint-config-storefront": "4.4.1",
56
- "@scayle/storefront-nuxt": "8.10.4",
57
- "@types/node": "22.13.4",
62
+ "@scayle/storefront-nuxt": "8.11.11",
63
+ "@types/node": "22.13.10",
58
64
  "@vue/test-utils": "2.4.6",
59
- "@vueuse/core": "12.7.0",
65
+ "@vueuse/core": "13.0.0",
60
66
  "dprint": "0.49.0",
61
- "eslint": "9.20.1",
62
- "happy-dom": "17.1.1",
63
67
  "eslint-formatter-gitlab": "5.1.0",
64
- "nuxt": "3.14.1592",
68
+ "eslint": "9.22.0",
69
+ "happy-dom": "17.4.3",
70
+ "nuxt": "3.15.4",
65
71
  "publint": "0.2.12",
66
- "typescript": "5.7.3",
72
+ "schema-dts": "1.1.5",
73
+ "typescript": "5.8.2",
74
+ "unbuild": "2.0.0",
67
75
  "vitest": "2.1.9",
68
76
  "vue-router": "4.5.0",
69
- "vue-tsc": "2.2.2"
77
+ "vue-tsc": "2.2.8",
78
+ "vue": "3.5.13"
70
79
  }
71
80
  }