@shopware-pwa/nuxt3-module
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -1,8 +0,26 @@ | ||
import { NuxtModule } from '@nuxt/schema'; | ||
import * as _nuxt_schema from '@nuxt/schema'; | ||
declare type ShopwareNuxtOptions = { | ||
example: string; | ||
/** | ||
* Endpoint for your shopware backend. | ||
* | ||
* Default demo store: "https://demo-frontends.swstage.store/" | ||
*/ | ||
shopwareEndpoint?: string; | ||
shopwareAccessToken?: string; | ||
apiClientConfig?: { | ||
timeout?: number | string; | ||
}; | ||
}; | ||
declare const nuxtModule: NuxtModule<ShopwareNuxtOptions>; | ||
declare const _default: _nuxt_schema.NuxtModule<ShopwareNuxtOptions>; | ||
export { ShopwareNuxtOptions, nuxtModule as default }; | ||
declare module "@nuxt/schema" { | ||
interface NuxtConfig { | ||
shopware?: ShopwareNuxtOptions; | ||
} | ||
interface NuxtOptions { | ||
shopware?: ShopwareNuxtOptions; | ||
} | ||
} | ||
export { ShopwareNuxtOptions, _default as default }; |
{ | ||
"name": "@shopware-pwa/nuxt3-module", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Nuxt3 package for ShopwarePWA", | ||
@@ -16,17 +16,17 @@ "main": "./index.cjs", | ||
"dev": "unbuild --stub", | ||
"lint": "eslint plugin.ts src/**/*.ts* --fix", | ||
"lint": "eslint plugin.ts src/**/*.ts* --fix --max-warnings=0", | ||
"test": "echo \"Warn: no test specified yet\"" | ||
}, | ||
"dependencies": { | ||
"@nuxt/kit": "^3.0.0-rc.5", | ||
"@nuxt/kit": "^3.0.0-rc.6", | ||
"@shopware-pwa/composables": "canary", | ||
"@shopware-pwa/composables-next": "0.1.10", | ||
"@shopware-pwa/composables-next": "^0.1.11", | ||
"@shopware-pwa/shopware-6-client": "canary" | ||
}, | ||
"devDependencies": { | ||
"@nuxt/schema": "^3.0.0-rc.5", | ||
"@nuxt/schema": "^3.0.0-rc.6", | ||
"eslint-config-shopware": "workspace:*", | ||
"tsconfig": "workspace:*", | ||
"eslint-config-shopware": "workspace:*", | ||
"typescript": "^4.7.4", | ||
"unbuild": "^0.7.4" | ||
"unbuild": "^0.7.6" | ||
}, | ||
@@ -33,0 +33,0 @@ "repository": { |
@@ -6,2 +6,3 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
import { createShopware, getDefaultApiParams } from "@shopware-pwa/composables"; | ||
import { ref } from "vue"; | ||
@@ -51,2 +52,3 @@ const ShopwarePlugin = { | ||
app.provide("shopware", shopwareContext); | ||
app.provide("swSessionContext", ref()); | ||
}, | ||
@@ -53,0 +55,0 @@ }; |
Sorry, the diff of this file is not supported yet
5903
147
10
45
3
370
+ Added@shopware-pwa/api-client@0.1.20(transitive)
+ Added@shopware-pwa/composables-next@0.1.20(transitive)
+ Added@shopware-pwa/helpers-next@0.1.20(transitive)
+ Added@shopware-pwa/types@0.1.20(transitive)
+ Addedscule@0.3.2(transitive)
- Removed@shopware-pwa/composables-next@0.1.10(transitive)
- Removed@shopware-pwa/helpers-next@0.1.10(transitive)
Updated@nuxt/kit@^3.0.0-rc.6