@scayle/storefront-nuxt 7.85.10 → 7.85.11

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,11 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 7.85.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Update @nuxt/module-builder to 0.8.4
8
+
3
9
  ## 7.85.10
4
10
 
5
11
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "7.85.10",
3
+ "version": "7.85.11",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
7
7
  },
8
8
  "builder": {
9
- "@nuxt/module-builder": "0.7.1",
9
+ "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
11
11
  }
12
12
  }
package/dist/module.mjs CHANGED
@@ -48,7 +48,7 @@ export default {
48
48
  }`;
49
49
  }
50
50
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
51
- const PACKAGE_VERSION = "7.85.10";
51
+ const PACKAGE_VERSION = "7.85.11";
52
52
  const logger = createConsola({
53
53
  fancy: true,
54
54
  formatOptions: {
package/dist/types.d.mts CHANGED
@@ -1,62 +1,11 @@
1
+ import type { NuxtModule } from '@nuxt/schema'
1
2
 
2
- import type { ModulePublicRuntimeConfig } from './module.js'
3
-
4
- export interface ModuleOptions {
5
- session: {
6
- /** @default "$session" */
7
- cookieName: string,
8
-
9
- /** @default "lax" */
10
- sameSite: string,
11
- },
12
-
13
- /** @default "domain" */
14
- shopSelector: string,
15
-
16
- oauth: {
17
- /** @default "" */
18
- apiHost: string,
19
-
20
- /** @default "" */
21
- clientId: string,
22
-
23
- /** @default "" */
24
- clientSecret: string,
25
- },
26
-
27
- idp: {
28
- /** @default false */
29
- enabled: boolean,
30
-
31
- idpKeys: Array<any>,
32
-
33
- /** @default "" */
34
- idpRedirectURL: string,
35
- },
36
-
37
- appKeys: {
38
- /** @default "wishlist_{shopId}_{userId}" */
39
- wishlistKey: string,
40
-
41
- /** @default "basket_{shopId}_{userId}" */
42
- basketKey: string,
43
-
44
- /** @default "sha256" */
45
- hashAlgorithm: string,
46
- },
47
- }
3
+ import type { default as Module, ModulePublicRuntimeConfig } from './module.js'
48
4
 
49
5
  declare module '@nuxt/schema' {
50
- interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
51
- interface NuxtOptions { ['storefront']?: ModuleOptions }
52
- interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
53
- }
54
-
55
- declare module 'nuxt/schema' {
56
- interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
57
- interface NuxtOptions { ['storefront']?: ModuleOptions }
58
6
  interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
59
7
  }
60
8
 
9
+ export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
61
10
 
62
- export type { AdditionalShopConfig, AppKeys, BapiConfig, CheckoutEvent, CheckoutShopConfig, ModulePublicRuntimeConfig, PublicShopConfig, RedisConfig, SapiConfig, SessionConfig, ShopConfig, ShopConfigIndexed, StorageConfig, StorageEntity, StorageProvider, StorefrontConfig } from './module.js'
11
+ export { type AdditionalShopConfig, type AppKeys, type BapiConfig, type CheckoutEvent, type CheckoutShopConfig, type ModulePublicRuntimeConfig, type PublicShopConfig, type RedisConfig, type SapiConfig, type SessionConfig, type ShopConfig, type ShopConfigIndexed, type StorageConfig, type StorageEntity, type StorageProvider, type StorefrontConfig } from './module.js'
package/dist/types.d.ts CHANGED
@@ -1,62 +1,11 @@
1
+ import type { NuxtModule } from '@nuxt/schema'
1
2
 
2
- import type { ModulePublicRuntimeConfig } from './module'
3
-
4
- export interface ModuleOptions {
5
- session: {
6
- /** @default "$session" */
7
- cookieName: string,
8
-
9
- /** @default "lax" */
10
- sameSite: string,
11
- },
12
-
13
- /** @default "domain" */
14
- shopSelector: string,
15
-
16
- oauth: {
17
- /** @default "" */
18
- apiHost: string,
19
-
20
- /** @default "" */
21
- clientId: string,
22
-
23
- /** @default "" */
24
- clientSecret: string,
25
- },
26
-
27
- idp: {
28
- /** @default false */
29
- enabled: boolean,
30
-
31
- idpKeys: Array<any>,
32
-
33
- /** @default "" */
34
- idpRedirectURL: string,
35
- },
36
-
37
- appKeys: {
38
- /** @default "wishlist_{shopId}_{userId}" */
39
- wishlistKey: string,
40
-
41
- /** @default "basket_{shopId}_{userId}" */
42
- basketKey: string,
43
-
44
- /** @default "sha256" */
45
- hashAlgorithm: string,
46
- },
47
- }
3
+ import type { default as Module, ModulePublicRuntimeConfig } from './module'
48
4
 
49
5
  declare module '@nuxt/schema' {
50
- interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
51
- interface NuxtOptions { ['storefront']?: ModuleOptions }
52
- interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
53
- }
54
-
55
- declare module 'nuxt/schema' {
56
- interface NuxtConfig { ['storefront']?: Partial<ModuleOptions> }
57
- interface NuxtOptions { ['storefront']?: ModuleOptions }
58
6
  interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
59
7
  }
60
8
 
9
+ export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
61
10
 
62
- export type { AdditionalShopConfig, AppKeys, BapiConfig, CheckoutEvent, CheckoutShopConfig, ModulePublicRuntimeConfig, PublicShopConfig, RedisConfig, SapiConfig, SessionConfig, ShopConfig, ShopConfigIndexed, StorageConfig, StorageEntity, StorageProvider, StorefrontConfig } from './module'
11
+ export { type AdditionalShopConfig, type AppKeys, type BapiConfig, type CheckoutEvent, type CheckoutShopConfig, type ModulePublicRuntimeConfig, type PublicShopConfig, type RedisConfig, type SapiConfig, type SessionConfig, type ShopConfig, type ShopConfigIndexed, type StorageConfig, type StorageEntity, type StorageProvider, type StorefrontConfig } from './module'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "7.85.10",
4
+ "version": "7.85.11",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -55,8 +55,7 @@
55
55
  "package:lint": "publint",
56
56
  "test": "vitest run",
57
57
  "test:ci": "vitest run",
58
- "test:watch": "vitest watch",
59
- "postinstall": "patch-package"
58
+ "test:watch": "vitest watch"
60
59
  },
61
60
  "dependencies": {
62
61
  "@nuxt/kit": "^3.12.2",
@@ -81,7 +80,7 @@
81
80
  },
82
81
  "devDependencies": {
83
82
  "@nuxt/eslint": "0.5.7",
84
- "@nuxt/module-builder": "0.7.1",
83
+ "@nuxt/module-builder": "0.8.4",
85
84
  "@nuxt/schema": "3.13.2",
86
85
  "@nuxt/test-utils": "3.14.2",
87
86
  "@scayle/eslint-config-storefront": "4.3.0",
@@ -95,7 +94,6 @@
95
94
  "node-mocks-http": "1.16.0",
96
95
  "nuxi": "3.14.0",
97
96
  "nuxt": "3.13.2",
98
- "patch-package": "8.0.0",
99
97
  "publint": "0.2.11",
100
98
  "vitest": "2.1.1",
101
99
  "vue-tsc": "2.1.6"