@scayle/storefront-nuxt 7.72.1 → 7.72.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 +6 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 7.72.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add import alias `#storefront/composables` to package.json imports and explicitly added import alias to build transpilation to prevent potential build issues
|
|
8
|
+
|
|
3
9
|
## 7.72.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -61,7 +61,7 @@ export default {
|
|
|
61
61
|
}`;
|
|
62
62
|
}
|
|
63
63
|
const PACKAGE_NAME = "@scayle/storefront-nuxt";
|
|
64
|
-
const PACKAGE_VERSION = "7.72.
|
|
64
|
+
const PACKAGE_VERSION = "7.72.1";
|
|
65
65
|
const logger = createConsola({
|
|
66
66
|
fancy: true,
|
|
67
67
|
formatOptions: {
|
|
@@ -149,7 +149,7 @@ const module = defineNuxtModule({
|
|
|
149
149
|
for (const rpcMethodName of options.rpcMethodNames ?? []) {
|
|
150
150
|
if (rpcMethodNames.has(rpcMethodName) && !overridenRPCMethodNames.has(rpcMethodName)) {
|
|
151
151
|
logger.warn(`
|
|
152
|
-
Overriding RPC method '${rpcMethodName}' from '@scayle/storefront-nuxt' with a local custom implementation.
|
|
152
|
+
Overriding RPC method '${rpcMethodName}' from '@scayle/storefront-nuxt' with a local custom implementation.
|
|
153
153
|
|
|
154
154
|
Should this be done on purpose, please be aware that this can lead to unexpected issues since the '@scayle/storefront-nuxt' package also uses this RPC method internally.
|
|
155
155
|
To silence this warning, you can add '${rpcMethodName}' to 'rpcMethodOverrides' in the '@scayle/storefront-nuxt' config.
|
|
@@ -293,6 +293,7 @@ Missing RPC Overrides: ${Array.from(overridenRPCMethodNames).map((name) => `'${n
|
|
|
293
293
|
nuxt.options.alias["#storefront/composables"] = resolve(
|
|
294
294
|
"./runtime/composables"
|
|
295
295
|
);
|
|
296
|
+
nuxt.options.build.transpile.push("#storefront/composables");
|
|
296
297
|
addPlugin(resolve("./runtime/plugin/shop"));
|
|
297
298
|
addPlugin({
|
|
298
299
|
src: resolve("./runtime/plugin/log.client"),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.72.
|
|
4
|
+
"version": "7.72.2",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"default": "./dist/index.mjs"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
+
"imports": {
|
|
33
|
+
"#storefront/composables": "./dist/runtime/composables/index.mjs"
|
|
34
|
+
},
|
|
32
35
|
"main": "./dist/index.mjs",
|
|
33
36
|
"types": "./dist/index.d.ts",
|
|
34
37
|
"files": [
|
|
@@ -72,7 +75,7 @@
|
|
|
72
75
|
"unstorage": "1.10.2",
|
|
73
76
|
"vue-router": "4.3.2",
|
|
74
77
|
"yn": "5.0.0",
|
|
75
|
-
"zod": "3.23.
|
|
78
|
+
"zod": "3.23.8"
|
|
76
79
|
},
|
|
77
80
|
"devDependencies": {
|
|
78
81
|
"@nuxt/eslint": "0.3.13",
|