Skip to content

Commit

Permalink
chore: release v1.0.0 rc.5.1 (#319)
Browse files Browse the repository at this point in the history
* feat: added support for Virtual and Downloadable products (#199)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* chore: updated README with new VSF brand

* refactor(documentation): refine project setup description (#201)

* fix(composables): remove redundant debugger statement (#202)

* docs: add @bartoszherba as a contributor

* chore: release 1.0.0-rc.4.1

* feat(theme): #158 add cart coupon code input (#207)

* fix(composables): solved duplicate addresses when creating an order (#208)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(composable): solved cart data update on login/logout action (#209)

* refactor(theme): fixed core web vitalls results

* feat: add auto deploy for demo on VSF cloud (#212)

* init: cicd

* Update .vuestorefrontcloud/docker/Dockerfile

* Update .github/workflows/deploy-vue-storefront-cloud.yml

Co-authored-by: Heitor Ramon Ribeiro <[email protected]>

* refactor(api-client): fixed categoryList.ts query

* refactor(api-client): fixed categorySearch.ts query

* fix(composables): fixed adding to wishlist (#213)

* fix(theme): region was losing the state in shipping / billing step (#214)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* refactor: improvements in GraphQL client & package updates (#210)

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-config-airbnb-typescript** to **14.0.1**
- eslint-plugin-unicorn** to **37.0.1**

* refactor(eslint-import): updated dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.2**

* refactor(eslint-jest): updated dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.2**

* refactor(eslint-typescript): updated dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.1.0**
- updated **@typescript-eslint/parser** to **5.1.0**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.19.1**

* refactor(api-client): updated dependencies and devDependencies

- updated **@apollo/client** to **3.4.16**
- updated **@vue-storefront/core** to **2.4.3**
- updated **graphql** to **15.6.1**
- updated **@rollup/plugin-commonjs** to **21.0.0**
- updated **typescript** to **4.4.4**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.3**
- updated **@types/js-cookie** to **3.0.0**
- updated **jsdom** to **18.0.0**

* refactor(theme): updated dependencies and devDependencies

- updated **@storefront-ui/vue** to **0.11.0**
- updated **@vue-storefront/core** to **2.4.3**
- updated **@vue-storefront/middleware** to **2.4.3**
- updated **@vue-storefront/nuxt** to **2.4.3**
- updated **@vue-storefront/nuxt-theme** to **2.4.3**
- updated **babel-jest** to **27.3.0**
- updated **cypress** to **8.6.0**
- updated **cypress-tags** to **0.3.0**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to ****
- updated **** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **mochawesome** to **6.3.1**
- updated **ts-jest** to **27.0.7**
- updated **typescript** to **4.4.4**

* refactor(theme): updated dependencies and devDependencies

- updated **@babel/core** to **7.15.8**
- updated **@commitlint/cli** to **13.2.1**
- updated **@commitlint/config-conventional** to **13.2.0**
- updated **@commitlint/config-lerna-scopes** to **13.2.0**
- updated **@graphql-codegen/cli** to **2.2.1**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-codegen/typescript-operations** to **2.1.8**
- updated **@types/node** to **16.11.1**
- updated **@typescript-eslint/parser** to **5.1.0**
- updated **@vue/eslint-config-typescript** to ****
- updated **** to **8.0.0**
- updated **eslint** to **8.0.1**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **ts-jest** to **27.0.7**
- updated **ts-node** to **10.3.0**
- updated **vue-eslint-parser** to **8.0.0**

* refactor(api-client): removed image from category query

* refactor(api-client): added new Apollo caching options

* refactor(theme): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@vue-storefront/middleware** to **2.4.5**
- updated **@vue-storefront/nuxt** to **2.4.5**
- updated **@vue-storefront/nuxt-theme** to **2.4.5**
- updated **convict** to **6.2.1**
- updated **babel-jest** to **27.3.1**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-plugin-promise** to **5.1.1**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.20.0**

* refactor(api-client): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@rollup/plugin-commonjs** to **21.0.1**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**

* refactor: updated dependencies and devDependencies

- updated **@graphql-codegen/cli** to **2.4.5**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-tools/utils** to **8.5.0**
- updated **@types/node** to **16.11.4**
- updated **eslint** to **8.1.0**
- updated **husky** to **7.0.4**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**
- updated **rollup** to **2.58.1**
- updated **ts-node** to **10.4.0**

* chore: updated codegen.yml

* refactor(composables): removed CheckoutGetters typings

* chore(api-client): updated GraphQL schema

* feat(api-client): added currency and store header

* feat(composables): added currency and store header

* fix(composables): fixed cookie values (#216)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* bug(composables): fixed cookie values

* chore: fixed vue-demi version on 0.11.4

* fix(theme): remove duplicated api call (#225)

* refactor: add pagination in user order and wishlist and enhance API speed (#224)

* refactor(api-client): removed fetchPolicy to prepare for future :)

* refactor(api-client): changed base pageSize to 10

* refactor(api-client): added parameters for userOrder pagination

* refactor(api-client): added parameters for user wishlist pagination

* refactor(theme): changed default pageSize to 10

* refactor(api-client): changed base pageSize to 10

* refactor(theme): reduce category pagesize

* refactor(api-client): enable default useGETForQueries to true for apollo-http-link (#227)

* refactor(api-client): fixed missing type

* refactor(theme): fixed sidebar loading

* refactor(theme): removed minimal char amount in street fixes #232 (#233)

* refactor: updated dependencies & fixed miss configuration on `api-client` (#234)

* chore(eslint): update dependencies and devDependencies

- updated **eslint-config-airbnb-base** to **15.0.0**
- updated **eslint-config-airbnb-typescript** to **15.0.0**
- updated **eslint-plugin-unicorn** to **38.0.1**

* chore(eslint-import): update dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.3**

* chore(eslint-jest): update dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.4**

* chore(eslint-typescript): update dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.3.1**
- updated **@typescript-eslint/parser** to **5.3.1**

* chore(eslint-vue): update dependencies and devDependencies

- updated **eslint-plugin-vue** to **8.0.3**

* chore(api-client): update dependencies and devDependencies

- updated **@apollo/client** to **3.4.17**
- updated **@vue-storefront/core** to **2.5.0**
- updated **graphql** to **16.0.1**
- updated **graphql-tag** to **2.12.6**

* chore(composables): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **jsdom** to **18.0.1**
- updated **@nuxtjs/composition-api** to **0.29.3**

* chore(theme): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **@vue-storefront/middleware** to **2.5.0**
- updated **@vue-storefront/nuxt** to **2.5.0**
- updated **@vue-storefront/nuxt-theme** to **2.5.0**
- updated **@storefront-ui/vue** to **0.11.2**
- updated **vee-validate** to **3.4.14**
- updated **cypress** to **9.0.0**
- updated **lint-staged** to **11.2.6**
- updated **mochawesome** to **7.0.1**
- updated **mochawesome-report-generator** to **6.0.1**
- updated **npm-check-updates** to **12.0.2**

* chore: update dependencies and devDependencies

- updated **@babel/core** to **7.16.0**
- updated **@babel/plugin-proposal-private-methods** to **7.16.0**
- updated **@commitlint/cli** to **14.1.0**
- updated **@commitlint/config-conventional** to **14.1.0**
- updated **@commitlint/config-lerna-scopes** to **14.1.0**
- updated **@graphql-codegen/cli** to **14.1.0**
- updated **@graphql-codegen/typescript** to **2.3.1**
- updated **@graphql-codegen/typescript-operations** to **2.2.0**
- updated **@graphql-tools/utils** to **8.5.3**
- updated **@manypkg/cli** to **0.19.1**
- updated **@types/node** to **16.11.7**
- updated **@typescript-eslint/parser** to **5.3.1**
- updated **@vue/eslint-config-typescript** to **9.0.1**
- updated **eslint** to **8.2.0**
- updated **lint-staged** to **11.2.6**
- updated **npm-check-updates** to **12.0.2**
- updated **rollup** to **2.59.0**
- updated **vue-eslint-parser** to **8.0.1**

* refactor(composables): removed vue-demi and added @nuxtjs/composition-api

* refactor(theme): removed composition-api and added @nuxtjs/composition-api

* refactor(theme): fixed composition-api applications

* refactor: fixed rollup building script

* refactor(api-client): removed the useGETForQueries as default

* refactor(theme): added the useGETForQueries as option for config

* chore: fixed webpack version

* refactor(composables): upadate the usage to @vue/composition-api

* docs: added information about caching GraphQL

* refactor(theme): fixed useUiHelper composable with new composition-api

* bugfix: closes #238 #236 #228 #231 #239 #230 #229 (#240)

* refactor(theme): fix password RegExp

- fixes #238

* refactor(theme): fix category not displaying products

- fixes #236

* refactor: fix customizable product not being able to add t o cart

- fixes #228

* refactor: fix notification on password change.

- fixes #231

* refactor(theme): added no-fetch param to CategorySidebarMenu.vue

* refactor: fix over pagination

- fixes #239

* refactor(theme): fix filter product not showing result

- fixes #230

* refactor: fix wishlist icon not showing for product card

- fixes #229

* chore: release version 1.0.0 rc.4.5 (#242)

* chore: release version 1.0.0 rc.4.4 (#241)

* feat: added support for Virtual and Downloadable products (#199)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* chore: updated README with new VSF brand

* refactor(documentation): refine project setup description (#201)

* fix(composables): remove redundant debugger statement (#202)

* docs: add @bartoszherba as a contributor

* chore: release 1.0.0-rc.4.1

* feat(theme): #158 add cart coupon code input (#207)

* fix(composables): solved duplicate addresses when creating an order (#208)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(composable): solved cart data update on login/logout action (#209)

* refactor(theme): fixed core web vitalls results

* feat: add auto deploy for demo on VSF cloud (#212)

* init: cicd

* Update .vuestorefrontcloud/docker/Dockerfile

* Update .github/workflows/deploy-vue-storefront-cloud.yml

Co-authored-by: Heitor Ramon Ribeiro <[email protected]>

* refactor(api-client): fixed categoryList.ts query

* refactor(api-client): fixed categorySearch.ts query

* fix(composables): fixed adding to wishlist (#213)

* fix(theme): region was losing the state in shipping / billing step (#214)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* refactor: improvements in GraphQL client & package updates (#210)

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-config-airbnb-typescript** to **14.0.1**
- eslint-plugin-unicorn** to **37.0.1**

* refactor(eslint-import): updated dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.2**

* refactor(eslint-jest): updated dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.2**

* refactor(eslint-typescript): updated dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.1.0**
- updated **@typescript-eslint/parser** to **5.1.0**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.19.1**

* refactor(api-client): updated dependencies and devDependencies

- updated **@apollo/client** to **3.4.16**
- updated **@vue-storefront/core** to **2.4.3**
- updated **graphql** to **15.6.1**
- updated **@rollup/plugin-commonjs** to **21.0.0**
- updated **typescript** to **4.4.4**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.3**
- updated **@types/js-cookie** to **3.0.0**
- updated **jsdom** to **18.0.0**

* refactor(theme): updated dependencies and devDependencies

- updated **@storefront-ui/vue** to **0.11.0**
- updated **@vue-storefront/core** to **2.4.3**
- updated **@vue-storefront/middleware** to **2.4.3**
- updated **@vue-storefront/nuxt** to **2.4.3**
- updated **@vue-storefront/nuxt-theme** to **2.4.3**
- updated **babel-jest** to **27.3.0**
- updated **cypress** to **8.6.0**
- updated **cypress-tags** to **0.3.0**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to ****
- updated **** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **mochawesome** to **6.3.1**
- updated **ts-jest** to **27.0.7**
- updated **typescript** to **4.4.4**

* refactor(theme): updated dependencies and devDependencies

- updated **@babel/core** to **7.15.8**
- updated **@commitlint/cli** to **13.2.1**
- updated **@commitlint/config-conventional** to **13.2.0**
- updated **@commitlint/config-lerna-scopes** to **13.2.0**
- updated **@graphql-codegen/cli** to **2.2.1**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-codegen/typescript-operations** to **2.1.8**
- updated **@types/node** to **16.11.1**
- updated **@typescript-eslint/parser** to **5.1.0**
- updated **@vue/eslint-config-typescript** to ****
- updated **** to **8.0.0**
- updated **eslint** to **8.0.1**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **ts-jest** to **27.0.7**
- updated **ts-node** to **10.3.0**
- updated **vue-eslint-parser** to **8.0.0**

* refactor(api-client): removed image from category query

* refactor(api-client): added new Apollo caching options

* refactor(theme): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@vue-storefront/middleware** to **2.4.5**
- updated **@vue-storefront/nuxt** to **2.4.5**
- updated **@vue-storefront/nuxt-theme** to **2.4.5**
- updated **convict** to **6.2.1**
- updated **babel-jest** to **27.3.1**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-plugin-promise** to **5.1.1**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.20.0**

* refactor(api-client): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@rollup/plugin-commonjs** to **21.0.1**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**

* refactor: updated dependencies and devDependencies

- updated **@graphql-codegen/cli** to **2.4.5**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-tools/utils** to **8.5.0**
- updated **@types/node** to **16.11.4**
- updated **eslint** to **8.1.0**
- updated **husky** to **7.0.4**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**
- updated **rollup** to **2.58.1**
- updated **ts-node** to **10.4.0**

* chore: updated codegen.yml

* refactor(composables): removed CheckoutGetters typings

* chore(api-client): updated GraphQL schema

* feat(api-client): added currency and store header

* feat(composables): added currency and store header

* fix(composables): fixed cookie values (#216)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* bug(composables): fixed cookie values

* chore: fixed vue-demi version on 0.11.4

* fix(theme): remove duplicated api call (#225)

* refactor: add pagination in user order and wishlist and enhance API speed (#224)

* refactor(api-client): removed fetchPolicy to prepare for future :)

* refactor(api-client): changed base pageSize to 10

* refactor(api-client): added parameters for userOrder pagination

* refactor(api-client): added parameters for user wishlist pagination

* refactor(theme): changed default pageSize to 10

* refactor(api-client): changed base pageSize to 10

* refactor(theme): reduce category pagesize

* refactor(api-client): enable default useGETForQueries to true for apollo-http-link (#227)

* refactor(api-client): fixed missing type

* refactor(theme): fixed sidebar loading

* refactor(theme): removed minimal char amount in street fixes #232 (#233)

* refactor: updated dependencies & fixed miss configuration on `api-client` (#234)

* chore(eslint): update dependencies and devDependencies

- updated **eslint-config-airbnb-base** to **15.0.0**
- updated **eslint-config-airbnb-typescript** to **15.0.0**
- updated **eslint-plugin-unicorn** to **38.0.1**

* chore(eslint-import): update dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.3**

* chore(eslint-jest): update dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.4**

* chore(eslint-typescript): update dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.3.1**
- updated **@typescript-eslint/parser** to **5.3.1**

* chore(eslint-vue): update dependencies and devDependencies

- updated **eslint-plugin-vue** to **8.0.3**

* chore(api-client): update dependencies and devDependencies

- updated **@apollo/client** to **3.4.17**
- updated **@vue-storefront/core** to **2.5.0**
- updated **graphql** to **16.0.1**
- updated **graphql-tag** to **2.12.6**

* chore(composables): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **jsdom** to **18.0.1**
- updated **@nuxtjs/composition-api** to **0.29.3**

* chore(theme): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **@vue-storefront/middleware** to **2.5.0**
- updated **@vue-storefront/nuxt** to **2.5.0**
- updated **@vue-storefront/nuxt-theme** to **2.5.0**
- updated **@storefront-ui/vue** to **0.11.2**
- updated **vee-validate** to **3.4.14**
- updated **cypress** to **9.0.0**
- updated **lint-staged** to **11.2.6**
- updated **mochawesome** to **7.0.1**
- updated **mochawesome-report-generator** to **6.0.1**
- updated **npm-check-updates** to **12.0.2**

* chore: update dependencies and devDependencies

- updated **@babel/core** to **7.16.0**
- updated **@babel/plugin-proposal-private-methods** to **7.16.0**
- updated **@commitlint/cli** to **14.1.0**
- updated **@commitlint/config-conventional** to **14.1.0**
- updated **@commitlint/config-lerna-scopes** to **14.1.0**
- updated **@graphql-codegen/cli** to **14.1.0**
- updated **@graphql-codegen/typescript** to **2.3.1**
- updated **@graphql-codegen/typescript-operations** to **2.2.0**
- updated **@graphql-tools/utils** to **8.5.3**
- updated **@manypkg/cli** to **0.19.1**
- updated **@types/node** to **16.11.7**
- updated **@typescript-eslint/parser** to **5.3.1**
- updated **@vue/eslint-config-typescript** to **9.0.1**
- updated **eslint** to **8.2.0**
- updated **lint-staged** to **11.2.6**
- updated **npm-check-updates** to **12.0.2**
- updated **rollup** to **2.59.0**
- updated **vue-eslint-parser** to **8.0.1**

* refactor(composables): removed vue-demi and added @nuxtjs/composition-api

* refactor(theme): removed composition-api and added @nuxtjs/composition-api

* refactor(theme): fixed composition-api applications

* refactor: fixed rollup building script

* refactor(api-client): removed the useGETForQueries as default

* refactor(theme): added the useGETForQueries as option for config

* chore: fixed webpack version

* refactor(composables): upadate the usage to @vue/composition-api

* docs: added information about caching GraphQL

* refactor(theme): fixed useUiHelper composable with new composition-api

* bugfix: closes #238 #236 #228 #231 #239 #230 #229 (#240)

* refactor(theme): fix password RegExp

- fixes #238

* refactor(theme): fix category not displaying products

- fixes #236

* refactor: fix customizable product not being able to add t o cart

- fixes #228

* refactor: fix notification on password change.

- fixes #231

* refactor(theme): added no-fetch param to CategorySidebarMenu.vue

* refactor: fix over pagination

- fixes #239

* refactor(theme): fix filter product not showing result

- fixes #230

* refactor: fix wishlist icon not showing for product card

- fixes #229

* docs: fix wrong link

* docs: updated API documentation

* docs: added useStore doc

* chore: release 1.0.0-rc.4.4

Co-authored-by: Kevin Gorjan <[email protected]>
Co-authored-by: Bartosz Herba <[email protected]>
Co-authored-by: byakku <[email protected]>
Co-authored-by: Bogdan Podlesnii <[email protected]>
Co-authored-by: Jonas Agnezi <[email protected]>
Co-authored-by: Arnoult <[email protected]>

* chore: removed console.log

* chore: release version 1.0.0 rc.4.5

Co-authored-by: Kevin Gorjan <[email protected]>
Co-authored-by: Bartosz Herba <[email protected]>
Co-authored-by: byakku <[email protected]>
Co-authored-by: Bogdan Podlesnii <[email protected]>
Co-authored-by: Jonas Agnezi <[email protected]>
Co-authored-by: Arnoult <[email protected]>

* fix(theme): update customer password regex (#250)

Co-authored-by: bartosz.herba [email protected] <[email protected]>

* refactor: fix wishlist pagination and other minor bugs (#251)

* refactor(theme): fixed wishlist icons

* refactor(api-client): fixed wishlist and reset password api

* refactor(composables): improved cart error handling

* refactor(composables): improved facet prices filter

* refactor(composables): added wishlist pagination

closes #219

* refactor(theme): added wishlist pagination

closes #219

* refactor(composables): fixed useWishlistFactory load function

* refactor(theme): fixed MyAccount.vue page

* refactor(theme): improved wishlist theme

* refactor(theme): fixed related and upsell products

* refactor(api-client): removed allow_remote_shopping_assistance

* refactor(composables): removed allow_remote_shopping_assistance

* chore(eslint): updated dependencies

- updated `eslint-plugin-promise` to `5.2.0`
- updated `eslint-config-airbnb-typescript` to `16.1.0`
- updated `eslint-plugin-unicorn` to `39.0.0`

* chore(eslint-jest): updated dependencies

- updated `eslint-plugin-jest` to `25.3.0`

* chore(eslint-jest): updated dependencies

- updated `@typescript-eslint/eslint-plugin` to `5.5.0`
- updated `@typescript-eslint/parser` to `5.5.0`

* chore(eslint-vue): updated dependencies

- updated `eslint-plugin-vue` to `8.1.1`

* chore(api-client): updated dependencies

- updated `@apollo/client` to `3.5.5`
- updated `@vue-storefront/core` to `2.5.1`
- updated `@rollup/plugin-graphql` to `1.1.0`
- updated `typescript` to `4.5.2`

* chore(composables): updated dependencies

- updated `vue` to `2.6.14`
- updated `@vue-storefront/core` to `2.5.1`
- updated `@types/js-cookie` to `3.0.1`
- updated `@vue/test-utils` to `1.3.0`
- updated `jsdom` to `18.1.1`

* chore(theme): updated dependencies

- updated `@nuxtjs/composition-api` to `0.31.0`
- updated `@vue-storefront/core` to `2.5.1`
- updated `@vue-storefront/middleware` to `2.5.1`
- updated `@vue-storefront/nuxt` to `2.5.1`
- updated `@vue-storefront/nuxt-theme` to `2.5.1`
- updated `@storefront-ui/vue` to `0.11.3`
- updated `@vue/test-utils` to `1.3.0`
- updated `babel-jest` to `27.4.2`
- updated `cypress` to `9.1.0`
- updated `jest` to `27.4.3`
- updated `lint-staged` to `12.1.2`
- updated `typescript` to `4.5.2`

* chore: updated dependencies

- updated `@commitlint/cli` to `15.0.0`
- updated `@commitlint/config-conventional` to `15.0.0`
- updated `@commitlint/config-lerna-scopes` to `15.0.0`
- updated `@graphql-codegen/cli` to `2.3.0`
- updated `@graphql-codegen/typescript` to `2.4.1`
- updated `@graphql-codegen/typescript-operations` to `2.2.1`
- updated `@types/jest` to `27.0.3`
- updated `@types/node` to `16.11.11`
- updated `@typescript-eslint/parser` to `5.5.0`
- updated `@vue/eslint-config-typescript` to `9.1.0`
- updated `eslint` to `8.3.0`
- updated `jest` to `27.4.3`
- updated `lint-staged` to `12.1.2`
- updated `rollup` to `2.60.2`
- updated `rollup-plugin-typescript2` to `0.31.1`

* refactor(theme): applied lint rules

* feat: added magento configuration + multi store (#252)

* chore: release version 1.0.0 rc.4.4 (#241)

* feat: added support for Virtual and Downloadable products (#199)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* chore: updated README with new VSF brand

* refactor(documentation): refine project setup description (#201)

* fix(composables): remove redundant debugger statement (#202)

* docs: add @bartoszherba as a contributor

* chore: release 1.0.0-rc.4.1

* feat(theme): #158 add cart coupon code input (#207)

* fix(composables): solved duplicate addresses when creating an order (#208)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(composable): solved cart data update on login/logout action (#209)

* refactor(theme): fixed core web vitalls results

* feat: add auto deploy for demo on VSF cloud (#212)

* init: cicd

* Update .vuestorefrontcloud/docker/Dockerfile

* Update .github/workflows/deploy-vue-storefront-cloud.yml

Co-authored-by: Heitor Ramon Ribeiro <[email protected]>

* refactor(api-client): fixed categoryList.ts query

* refactor(api-client): fixed categorySearch.ts query

* fix(composables): fixed adding to wishlist (#213)

* fix(theme): region was losing the state in shipping / billing step (#214)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* refactor: improvements in GraphQL client & package updates (#210)

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-config-airbnb-typescript** to **14.0.1**
- eslint-plugin-unicorn** to **37.0.1**

* refactor(eslint-import): updated dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.2**

* refactor(eslint-jest): updated dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.2**

* refactor(eslint-typescript): updated dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.1.0**
- updated **@typescript-eslint/parser** to **5.1.0**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.19.1**

* refactor(api-client): updated dependencies and devDependencies

- updated **@apollo/client** to **3.4.16**
- updated **@vue-storefront/core** to **2.4.3**
- updated **graphql** to **15.6.1**
- updated **@rollup/plugin-commonjs** to **21.0.0**
- updated **typescript** to **4.4.4**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.3**
- updated **@types/js-cookie** to **3.0.0**
- updated **jsdom** to **18.0.0**

* refactor(theme): updated dependencies and devDependencies

- updated **@storefront-ui/vue** to **0.11.0**
- updated **@vue-storefront/core** to **2.4.3**
- updated **@vue-storefront/middleware** to **2.4.3**
- updated **@vue-storefront/nuxt** to **2.4.3**
- updated **@vue-storefront/nuxt-theme** to **2.4.3**
- updated **babel-jest** to **27.3.0**
- updated **cypress** to **8.6.0**
- updated **cypress-tags** to **0.3.0**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to ****
- updated **** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **mochawesome** to **6.3.1**
- updated **ts-jest** to **27.0.7**
- updated **typescript** to **4.4.4**

* refactor(theme): updated dependencies and devDependencies

- updated **@babel/core** to **7.15.8**
- updated **@commitlint/cli** to **13.2.1**
- updated **@commitlint/config-conventional** to **13.2.0**
- updated **@commitlint/config-lerna-scopes** to **13.2.0**
- updated **@graphql-codegen/cli** to **2.2.1**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-codegen/typescript-operations** to **2.1.8**
- updated **@types/node** to **16.11.1**
- updated **@typescript-eslint/parser** to **5.1.0**
- updated **@vue/eslint-config-typescript** to ****
- updated **** to **8.0.0**
- updated **eslint** to **8.0.1**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **ts-jest** to **27.0.7**
- updated **ts-node** to **10.3.0**
- updated **vue-eslint-parser** to **8.0.0**

* refactor(api-client): removed image from category query

* refactor(api-client): added new Apollo caching options

* refactor(theme): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@vue-storefront/middleware** to **2.4.5**
- updated **@vue-storefront/nuxt** to **2.4.5**
- updated **@vue-storefront/nuxt-theme** to **2.4.5**
- updated **convict** to **6.2.1**
- updated **babel-jest** to **27.3.1**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-plugin-promise** to **5.1.1**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.20.0**

* refactor(api-client): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@rollup/plugin-commonjs** to **21.0.1**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**

* refactor: updated dependencies and devDependencies

- updated **@graphql-codegen/cli** to **2.4.5**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-tools/utils** to **8.5.0**
- updated **@types/node** to **16.11.4**
- updated **eslint** to **8.1.0**
- updated **husky** to **7.0.4**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**
- updated **rollup** to **2.58.1**
- updated **ts-node** to **10.4.0**

* chore: updated codegen.yml

* refactor(composables): removed CheckoutGetters typings

* chore(api-client): updated GraphQL schema

* feat(api-client): added currency and store header

* feat(composables): added currency and store header

* fix(composables): fixed cookie values (#216)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* bug(composables): fixed cookie values

* chore: fixed vue-demi version on 0.11.4

* fix(theme): remove duplicated api call (#225)

* refactor: add pagination in user order and wishlist and enhance API speed (#224)

* refactor(api-client): removed fetchPolicy to prepare for future :)

* refactor(api-client): changed base pageSize to 10

* refactor(api-client): added parameters for userOrder pagination

* refactor(api-client): added parameters for user wishlist pagination

* refactor(theme): changed default pageSize to 10

* refactor(api-client): changed base pageSize to 10

* refactor(theme): reduce category pagesize

* refactor(api-client): enable default useGETForQueries to true for apollo-http-link (#227)

* refactor(api-client): fixed missing type

* refactor(theme): fixed sidebar loading

* refactor(theme): removed minimal char amount in street fixes #232 (#233)

* refactor: updated dependencies & fixed miss configuration on `api-client` (#234)

* chore(eslint): update dependencies and devDependencies

- updated **eslint-config-airbnb-base** to **15.0.0**
- updated **eslint-config-airbnb-typescript** to **15.0.0**
- updated **eslint-plugin-unicorn** to **38.0.1**

* chore(eslint-import): update dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.3**

* chore(eslint-jest): update dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.4**

* chore(eslint-typescript): update dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.3.1**
- updated **@typescript-eslint/parser** to **5.3.1**

* chore(eslint-vue): update dependencies and devDependencies

- updated **eslint-plugin-vue** to **8.0.3**

* chore(api-client): update dependencies and devDependencies

- updated **@apollo/client** to **3.4.17**
- updated **@vue-storefront/core** to **2.5.0**
- updated **graphql** to **16.0.1**
- updated **graphql-tag** to **2.12.6**

* chore(composables): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **jsdom** to **18.0.1**
- updated **@nuxtjs/composition-api** to **0.29.3**

* chore(theme): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **@vue-storefront/middleware** to **2.5.0**
- updated **@vue-storefront/nuxt** to **2.5.0**
- updated **@vue-storefront/nuxt-theme** to **2.5.0**
- updated **@storefront-ui/vue** to **0.11.2**
- updated **vee-validate** to **3.4.14**
- updated **cypress** to **9.0.0**
- updated **lint-staged** to **11.2.6**
- updated **mochawesome** to **7.0.1**
- updated **mochawesome-report-generator** to **6.0.1**
- updated **npm-check-updates** to **12.0.2**

* chore: update dependencies and devDependencies

- updated **@babel/core** to **7.16.0**
- updated **@babel/plugin-proposal-private-methods** to **7.16.0**
- updated **@commitlint/cli** to **14.1.0**
- updated **@commitlint/config-conventional** to **14.1.0**
- updated **@commitlint/config-lerna-scopes** to **14.1.0**
- updated **@graphql-codegen/cli** to **14.1.0**
- updated **@graphql-codegen/typescript** to **2.3.1**
- updated **@graphql-codegen/typescript-operations** to **2.2.0**
- updated **@graphql-tools/utils** to **8.5.3**
- updated **@manypkg/cli** to **0.19.1**
- updated **@types/node** to **16.11.7**
- updated **@typescript-eslint/parser** to **5.3.1**
- updated **@vue/eslint-config-typescript** to **9.0.1**
- updated **eslint** to **8.2.0**
- updated **lint-staged** to **11.2.6**
- updated **npm-check-updates** to **12.0.2**
- updated **rollup** to **2.59.0**
- updated **vue-eslint-parser** to **8.0.1**

* refactor(composables): removed vue-demi and added @nuxtjs/composition-api

* refactor(theme): removed composition-api and added @nuxtjs/composition-api

* refactor(theme): fixed composition-api applications

* refactor: fixed rollup building script

* refactor(api-client): removed the useGETForQueries as default

* refactor(theme): added the useGETForQueries as option for config

* chore: fixed webpack version

* refactor(composables): upadate the usage to @vue/composition-api

* docs: added information about caching GraphQL

* refactor(theme): fixed useUiHelper composable with new composition-api

* bugfix: closes #238 #236 #228 #231 #239 #230 #229 (#240)

* refactor(theme): fix password RegExp

- fixes #238

* refactor(theme): fix category not displaying products

- fixes #236

* refactor: fix customizable product not being able to add t o cart

- fixes #228

* refactor: fix notification on password change.

- fixes #231

* refactor(theme): added no-fetch param to CategorySidebarMenu.vue

* refactor: fix over pagination

- fixes #239

* refactor(theme): fix filter product not showing result

- fixes #230

* refactor: fix wishlist icon not showing for product card

- fixes #229

* docs: fix wrong link

* docs: updated API documentation

* docs: added useStore doc

* chore: release 1.0.0-rc.4.4

Co-authored-by: Kevin Gorjan <[email protected]>
Co-authored-by: Bartosz Herba <[email protected]>
Co-authored-by: byakku <[email protected]>
Co-authored-by: Bogdan Podlesnii <[email protected]>
Co-authored-by: Jonas Agnezi <[email protected]>
Co-authored-by: Arnoult <[email protected]>

* chore: release 1.0.0 rc.4.5 (#244)

* feat: added support for Virtual and Downloadable products (#199)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* chore: updated README with new VSF brand

* refactor(documentation): refine project setup description (#201)

* fix(composables): remove redundant debugger statement (#202)

* docs: add @bartoszherba as a contributor

* chore: release 1.0.0-rc.4.1

* feat(theme): #158 add cart coupon code input (#207)

* fix(composables): solved duplicate addresses when creating an order (#208)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(composable): solved cart data update on login/logout action (#209)

* refactor(theme): fixed core web vitalls results

* feat: add auto deploy for demo on VSF cloud (#212)

* init: cicd

* Update .vuestorefrontcloud/docker/Dockerfile

* Update .github/workflows/deploy-vue-storefront-cloud.yml

Co-authored-by: Heitor Ramon Ribeiro <[email protected]>

* refactor(api-client): fixed categoryList.ts query

* refactor(api-client): fixed categorySearch.ts query

* fix(composables): fixed adding to wishlist (#213)

* fix(theme): region was losing the state in shipping / billing step (#214)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* refactor: improvements in GraphQL client & package updates (#210)

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-config-airbnb-typescript** to **14.0.1**
- eslint-plugin-unicorn** to **37.0.1**

* refactor(eslint-import): updated dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.2**

* refactor(eslint-jest): updated dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.2**

* refactor(eslint-typescript): updated dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.1.0**
- updated **@typescript-eslint/parser** to **5.1.0**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.19.1**

* refactor(api-client): updated dependencies and devDependencies

- updated **@apollo/client** to **3.4.16**
- updated **@vue-storefront/core** to **2.4.3**
- updated **graphql** to **15.6.1**
- updated **@rollup/plugin-commonjs** to **21.0.0**
- updated **typescript** to **4.4.4**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.3**
- updated **@types/js-cookie** to **3.0.0**
- updated **jsdom** to **18.0.0**

* refactor(theme): updated dependencies and devDependencies

- updated **@storefront-ui/vue** to **0.11.0**
- updated **@vue-storefront/core** to **2.4.3**
- updated **@vue-storefront/middleware** to **2.4.3**
- updated **@vue-storefront/nuxt** to **2.4.3**
- updated **@vue-storefront/nuxt-theme** to **2.4.3**
- updated **babel-jest** to **27.3.0**
- updated **cypress** to **8.6.0**
- updated **cypress-tags** to **0.3.0**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to ****
- updated **** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **mochawesome** to **6.3.1**
- updated **ts-jest** to **27.0.7**
- updated **typescript** to **4.4.4**

* refactor(theme): updated dependencies and devDependencies

- updated **@babel/core** to **7.15.8**
- updated **@commitlint/cli** to **13.2.1**
- updated **@commitlint/config-conventional** to **13.2.0**
- updated **@commitlint/config-lerna-scopes** to **13.2.0**
- updated **@graphql-codegen/cli** to **2.2.1**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-codegen/typescript-operations** to **2.1.8**
- updated **@types/node** to **16.11.1**
- updated **@typescript-eslint/parser** to **5.1.0**
- updated **@vue/eslint-config-typescript** to ****
- updated **** to **8.0.0**
- updated **eslint** to **8.0.1**
- updated **jest** to **27.3.0**
- updated **jest-watch-typeahead** to **1.0.0**
- updated **lint-staged** to **11.2.3**
- updated **ts-jest** to **27.0.7**
- updated **ts-node** to **10.3.0**
- updated **vue-eslint-parser** to **8.0.0**

* refactor(api-client): removed image from category query

* refactor(api-client): added new Apollo caching options

* refactor(theme): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@vue-storefront/middleware** to **2.4.5**
- updated **@vue-storefront/nuxt** to **2.4.5**
- updated **@vue-storefront/nuxt-theme** to **2.4.5**
- updated **convict** to **6.2.1**
- updated **babel-jest** to **27.3.1**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-plugin-promise** to **5.1.1**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.20.0**

* refactor(api-client): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**
- updated **@rollup/plugin-commonjs** to **21.0.1**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.5**

* refactor: updated dependencies and devDependencies

- updated **@graphql-codegen/cli** to **2.4.5**
- updated **@graphql-codegen/typescript** to **2.2.4**
- updated **@graphql-tools/utils** to **8.5.0**
- updated **@types/node** to **16.11.4**
- updated **eslint** to **8.1.0**
- updated **husky** to **7.0.4**
- updated **jest** to **27.3.1**
- updated **lint-staged** to **11.2.4**
- updated **rollup** to **2.58.1**
- updated **ts-node** to **10.4.0**

* chore: updated codegen.yml

* refactor(composables): removed CheckoutGetters typings

* chore(api-client): updated GraphQL schema

* feat(api-client): added currency and store header

* feat(composables): added currency and store header

* fix(composables): fixed cookie values (#216)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* bug(composables): fixed cookie values

* chore: fixed vue-demi version on 0.11.4

* fix(theme): remove duplicated api call (#225)

* refactor: add pagination in user order and wishlist and enhance API speed (#224)

* refactor(api-client): removed fetchPolicy to prepare for future :)

* refactor(api-client): changed base pageSize to 10

* refactor(api-client): added parameters for userOrder pagination

* refactor(api-client): added parameters for user wishlist pagination

* refactor(theme): changed default pageSize to 10

* refactor(api-client): changed base pageSize to 10

* refactor(theme): reduce category pagesize

* refactor(api-client): enable default useGETForQueries to true for apollo-http-link (#227)

* refactor(api-client): fixed missing type

* refactor(theme): fixed sidebar loading

* refactor(theme): removed minimal char amount in street fixes #232 (#233)

* refactor: updated dependencies & fixed miss configuration on `api-client` (#234)

* chore(eslint): update dependencies and devDependencies

- updated **eslint-config-airbnb-base** to **15.0.0**
- updated **eslint-config-airbnb-typescript** to **15.0.0**
- updated **eslint-plugin-unicorn** to **38.0.1**

* chore(eslint-import): update dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.3**

* chore(eslint-jest): update dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.4**

* chore(eslint-typescript): update dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.3.1**
- updated **@typescript-eslint/parser** to **5.3.1**

* chore(eslint-vue): update dependencies and devDependencies

- updated **eslint-plugin-vue** to **8.0.3**

* chore(api-client): update dependencies and devDependencies

- updated **@apollo/client** to **3.4.17**
- updated **@vue-storefront/core** to **2.5.0**
- updated **graphql** to **16.0.1**
- updated **graphql-tag** to **2.12.6**

* chore(composables): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **jsdom** to **18.0.1**
- updated **@nuxtjs/composition-api** to **0.29.3**

* chore(theme): update dependencies and devDependencies

- updated **@vue-storefront/core** to **2.5.0**
- updated **@vue-storefront/middleware** to **2.5.0**
- updated **@vue-storefront/nuxt** to **2.5.0**
- updated **@vue-storefront/nuxt-theme** to **2.5.0**
- updated **@storefront-ui/vue** to **0.11.2**
- updated **vee-validate** to **3.4.14**
- updated **cypress** to **9.0.0**
- updated **lint-staged** to **11.2.6**
- updated **mochawesome** to **7.0.1**
- updated **mochawesome-report-generator** to **6.0.1**
- updated **npm-check-updates** to **12.0.2**

* chore: update dependencies and devDependencies

- updated **@babel/core** to **7.16.0**
- updated **@babel/plugin-proposal-private-methods** to **7.16.0**
- updated **@commitlint/cli** to **14.1.0**
- updated **@commitlint/config-conventional** to **14.1.0**
- updated **@commitlint/config-lerna-scopes** to **14.1.0**
- updated **@graphql-codegen/cli** to **14.1.0**
- updated **@graphql-codegen/typescript** to **2.3.1**
- updated **@graphql-codegen/typescript-operations** to **2.2.0**
- updated **@graphql-tools/utils** to **8.5.3**
- updated **@manypkg/cli** to **0.19.1**
- updated **@types/node** to **16.11.7**
- updated **@typescript-eslint/parser** to **5.3.1**
- updated **@vue/eslint-config-typescript** to **9.0.1**
- updated **eslint** to **8.2.0**
- updated **lint-staged** to **11.2.6**
- updated **npm-check-updates** to **12.0.2**
- updated **rollup** to **2.59.0**
- updated **vue-eslint-parser** to **8.0.1**

* refactor(composables): removed vue-demi and added @nuxtjs/composition-api

* refactor(theme): removed composition-api and added @nuxtjs/composition-api

* refactor(theme): fixed composition-api applications

* refactor: fixed rollup building script

* refactor(api-client): removed the useGETForQueries as default

* refactor(theme): added the useGETForQueries as option for config

* chore: fixed webpack version

* refactor(composables): upadate the usage to @vue/composition-api

* docs: added information about caching GraphQL

* refactor(theme): fixed useUiHelper composable with new composition-api

* bugfix: closes #238 #236 #228 #231 #239 #230 #229 (#240)

* refactor(theme): fix password RegExp

- fixes #238

* refactor(theme): fix category not displaying products

- fixes #236

* refactor: fix customizable product not being able to add t o cart

- fixes #228

* refactor: fix notification on password change.

- fixes #231

* refactor(theme): added no-fetch param to CategorySidebarMenu.vue

* refactor: fix over pagination

- fixes #239

* refactor(theme): fix filter product not showing result

- fixes #230

* refactor: fix wishlist icon not showing for product card

- fixes #229

* chore: release version 1.0.0 rc.4.5 (#242)

* chore: release version 1.0.0 rc.4.4 (#241)

* feat: added support for Virtual and Downloadable products (#199)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* chore: updated README with new VSF brand

* refactor(documentation): refine project setup description (#201)

* fix(composables): remove redundant debugger statement (#202)

* docs: add @bartoszherba as a contributor

* chore: release 1.0.0-rc.4.1

* feat(theme): #158 add cart coupon code input (#207)

* fix(composables): solved duplicate addresses when creating an order (#208)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(composable): solved cart data update on login/logout action (#209)

* refactor(theme): fixed core web vitalls results

* feat: add auto deploy for demo on VSF cloud (#212)

* init: cicd

* Update .vuestorefrontcloud/docker/Dockerfile

* Update .github/workflows/deploy-vue-storefront-cloud.yml

Co-authored-by: Heitor Ramon Ribeiro <[email protected]>

* refactor(api-client): fixed categoryList.ts query

* refactor(api-client): fixed categorySearch.ts query

* fix(composables): fixed adding to wishlist (#213)

* fix(theme): region was losing the state in shipping / billing step (#214)

* feat(downloadable products): created add query + async call

* feat(downloadable products): updated schema.graphql

* feat(downloadable products): added method and modified productDetail query

* feat(downloadable products): added missing exports, methods and GraphQL types

* feat(downloadable products): updated useCart so downloadable products can be added to the cart

* feat(virtual product): updated graphql

* feat(virtual products): created api method

* feat(virtal product): updated useCart

* feat(virtual products): added missing imports + TS interfaces

* fix: removed debugger

* fix(file): removed __typename in $input params

* fix(composable): added customer_address_id

Added customer_address_id in billing and shipping step during the checkout

* docs: added @kevingorjan as contributor

* fix(theme): fixed losing region value

* refactor: improvements in GraphQL client & package updates (#210)

* refactor(eslint): updated dependencies and devDependencies

- updated **eslint-config-airbnb-typescript** to **14.0.1**
- eslint-plugin-unicorn** to **37.0.1**

* refactor(eslint-import): updated dependencies and devDependencies

- updated **eslint-plugin-import** to **2.25.2**

* refactor(eslint-jest): updated dependencies and devDependencies

- updated **eslint-plugin-jest** to **25.2.2**

* refactor(eslint-typescript): updated dependencies and devDependencies

- updated **@typescript-eslint/eslint-plugin** to **5.1.0**
- updated **@typescript-eslint/parser** to **5.1.0**

* refactor(eslint-vue): updated dependencies and devDependencies

- updated **eslint-plugin-vue** to **7.19.1**

* refactor(api-client): updated dependencies and devDependencies

- updated **@apollo/client** to **3.4.16**
- updated **@vue-storefront/core** to **2.4.3**
- updated **graphql** to **15.6.1**
- updated **@rollup/plugin-commonjs** to **21.0.0**
- updated **typescript** to **4.4.4**

* refactor(composables): updated dependencies and devDependencies

- updated **@vue-storefront/core** to **2.4.3**
- updated **@types/js-cookie** to **3.0.0**…
  • Loading branch information
12 people authored Dec 16, 2021
1 parent 75696d4 commit ccb8ab1
Show file tree
Hide file tree
Showing 120 changed files with 21,060 additions and 26,464 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module.exports = {
children: [
['/guide/creating-a-store', 'Creating a Store'],
['/guide/configuration', 'Configuration'],
['/guide/override-queries', 'Override queries']
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.addbundleproductstocart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: AddBundleProductsToCartInput) => Promise<FetchResult<AddBundleProductsToCartMutation>>
_default: (context: Context, input: AddBundleProductsToCartInput, customQuery?: CustomQuery) => Promise<FetchResult<AddBundleProductsToCartMutation>>
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: AddConfigurableProductsToCartInput) => Promise<FetchResult<AddConfigurableProductsToCartMutation>>
_default: (context: Context, input: AddConfigurableProductsToCartInput, customQuery?: CustomQuery) => Promise<FetchResult<AddConfigurableProductsToCartMutation>>
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: AddDownloadableProductsToCartInput) => Promise<FetchResult<AddDownloadableProductsToCartMutation>>
_default: (context: Context, input: AddDownloadableProductsToCartInput, customQuery?: CustomQuery) => Promise<FetchResult<AddDownloadableProductsToCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.addproductstocart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: AddProductsToCartInput) => Promise<FetchResult<AddProductsToCartMutation>>
_default: (context: Context, input: AddProductsToCartInput, customQuery?: CustomQuery) => Promise<FetchResult<AddProductsToCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.addproducttowishlist.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: AddProductsToWishlistMutationVariables) => Promise<FetchResult<AddProductsToWishlistMutation>>
_default: (context: Context, input: AddProductsToWishlistMutationVariables, customQuery?: CustomQuery) => Promise<FetchResult<AddProductsToWishlistMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.addsimpleproductstocart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: AddSimpleProductsToCartInput) => Promise<FetchResult<AddSimpleProductsToCartMutation>>
_default: (context: Context, input: AddSimpleProductsToCartInput, customQuery?: CustomQuery) => Promise<FetchResult<AddSimpleProductsToCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.addvirtualproductstocart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: AddVirtualProductsToCartInput) => Promise<FetchResult<AddVirtualProductsToCartMutation>>
_default: (context: Context, input: AddVirtualProductsToCartInput, customQuery?: CustomQuery) => Promise<FetchResult<AddVirtualProductsToCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.applycoupontocart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: ApplyCouponToCartInput) => Promise<FetchResult<ApplyCouponToCartMutation>>
_default: (context: Context, input: ApplyCouponToCartInput, customQuery?: CustomQuery) => Promise<FetchResult<ApplyCouponToCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.availablestores.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<ApolloQueryResult<AvailableStoresQuery>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<ApolloQueryResult<AvailableStoresQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.cart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, cartId: string) => Promise<ApolloQueryResult<CartQuery>>
_default: (context: Context, cartId: string, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CartQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.categorylist.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, params: CategoryListQueryVariables) => Promise<ApolloQueryResult<CategoryListQuery>>
_default: (context: Context, params: CategoryListQueryVariables, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CategoryListQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.categorysearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, params: CategorySearchQueryVariables) => Promise<ApolloQueryResult<CategorySearchQuery>>
_default: (context: Context, params: CategorySearchQueryVariables, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CategorySearchQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.changecustomerpassword.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, currentPassword: string, newPassword: string) => Promise<FetchResult<ChangeCustomerPasswordMutation>>
_default: (context: Context, currentPassword: string, newPassword: string, customQuery?: CustomQuery) => Promise<FetchResult<ChangeCustomerPasswordMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.cmsblocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, identifiers: string) => Promise<ApolloQueryResult<CmsBlockQuery>>
_default: (context: Context, identifiers: string, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CmsBlockQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.cmspage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, identifier: string) => Promise<ApolloQueryResult<CmsPageQuery>>
_default: (context: Context, identifier: string, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CmsPageQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.countries.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<ApolloQueryResult<CountriesListQuery>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CountriesListQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.country.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, id: string) => Promise<ApolloQueryResult<CountryInformationQuery>>
_default: (context: Context, id: string, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CountryInformationQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.createcustomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: (context: Context, input: CustomerCreateInput) => Promise<FetchResult<CreateCustomerMutation>>
_default: (context: Context, input: CustomerCreateInput, customQuery?: CustomQuery) => Promise<FetchResult<CreateCustomerMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.createcustomeraddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: CustomerAddressInput) => Promise<FetchResult<CreateCustomerAddressMutation>>
_default: (context: Context, input: CustomerAddressInput, customQuery?: CustomQuery) => Promise<FetchResult<CreateCustomerAddressMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.createemptycart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<FetchResult<CreateEmptyCartMutation>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<FetchResult<CreateEmptyCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.createproductreview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: CreateProductReviewMutationVariables) => Promise<FetchResult<CreateProductReviewMutation>>
_default: (context: Context, input: CreateProductReviewMutationVariables, customQuery?: CustomQuery) => Promise<FetchResult<CreateProductReviewMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.currency.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<ApolloQueryResult<CurrencyQuery>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CurrencyQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.customer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<ApolloQueryResult<CustomerQuery>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CustomerQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.customercart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<ApolloQueryResult<CustomerCartQuery>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<ApolloQueryResult<CustomerCartQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.deletecustomeraddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, addressId: number) => Promise<ExecutionResult<DeleteCustomerAddressMutation>>
_default: (context: Context, addressId: number, customQuery?: CustomQuery) => Promise<ExecutionResult<DeleteCustomerAddressMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.generatecustomertoken.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, email: string, password: string) => Promise<FetchResult<GenerateCustomerTokenMutation>>
_default: (context: Context, email: string, password: string, customQuery?: CustomQuery) => Promise<FetchResult<GenerateCustomerTokenMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.mergecarts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, sourceCartId: string, destinationCartId: string) => Promise<FetchResult<MergeCartsMutation>>
_default: (context: Context, sourceCartId: string, destinationCartId: string, customQuery?: CustomQuery) => Promise<FetchResult<MergeCartsMutation>>
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<ApolloQueryResult<ProductReviewRatingsMetadataQuery>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<ApolloQueryResult<ProductReviewRatingsMetadataQuery>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.removecouponfromcart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: RemoveCouponFromCartInput) => Promise<FetchResult<RemoveCouponFromCartMutation>>
_default: (context: Context, input: RemoveCouponFromCartInput, customQuery?: CustomQuery) => Promise<FetchResult<RemoveCouponFromCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.removeitemfromcart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: RemoveItemFromCartInput) => Promise<FetchResult<RemoveItemFromCartMutation>>
_default: (context: Context, input: RemoveItemFromCartInput, customQuery?: CustomQuery) => Promise<FetchResult<RemoveItemFromCartMutation>>
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: RemoveProductsFromWishlistMutationVariables) => Promise<FetchResult<RemoveProductsFromWishlistMutation>>
_default: (context: Context, input: RemoveProductsFromWishlistMutationVariables, customQuery?: CustomQuery) => Promise<FetchResult<RemoveProductsFromWishlistMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.revokecustomertoken.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<FetchResult<RevokeCustomerTokenMutation>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<FetchResult<RevokeCustomerTokenMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.setbillingaddressoncart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: SetBillingAddressOnCartInput) => Promise<FetchResult<SetBillingAddressOnCartMutation>>
_default: (context: Context, input: SetBillingAddressOnCartInput, customQuery?: CustomQuery) => Promise<FetchResult<SetBillingAddressOnCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.setguestemailoncart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: SetGuestEmailOnCartInput) => Promise<FetchResult<SetGuestEmailOnCartMutation>>
_default: (context: Context, input: SetGuestEmailOnCartInput, customQuery?: CustomQuery) => Promise<FetchResult<SetGuestEmailOnCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.setpaymentmethodoncart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: SetPaymentMethodOnCartInputs) => Promise<FetchResult<SetPaymentMethodOnCartMutation>>
_default: (context: Context, input: SetPaymentMethodOnCartInputs, customQuery?: CustomQuery) => Promise<FetchResult<SetPaymentMethodOnCartMutation>>
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: SetShippingAddressesOnCartInput) => Promise<FetchResult<SetShippingAddressesOnCartMutation>>
_default: (context: Context, input: SetShippingAddressesOnCartInput, customQuery?: CustomQuery) => Promise<FetchResult<SetShippingAddressesOnCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.setshippingmethodsoncart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: SetShippingMethodsOnCartInput) => Promise<FetchResult<SetShippingMethodsOnCartMutation>>
_default: (context: Context, input: SetShippingMethodsOnCartInput, customQuery?: CustomQuery) => Promise<FetchResult<SetShippingMethodsOnCartMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.storeconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context) => Promise<ApolloQueryResult<StoreConfigQuery>>
_default: (context: Context, customQuery?: CustomQuery) => Promise<ApolloQueryResult<StoreConfigQuery>>
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, { email }: SubscribeEmailToNewsletterMutationVariables) => Promise<FetchResult<SubscribeEmailToNewsletterMutation>>
_default: (context: Context, { email }: SubscribeEmailToNewsletterMutationVariables, customQuery?: CustomQuery) => Promise<FetchResult<SubscribeEmailToNewsletterMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.updatecartitems.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: UpdateCartItemsInput) => Promise<FetchResult<UpdateCartItemsMutation>>
_default: (context: Context, input: UpdateCartItemsInput, customQuery?: CustomQuery) => Promise<FetchResult<UpdateCartItemsMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.updatecustomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: CustomerUpdateInput) => Promise<FetchResult<UpdateCustomerMutation>>
_default: (context: Context, input: CustomerUpdateInput, customQuery?: CustomQuery) => Promise<FetchResult<UpdateCustomerMutation>>
```
4 changes: 2 additions & 2 deletions docs/api-reference/magento-api.updatecustomeraddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, params: {
_default: (context: Context, params: {
addressId: number;
input: CustomerAddressInput;
}) => Promise<FetchResult<UpdateCustomerAddressMutation>>
}, customQuery?: CustomQuery) => Promise<FetchResult<UpdateCustomerAddressMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.updatecustomeremail.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, input: UpdateCustomerEmailMutationVariables) => Promise<FetchResult<UpdateCustomerEmailMutation>>
_default: (context: Context, input: UpdateCustomerEmailMutationVariables, customQuery?: CustomQuery) => Promise<FetchResult<UpdateCustomerEmailMutation>>
```
2 changes: 1 addition & 1 deletion docs/api-reference/magento-api.urlresolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
_default: ({ client }: Context, url: string) => Promise<ApolloQueryResult<UrlResolverQuery>>
_default: (context: Context, url: string, customQuery?: CustomQuery) => Promise<ApolloQueryResult<UrlResolverQuery>>
```
57 changes: 57 additions & 0 deletions docs/guide/override-queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Override queries

To override one or multiple queries without creating a custom composable for each usage, you can override the defaults ones with the `customQueries` attribute in the `middleware.config.js`file.

## Examples

```js
const config = require('./config.js');
const cookieNames = require('./enums/cookieNameEnum');
import gql from 'graphql-tag';

module.exports = {
integrations: {
magento: {
customQueries: {
/**********************
** HERE : use the default query key to override it.
***********************/
'products': ({ query, variables, metadata }) => {
query = gql`
...
`;
return { query, variables }
}
},
location: '@vue-storefront/magento-api/server',
configuration: {
api: config.get('magentoGraphQl'),
cookies: {
...cookieNames,
},
defaultStore: 'default',
externalCheckout: {
enable: config.get('enableMagentoExternalCheckout'),
cmsUrl: config.get('externalCheckoutUrl'),
syncUrlPath: config.get('externalCheckoutSyncPath'),
stores: {
default: config.get('enableMagentoExternalCheckout'),
},
},
tax: {
displayCartSubtotalIncludingTax: true,
},
facets: {
available: ['color', 'size', 'price'],
},
customApolloHttpLinkOptions: {
useGETForQueries: false,
},
},
},
},
};


```

2 changes: 1 addition & 1 deletion packages/api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-storefront/magento-api",
"version": "1.0.0-rc.5",
"version": "1.0.0-rc.5.1",
"sideEffects": false,
"homepage": "https://github.com/vuestorefront/magento2",
"bugs": {
Expand Down
Loading

0 comments on commit ccb8ab1

Please sign in to comment.