Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Chore/upgrade versions #225

Merged
merged 2 commits into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
]
},
"devDependencies": {
"@microsoft/api-extractor": "^7.6.2",
"@microsoft/api-extractor": "^7.7.0",
"@types/faker": "^4.1.8",
"@types/jest": "^24.0.23",
"@types/node": "^12.12.14",
"@types/node": "^12.12.18",
"axios": "^0.19.0",
"brotli": "^1.3.2",
"chalk": "^3.0.0",
Expand All @@ -55,17 +55,17 @@
"lint-staged": "^9.5.0",
"minimist": "^1.2.0",
"prettier": "~1.19.1",
"rollup": "^1.27.8",
"rollup": "^1.27.13",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.25.2",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-typescript2": "^0.25.3",
"ts-jest": "^24.2.0",
"typedoc": "^0.15.3",
"typedoc-plugin-markdown": "^2.2.13",
"typescript": "^3.7.2",
"typedoc": "^0.15.5",
"typedoc-plugin-markdown": "^2.2.14",
"typescript": "^3.7.3",
"vuepress": "^1.2.0",
"yorkie": "^2.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/composables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"license": "MIT",
"devDependencies": {
"@vue/composition-api": "^0.3.4",
"vue": "^2.6.10"
"vue": "^2.6.11"
},
"peerDependencies": {
"@vue/composition-api": "^0.3.4",
"vue": "^2.6.10"
"vue": "^2.6.11"
},
"dependencies": {}
}
6 changes: 3 additions & 3 deletions packages/default-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"@shopware-pwa/composables": "^0.1.0",
"@shopware-pwa/helpers": "^0.1.0",
"@shopware-pwa/shopware-6-client": "^0.1.0",
"@storefront-ui/vue": "^0.3.5",
"@storefront-ui/vue": "^0.3.6",
"@vuelidate/core": "^2.0.0-alpha.0",
"@vuelidate/validators": "^2.0.0-alpha.0",
"cookie-universal-nuxt": "^2.1.0",
"nuxt": "^2.10.2",
"nuxt": "^2.11.0",
"slugify": "^1.3.6"
},
"devDependencies": {
Expand All @@ -44,7 +44,7 @@
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-nuxt": ">=0.5.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/helpers/src/product/getProductMainImageUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ import { Product } from "@shopware-pwa/shopware-6-client";
export function getProductMainImageUrl({
product
}: { product?: Product } = {}): string | undefined {
return ( product && product.cover && ((product.cover.media && product.cover.media.url) || product.cover.url));
return (
product &&
product.cover &&
((product.cover.media && product.cover.media.url) || product.cover.url)
);
}
Loading