Skip to content

Commit

Permalink
chore: bump dependencies (#435)
Browse files Browse the repository at this point in the history
* chore: bump dependencies

* feat: change types imports

* fix: audit update
  • Loading branch information
patzick authored Oct 20, 2023
1 parent 67cf565 commit a4483ed
Show file tree
Hide file tree
Showing 257 changed files with 1,983 additions and 1,835 deletions.
7 changes: 7 additions & 0 deletions .changeset/great-mirrors-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@shopware-pwa/cms-base": patch
---

Dependency changes:

- Changed dependency _@nuxt/kit_ from **^3.7.4** to **^3.8.0**
7 changes: 7 additions & 0 deletions .changeset/lovely-days-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"vue-vite-blank": patch
---

Dependency changes:

- Changed dependency _vue_ from **^3.3.4** to **^3.3.5**
7 changes: 7 additions & 0 deletions .changeset/lucky-balloons-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@shopware-pwa/typer": patch
---

Dependency changes:

- Changed dependency _vite_ from **^4.4.11** to **^4.5.0**
7 changes: 7 additions & 0 deletions .changeset/lucky-dancers-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"docs": patch
---

Dependency changes:

- Changed dependency _vue_ from **^3.3.4** to **^3.3.5**
7 changes: 7 additions & 0 deletions .changeset/purple-kids-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@shopware-pwa/nuxt3-module": patch
---

Dependency changes:

- Changed dependency _@nuxt/kit_ from **^3.7.4** to **^3.8.0**
8 changes: 8 additions & 0 deletions .changeset/rotten-jokes-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"shopware-astro": patch
---

Dependency changes:

- Changed dependency _astro_ from **^3.3.0** to **^3.3.2**
- Changed dependency _vue_ from **^3.3.4** to **^3.3.5**
8 changes: 8 additions & 0 deletions .changeset/smooth-planets-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"eslint-config-shopware": patch
---

Dependency changes:

- Changed dependency _@typescript-eslint/eslint-plugin_ from **^6.7.5** to **^6.8.0**
- Changed dependency _@typescript-eslint/parser_ from **^6.7.5** to **^6.8.0**
7 changes: 7 additions & 0 deletions .changeset/sour-boxes-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"vue-demo-store": patch
---

Dependency changes:

- Changed dependency _vue_ from **^3.3.4** to **^3.3.5**
12 changes: 12 additions & 0 deletions .changeset/stale-clouds-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@shopware/api-client": minor
"vue-demo-store": minor
"@shopware-pwa/composables-next": minor
"@shopware-pwa/api-client": minor
"@shopware-pwa/cms-base": minor
"@shopware/api-gen": minor
"@shopware-pwa/helpers-next": minor
"docs": minor
---

Changed types imports to `import type {...} from "..."`
4 changes: 2 additions & 2 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"vitepress": "1.0.0-beta.7",
"vitepress-plugin-search": "1.0.4-alpha.20",
"vitepress-shopware-docs": "0.3.0-beta.44",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/typer": "workspace:*",
"@types/markdown-it": "^13.0.2",
"@types/markdown-it": "^13.0.4",
"@types/node": "^18.16.18",
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.2.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ You can then iterate the filter objects available in the array. The filter objec

```vue{15,17}
<script setup lang="ts">
import { ListingFilter } from "@shopware-pwa/types";
import type { ListingFilter } from "@shopware-pwa/types";
const { getAvailableFilters, getCurrentFilters, setCurrentFilters } = useListing(/** parameters omitted */)
const selectManufacturerAndSearch = (manufacturerId: string) => {
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/src/getting-started/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ npm install -D @shopware-pwa/types
and use

```ts
import { SeoUrl } from "@shopware-pwa/types";
import type { SeoUrl } from "@shopware-pwa/types";
```

in your components or composables.
Expand All @@ -77,7 +77,7 @@ Depending on which type of route you have, the way of fetching the page data is
Possibly, the easiest approach is to set up a catch-all component, that resolves the route and then renders the correct page component. This is how it could look like:

```ts
import { SeoUrl } from "@shopware-pwa/types";
import type { SeoUrl } from "@shopware-pwa/types";

import {
useNavigation,
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/getting-started/wishlist.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can use the `useWishlist` composable to get the wishlist products.
```vue
<script>
import { getProducts } from "@shopware-pwa/api-client";
import { ClientApiError, Product } from "@shopware-pwa/types";
import type { ClientApiError, Product } from "@shopware-pwa/types";
// Contains a list of products ids in the wishlist
const { getWishlistProducts, items } = useWishlist();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Path: `templates/vue-demo-store/components/product/ProductStatic.vue`

```vue
<script setup lang="ts">
import { Product, ProductReview } from "@shopware-pwa/types";
import type { Product, ProductReview } from "@shopware-pwa/types";
import {
getProductRoute,
getTranslatedProperty,
Expand Down
4 changes: 2 additions & 2 deletions examples/blank-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@shopware-pwa/api-client": "canary",
"@shopware-pwa/composables-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
4 changes: 2 additions & 2 deletions examples/example-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
},
"dependencies": {
"@stackblitz/sdk": "latest",
"vue": "^3.3.4",
"vue": "^3.3.5",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite": "^4.5.0",
"vue-tsc": "^1.8.19"
}
}
4 changes: 2 additions & 2 deletions examples/express-checkout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"@shopware-pwa/composables-next": "canary",
"@shopware-pwa/helpers-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4",
"vue": "^3.3.5",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
4 changes: 2 additions & 2 deletions examples/login-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@shopware-pwa/api-client": "canary",
"@shopware-pwa/composables-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
2 changes: 1 addition & 1 deletion examples/login-form/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { useUser } from "@shopware-pwa/composables-next";
import { ClientApiError, ShopwareError } from "@shopware-pwa/types";
import type { ClientApiError, ShopwareError } from "@shopware-pwa/types";
import { reactive, ref } from "vue";
const { logout, login, isLoggedIn, user } = useUser();
const loginCredentials = reactive({
Expand Down
6 changes: 3 additions & 3 deletions examples/modal-teleport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxt/devtools": "^0.8.5",
"@nuxt/devtools": "^1.0.0",
"@nuxt/types": "^2.17.1",
"@nuxt/typescript-build": "^3.0.1",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@unocss/nuxt": "^0.56.5",
"@unocss/reset": "^0.56.5",
"eslint": "^8.51.0",
"nuxt": "^3.7.4",
"nuxt": "^3.8.0",
"unocss": "^0.56.5"
},
"dependencies": {
"@vueuse/nuxt": "^10.5.0",
"vue": "^3.3.4"
"vue": "^3.3.5"
}
}
6 changes: 3 additions & 3 deletions examples/mollie-credit-card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"dev": "nuxi dev playground"
},
"dependencies": {
"@nuxt/kit": "^3.7.4"
"@nuxt/kit": "^3.8.0"
},
"devDependencies": {
"@nuxt/schema": "^3.7.4",
"@nuxt/schema": "^3.8.0",
"@shopware-pwa/composables-next": "canary",
"@types/node": "^20.3.2",
"nuxt": "^3.7.4"
"nuxt": "^3.8.0"
}
}
4 changes: 2 additions & 2 deletions examples/mollie-credit-card/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"@shopware-pwa/nuxt3-module": "canary",
"@types/node": "^20.3.2",
"@vueuse/nuxt": "^10.5.0",
"nuxt": "^3.7.4",
"nuxt": "^3.8.0",
"typescript": "^5.2.2",
"vue": "^3.3.4",
"vue": "^3.3.5",
"vue-tsc": "^1.8.19"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions examples/new-api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"dependencies": {
"@shopware/api-client": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite": "^4.5.0",
"vue-tsc": "^1.8.19"
}
}
2 changes: 1 addition & 1 deletion examples/new-api-client/src/adminApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
RequestReturnType,
createAdminAPIClient,
} from "@shopware/api-client";
import {
import type {
operationPaths,
operations,
components,
Expand Down
2 changes: 1 addition & 1 deletion examples/new-api-client/src/apiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
RequestReturnType,
createAPIClient,
} from "@shopware/api-client";
import {
import type {
operationPaths,
operations,
components,
Expand Down
4 changes: 2 additions & 2 deletions examples/product-detail-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"@shopware-pwa/composables-next": "canary",
"@shopware-pwa/helpers-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
useProductPrice,
usePrice,
} from "@shopware-pwa/composables-next";
import { Product } from "@shopware-pwa/types";
import type { Product } from "@shopware-pwa/types";
const props = defineProps<{
product: Product;
Expand Down
5 changes: 2 additions & 3 deletions examples/product-detail-page/src/components/ProductView.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { computed, unref, defineProps, ref } from "vue";
import { Product } from "@shopware-pwa/types";
import type { Product } from "@shopware-pwa/types";
import {
getSmallestThumbnailUrl,
getSrcSetForMedia,
Expand Down Expand Up @@ -59,8 +59,7 @@ const addToCartProxy = async () => {
const { unitPrice, price } = useProductPrice(product);
const regulationPrice = computed(() => price.value?.regulationPrice?.price);
const { getFormattedPrice, init } = usePrice();
init({
const { getFormattedPrice } = usePrice({
localeCode: "de-DE",
currencyCode: "EUR",
});
Expand Down
4 changes: 2 additions & 2 deletions examples/responsive-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@shopware-pwa/api-client": "canary",
"@shopware-pwa/composables-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
4 changes: 2 additions & 2 deletions examples/use-add-to-cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@shopware-pwa/api-client": "canary",
"@shopware-pwa/composables-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
4 changes: 2 additions & 2 deletions examples/use-cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@shopware-pwa/api-client": "canary",
"@shopware-pwa/composables-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
4 changes: 2 additions & 2 deletions examples/use-checkout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"@shopware-pwa/api-client": "canary",
"@shopware-pwa/composables-next": "canary",
"js-cookie": "^3.0.5",
"vue": "^3.3.4"
"vue": "^3.3.5"
},
"devDependencies": {
"@shopware-pwa/types": "canary",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
2 changes: 1 addition & 1 deletion examples/use-checkout/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
useCheckout,
useSessionContext,
} from "@shopware-pwa/composables-next";
import { Error } from "@shopware-pwa/types";
import type { Error } from "@shopware-pwa/types";
const {
paymentMethods,
Expand Down
Loading

2 comments on commit a4483ed

@vercel
Copy link

@vercel vercel bot commented on a4483ed Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

frontends-demo – ./templates/vue-demo-store

frontends-demo.vercel.app
frontends-demo-git-main-shopware-frontends.vercel.app
frontends-demo-shopware-frontends.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a4483ed Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.