Skip to content

Commit

Permalink
Fix boilerplate and remove import of unused getter (#5561)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsobol committed Feb 24, 2021
1 parent d2e46a3 commit 47db7c7
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import {
SfCircleIcon
} from '@storefront-ui/vue';
import { computed, ref } from '@vue/composition-api';
import { useCart, shippingMethodGetters, cartGetters } from '@vue-storefront/commercetools';
import { useCart, cartGetters } from '@vue-storefront/commercetools';
import getShippingMethodPrice from '@/helpers/Checkout/getShippingMethodPrice';
export default {
Expand Down Expand Up @@ -114,7 +114,6 @@ export default {
showPromoCode,
removeItem,
updateItemQty,
shippingMethodGetters,
cartGetters,
applyCoupon,
characteristics: [
Expand Down
7 changes: 7 additions & 0 deletions packages/core/docs/changelog/5561.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
description: 'Added \'ShippingPriceInfo.vue\' and \'CartPreview.vue\' components to \'components/Checkout\' directory asking for integration-specific implementation.',
link: 'https://github.com/vuestorefront/vue-storefront/pull/5561',
isBreaking: false,
author: 'Filip Sobol',
linkToGitHubAccount: 'https://github.com/filipsobol'
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<b>Please implement vendor specific CartPreview component in 'components/Checkout' directory</b>
</template>

<script>
export default {
name: 'CartPreview'
};
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<b>Please implement vendor specific ShippingPriceInfo component in 'components/Checkout' directory</b>
</template>

<script>
export default {
name: 'ShippingPriceInfo'
};
</script>
26 changes: 25 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2439,12 +2439,36 @@
resolved "https://registry.yarnpkg.com/@storefront-ui/shared/-/shared-0.10.2.tgz#144d3a7d5508563ad97c1882fbd291abb0166349"
integrity sha512-EWwct/pMYcXhMKGEE2h7blw0XIvcVokhzdzfl5VROSajtflJkJ11hfaOxFWkB5Zgd6IdS9iwR2ayzVjunVRuEA==

"@storefront-ui/shared@0.9.2":
version "0.9.2"
resolved "https://registry.yarnpkg.com/@storefront-ui/shared/-/shared-0.9.2.tgz#b50d6c8baec1a479054fd4a14b786f2809f0598e"
integrity sha512-2JX76IgwTrP/7Ksa5mF9+r1vlaZojKiqrPh9HCDo2yznnseqNOzKVgWn9vIRKxWqofMzmZeleNdriKfoulfFoQ==

"@storefront-ui/shared@^0.7.17":
version "0.7.17"
resolved "https://registry.yarnpkg.com/@storefront-ui/shared/-/shared-0.7.17.tgz#110ab77d959565170dea8dd1cf574a0c6d2639e0"
integrity sha512-ntSlGDK/lc6+YNMhAAx01ERlhWdMWFxoTcBREKiBLfGXGBU9zhFp3kcxPxTf+hdjAE37lMX83tpqK2bXb37SOg==

"@storefront-ui/vue@0.10.2", "@storefront-ui/vue@^0.10.2":
"@storefront-ui/vue@0.9.2":
version "0.9.2"
resolved "https://registry.yarnpkg.com/@storefront-ui/vue/-/vue-0.9.2.tgz#56593b1cbfe62a5e03c965b5ccc2320edabbf504"
integrity sha512-yHaXY14fswtie4ULw64hbI8HGQ8wGOCdaGvZ1nwkcai0JJtCqLw7VWzCy0kPobZPXzc1fCFTt2KEUBbqPI342A==
dependencies:
"@glidejs/glide" "^3.3.0"
"@storefront-ui/shared" "0.9.2"
body-scroll-lock "^3.0.1"
core-js "^3.6.5"
hammerjs "^2.0.8"
leaflet "^1.5.1"
lozad "^1.14.0"
node-sass "^4.13.1"
sass-loader "^8.0.2"
simplebar-vue "^1.4.0"
vue-drag-drop "^1.1.4"
vue-fragment "^1.5.1"
vue2-leaflet "^2.5.2"

"@storefront-ui/vue@^0.10.2":
version "0.10.2"
resolved "https://registry.yarnpkg.com/@storefront-ui/vue/-/vue-0.10.2.tgz#b592eb5bc0376d492665b4787dc8fe8eb2f5b9a1"
integrity sha512-ibI41X0v8EicgJaYjUlSYb2UZzHopS+ZrH4vzrSRdcUkrzsOR68kYMAvsXxjoFj5WE+/JQZcZZeqMKHvjGWzJQ==
Expand Down

0 comments on commit 47db7c7

Please sign in to comment.