@scayle/storefront-nuxt 8.23.0 → 8.24.0

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,19 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.24.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Update to `@nuxt/module-builder@1`. This version of Nuxt Module Builder is ESM-only, so CommonJS (`.cjs`) files will no longer be built or distributed with the package. However as of Nuxt 3, only esm is used so this should not have any impact as this module does not support Nuxt 2.
8
+
9
+ ### Patch Changes
10
+
11
+ **Dependencies**
12
+
13
+ **@scayle/storefront-core v8.24.0**
14
+
15
+ - No changes in this release.
16
+
3
17
  ## 8.23.0
4
18
 
5
19
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { d as AdditionalShopConfig, A as AppKeys, i as CheckoutEvent, C as CheckoutShopConfig, M as ModuleBaseOptions, j as ModulePublicRuntimeConfig, P as PublicShopConfig, c as SapiConfig, S as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, b as StorageConfig, a as StorageEntity, g as StorefrontConfig, h as SupportedDriverName } from './shared/storefront-nuxt.d0683fc1.mjs';
1
+ export { d as AdditionalShopConfig, A as AppKeys, i as CheckoutEvent, C as CheckoutShopConfig, M as ModuleBaseOptions, j as ModulePublicRuntimeConfig, P as PublicShopConfig, c as SapiConfig, S as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, b as StorageConfig, a as StorageEntity, g as StorefrontConfig, h as SupportedDriverName } from './shared/storefront-nuxt.CRtTNUi9.mjs';
2
2
  export { ModuleHooks } from './module.mjs';
3
3
  export { rpcCall } from '../dist/runtime/rpc/rpcCall.js';
4
4
  export { extendPromise } from '../dist/runtime/utils/promise.js';
package/dist/module.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { HookResult } from '@nuxt/schema';
3
- import { M as ModuleBaseOptions } from './shared/storefront-nuxt.d0683fc1.mjs';
4
- export { d as AdditionalShopConfig, A as AppKeys, i as CheckoutEvent, C as CheckoutShopConfig, j as ModulePublicRuntimeConfig, P as PublicShopConfig, c as SapiConfig, S as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, b as StorageConfig, a as StorageEntity, g as StorefrontConfig, h as SupportedDriverName } from './shared/storefront-nuxt.d0683fc1.mjs';
3
+ import { M as ModuleBaseOptions } from './shared/storefront-nuxt.CRtTNUi9.mjs';
4
+ export { d as AdditionalShopConfig, A as AppKeys, i as CheckoutEvent, C as CheckoutShopConfig, j as ModulePublicRuntimeConfig, P as PublicShopConfig, c as SapiConfig, S as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, b as StorageConfig, a as StorageEntity, g as StorefrontConfig, h as SupportedDriverName } from './shared/storefront-nuxt.CRtTNUi9.mjs';
5
5
  export { LogLevel } from '@scayle/storefront-core';
6
6
  import '@scayle/unstorage-compression-driver';
7
7
  import 'unstorage';
package/dist/module.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.23.0",
3
+ "version": "8.24.0",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
7
7
  },
8
8
  "builder": {
9
- "@nuxt/module-builder": "0.8.4",
9
+ "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "2.0.0"
11
11
  }
12
12
  }
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { existsSync } from 'node:fs';
2
2
  import { defineNuxtModule, createResolver, extendViteConfig, addTypeTemplate, addPlugin, addImportsDir } from '@nuxt/kit';
3
3
  import { rpcMethods } from '@scayle/storefront-core';
4
4
  import { defu } from 'defu';
5
- import { genImport, genSafeVariableName, genExport } from 'knitwork';
5
+ import { genExport, genImport, genSafeVariableName } from 'knitwork';
6
6
  import { builtinDrivers } from 'unstorage';
7
7
  import { createConsola } from 'consola';
8
8
  import { nodeFileTrace } from '@vercel/nft';
@@ -53,7 +53,7 @@ export default {
53
53
  }`;
54
54
  }
55
55
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
56
- const PACKAGE_VERSION = "8.23.0";
56
+ const PACKAGE_VERSION = "8.24.0";
57
57
  const logger = createConsola({
58
58
  fancy: true,
59
59
  formatOptions: {
@@ -14,10 +14,10 @@
14
14
  * ```
15
15
  */
16
16
  declare const _default: import("#app/nuxt").Plugin<{
17
- currentShop: import("../..").PublicShopConfig;
18
- availableShops: import("../..").PublicShopConfig[];
17
+ currentShop: import("../../index.js").PublicShopConfig;
18
+ availableShops: import("../../index.js").PublicShopConfig[];
19
19
  }> & import("#app/nuxt").ObjectPlugin<{
20
- currentShop: import("../..").PublicShopConfig;
21
- availableShops: import("../..").PublicShopConfig[];
20
+ currentShop: import("../../index.js").PublicShopConfig;
21
+ availableShops: import("../../index.js").PublicShopConfig[];
22
22
  }>;
23
23
  export default _default;