Skip to content

Commit

Permalink
Merge branch 'master' into feat/filter-search-results
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoformiga committed Feb 22, 2022
2 parents 5f7effe + 0329c9e commit 8698773
Show file tree
Hide file tree
Showing 35 changed files with 613 additions and 34 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.5.16 (2022-02-22)

**Note:** Version bump only for package faststore





## 1.5.15 (2022-02-22)

**Note:** Version bump only for package faststore





## 1.5.14 (2022-02-22)


### Features

* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))





## 1.5.13 (2022-02-22)


### Features

* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))





## 1.5.12 (2022-02-21)


Expand Down
38 changes: 38 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.5.16 (2022-02-22)

**Note:** Version bump only for package docs





## 1.5.15 (2022-02-22)

**Note:** Version bump only for package docs





## 1.5.14 (2022-02-22)


### Features

* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))





## 1.5.13 (2022-02-22)


### Features

* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))





## 1.5.12 (2022-02-21)


Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "1.5.12",
"version": "1.5.16",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -18,11 +18,11 @@
"@docusaurus/preset-classic": "^2.0.0-beta.13",
"@docusaurus/remark-plugin-npm2yarn": "^2.0.0-beta.13",
"@docusaurus/theme-live-codeblock": "^2.0.0-beta.13",
"@faststore/ui": "^1.5.12",
"@faststore/ui": "^1.5.16",
"@fortawesome/fontawesome-free": "^5.15.4",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"@vtex/theme-b2c-tailwind": "^1.5.12",
"@vtex/theme-b2c-tailwind": "^1.5.16",
"babel-loader": "^8.2.2",
"clsx": "^1.1.1",
"docusaurus-plugin-image-zoom": "^0.0.2",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.5.12",
"version": "1.5.16",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
Expand Down
38 changes: 38 additions & 0 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.5.16 (2022-02-22)

**Note:** Version bump only for package @faststore/api





## 1.5.15 (2022-02-22)

**Note:** Version bump only for package @faststore/api





## 1.5.14 (2022-02-22)


### Features

* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))





## 1.5.13 (2022-02-22)


### Features

* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))





## 1.5.12 (2022-02-21)


Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faststore/api",
"version": "1.5.12",
"version": "1.5.16",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
6 changes: 1 addition & 5 deletions packages/api/src/platforms/vtex/resolvers/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ export const StoreProduct: Record<string, Resolver<Root>> = {
alternateName: name ?? '',
url: value.replace('vteximg.com.br', 'vtexassets.com'),
})),
sku: ({
isVariantOf: {
skus: [sku],
},
}) => sku.id,
sku: ({ id }) => id,
gtin: ({ reference }) => reference ?? '',
review: () => [],
aggregateRating: () => ({}),
Expand Down
4 changes: 3 additions & 1 deletion packages/api/src/platforms/vtex/resolvers/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ export const Query = {
}

const collections = [
...brands.map((x) => ({ ...x, type: 'brand' })),
...brands
.filter((brand) => brand.isActive)
.map((x) => ({ ...x, type: 'brand' })),
...categories,
]

Expand Down
38 changes: 38 additions & 0 deletions packages/gatsby-plugin-cms/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.5.16 (2022-02-22)

**Note:** Version bump only for package @vtex/gatsby-plugin-cms





## 1.5.15 (2022-02-22)

**Note:** Version bump only for package @vtex/gatsby-plugin-cms





## 1.5.14 (2022-02-22)


### Features

* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))





## 1.5.13 (2022-02-22)


### Features

* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))





## 1.5.12 (2022-02-21)


Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-cms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vtex/gatsby-plugin-cms",
"version": "1.5.12",
"version": "1.5.16",
"description": "Gatsby plugin for building pages with VTEX CMS.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.1",
"@vtex/gatsby-source-vtex": "^1.5.12",
"@vtex/gatsby-source-vtex": "^1.5.16",
"camelcase": "^6.2.0",
"chokidar": "^3.5.0",
"fetch-retry": "^4.1.1",
Expand Down
38 changes: 38 additions & 0 deletions packages/gatsby-plugin-nginx/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.5.16 (2022-02-22)

**Note:** Version bump only for package @vtex/gatsby-plugin-nginx





## 1.5.15 (2022-02-22)

**Note:** Version bump only for package @vtex/gatsby-plugin-nginx





## 1.5.14 (2022-02-22)


### Features

* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))





## 1.5.13 (2022-02-22)


### Features

* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))





## 1.5.12 (2022-02-21)


Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-nginx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vtex/gatsby-plugin-nginx",
"version": "1.5.12",
"version": "1.5.16",
"description": "Gatsby plugin to generate a nginx configuration template.",
"license": "MIT",
"repository": {
Expand Down
38 changes: 38 additions & 0 deletions packages/gatsby-plugin-onesignal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.5.16 (2022-02-22)

**Note:** Version bump only for package @vtex/gatsby-plugin-onesignal





## 1.5.15 (2022-02-22)

**Note:** Version bump only for package @vtex/gatsby-plugin-onesignal





## 1.5.14 (2022-02-22)


### Features

* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))





## 1.5.13 (2022-02-22)


### Features

* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))





## 1.5.12 (2022-02-21)


Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-onesignal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vtex/gatsby-plugin-onesignal",
"version": "1.5.12",
"version": "1.5.16",
"description": "Gatsby plugin for a simple OneSignal use case.",
"main": "index.js",
"scripts": {
Expand Down
Loading

0 comments on commit 8698773

Please sign in to comment.