Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
samberrry committed Feb 4, 2023
2 parents 5a4643f + 3faa2b9 commit 6baccc8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
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/prestashop-api",
"version": "1.2.0",
"version": "1.2.1",
"private": false,
"sideEffects": false,
"server": "server/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/composables/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-storefront/prestashop",
"version": "1.2.0",
"version": "1.2.1",
"private": false,
"sideEffects": false,
"main": "lib/index.cjs.js",
Expand All @@ -16,7 +16,7 @@
"update:update": "ncu -u"
},
"dependencies": {
"@vue-storefront/prestashop-api": "1.2.0",
"@vue-storefront/prestashop-api": "1.2.1",
"@vue-storefront/core": "~2.7.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/composables/src/getters/facetGetters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function getBreadcrumbs(params: FacetSearchResult<Facet>): AgnosticBreadcrumb[]
return [];
}

export const facetGetters: FacetsGetters<Facet, FacetSearchCriteria> = {
export const facetGetters: FacetsGetters<Facet, PsProduct[], FacetSearchCriteria> = {
getSortOptions,
getGrouped,
getAll,
Expand Down
7 changes: 3 additions & 4 deletions packages/composables/src/helpers/populateCategoryProducts.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
const populateCategoryProducts = (psProducts: Array<any>) => {
const populateCategoryProducts = psProducts.map((product) => ({
return psProducts.map((product) => ({
id: product.id_product,
name: product.name,
slug: product.link_rewrite,
Expand All @@ -14,10 +14,9 @@ const populateCategoryProducts = (psProducts: Array<any>) => {
shortDescription: null,
brand: null,
category: null,
productInfo: null
productInfo: null,
quantity: product.quantity
}));

return populateCategoryProducts;
};

export default populateCategoryProducts;
4 changes: 2 additions & 2 deletions packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-storefront/prestashop-theme",
"version": "1.2.0",
"version": "1.2.1",
"private": true,
"scripts": {
"build": "nuxt build -m",
Expand All @@ -24,7 +24,7 @@
"@vue-storefront/middleware": "~2.7.5",
"@vue-storefront/nuxt": "~2.7.5",
"@vue-storefront/nuxt-theme": "~2.7.5",
"@vue-storefront/prestashop": "1.2.0",
"@vue-storefront/prestashop": "1.2.1",
"cookie-universal-nuxt": "^2.1.5",
"core-js": "^3.19.0",
"nuxt": "^2.15.8",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3937,7 +3937,7 @@
"@typescript-eslint/types" "4.31.2"
eslint-visitor-keys "^2.0.0"

"@vue-storefront/core@~2.7.1", "@vue-storefront/core@~2.7.5":
"@vue-storefront/core@~2.7.5":
version "2.7.5"
resolved "https://registry.yarnpkg.com/@vue-storefront/core/-/core-2.7.5.tgz#69b629d1c540f52e39220de18fb6e836552ea240"
integrity sha512-mtUXY5FtFEUKUDcaOWGvOuYpPzT9nMvbJ1Z8CjcT48y4bEEnaq6doiAsMFGXGvUFJzOXqXiN3jpRZ3q9QRAsyA==
Expand All @@ -3947,7 +3947,7 @@
lodash-es "^4.17.15"
vue "^2.6.11"

"@vue-storefront/middleware@~2.7.1":
"@vue-storefront/middleware@~2.7.5":
version "2.7.5"
resolved "https://registry.yarnpkg.com/@vue-storefront/middleware/-/middleware-2.7.5.tgz#b4654a7a08264973347153daa3d11345d35233bb"
integrity sha512-K79iuf8vLF5XbW65Ycx46jahTpIaI4Nim+Yl3guT+k8it3U3OQsjbI0K0ExALPOGDxwpIMxbQzKlCa3ACvF0+w==
Expand All @@ -3959,7 +3959,7 @@
express "^4.17.1"
helmet "^5.0.2"

"@vue-storefront/nuxt-theme@~2.7.1":
"@vue-storefront/nuxt-theme@~2.7.5":
version "2.7.5"
resolved "https://registry.yarnpkg.com/@vue-storefront/nuxt-theme/-/nuxt-theme-2.7.5.tgz#be4671a6692e0db50d24950ca61fe3e1316fb1dc"
integrity sha512-6R3qpWlezBA9n5unRMvBk7BVjCLETCxEuTEXYtxGRuSqoJKm7jrAVwxVJ/UiJTrz7G/Wuxh20EX+MecgLRqWyQ==
Expand All @@ -3969,7 +3969,7 @@
lodash.merge "^4.6.2"
vue-lazy-hydration "^2.0.0-beta.4"

"@vue-storefront/nuxt@~2.7.1":
"@vue-storefront/nuxt@~2.7.5":
version "2.7.5"
resolved "https://registry.yarnpkg.com/@vue-storefront/nuxt/-/nuxt-2.7.5.tgz#bb79f17aa8cb7233bf460e827362c16dfc0e3cb3"
integrity sha512-I0hoxPy5Re2honlvETQsrgSlyy7zdfpOmkqZ/ME6cH4rpfRN317B+5ijqVQzY9j+K64AKyoHqhg0Os0yjypWIA==
Expand Down

0 comments on commit 6baccc8

Please sign in to comment.