Skip to content

Commit

Permalink
[TITAN-556] Release 1.0.3 (#229)
Browse files Browse the repository at this point in the history
* docs: 📝 Added information on creating release to README

* docs: 📝 Updated documentation as per reccomendations

* build(deps-dev): bump eslint from 8.48.0 to 8.49.0 (#170)

Bumps [eslint](https://github.com/eslint/eslint) from 8.48.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.48.0...v8.49.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint-config-next from 13.4.15 to 13.4.19 (#171)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.15 to 13.4.19.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.19/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/preset-react from 7.22.5 to 7.22.15 (#172)

Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.22.5 to 7.22.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.15/packages/babel-preset-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @faustwp/core from 1.1.1 to 1.1.2 (#173)

Bumps [@faustwp/core](https://github.com/wpengine/faustjs) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/wpengine/faustjs/releases)
- [Commits](https://github.com/wpengine/faustjs/compare/@faustwp/[email protected]...@faustwp/[email protected])

---
updated-dependencies:
- dependency-name: "@faustwp/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump react-icons from 4.10.1 to 4.11.0 (#174)

Bumps [react-icons](https://github.com/react-icons/react-icons) from 4.10.1 to 4.11.0.
- [Release notes](https://github.com/react-icons/react-icons/releases)
- [Commits](react-icons/react-icons@v4.10.1...v4.11.0)

---
updated-dependencies:
- dependency-name: react-icons
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump sass from 1.66.1 to 1.67.0 (#175)

Bumps [sass](https://github.com/sass/dart-sass) from 1.66.1 to 1.67.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.66.1...1.67.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump universal-cookie from 6.1.0 to 6.1.1 (#176)

Bumps [universal-cookie](https://github.com/bendotcodes/cookies) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/bendotcodes/cookies/releases)
- [Changelog](https://github.com/bendotcodes/cookies/blob/main/LEGACY-CHANGELOG.md)
- [Commits](bendotcodes/cookies@v6.1.0...v6.1.1)

---
updated-dependencies:
- dependency-name: universal-cookie
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/preset-env from 7.22.15 to 7.22.20 (#177)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.15 to 7.22.20.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.20/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @testing-library/jest-dom from 6.1.2 to 6.1.3 (#178)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](testing-library/jest-dom@v6.1.2...v6.1.3)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump babel-jest from 29.6.4 to 29.7.0 (#179)

Bumps [babel-jest](https://github.com/jestjs/jest/tree/HEAD/packages/babel-jest) from 29.6.4 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/babel-jest)

---
updated-dependencies:
- dependency-name: babel-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump graphql from 16.8.0 to 16.8.1

Bumps [graphql](https://github.com/graphql/graphql-js) from 16.8.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](graphql/graphql-js@v16.8.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* build(deps): bump jest-environment-jsdom from 29.6.4 to 29.7.0 (#181)

Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.4 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint-config-next from 13.4.19 to 13.5.3 (#182)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.19 to 13.5.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.5.3/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump sass from 1.67.0 to 1.68.0 (#183)

Bumps [sass](https://github.com/sass/dart-sass) from 1.67.0 to 1.68.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.67.0...1.68.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump eslint-plugin-jest from 27.2.3 to 27.4.0 (#184)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.2.3 to 27.4.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v27.2.3...v27.4.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @apollo/client from 3.8.2 to 3.8.4 (#185)

Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.8.2 to 3.8.4.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](apollographql/apollo-client@v3.8.2...v3.8.4)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump jest from 29.6.4 to 29.7.0 (#186)

Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.6.4 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint from 8.49.0 to 8.50.0 (#187)

Bumps [eslint](https://github.com/eslint/eslint) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.49.0...v8.50.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @faustwp/cli from 1.1.1 to 1.1.3 (#188)

Bumps [@faustwp/cli](https://github.com/wpengine/faustjs) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/wpengine/faustjs/releases)
- [Commits](https://github.com/wpengine/faustjs/compare/@faustwp/[email protected]...@faustwp/[email protected])

---
updated-dependencies:
- dependency-name: "@faustwp/cli"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump eslint-plugin-jest from 27.4.0 to 27.4.2 (#189)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.4.0 to 27.4.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v27.4.0...v27.4.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @wordpress/base-styles from 4.32.0 to 4.33.0 (#190)

Bumps [@wordpress/base-styles](https://github.com/WordPress/gutenberg/tree/HEAD/packages/base-styles) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/base-styles/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/base-styles)

---
updated-dependencies:
- dependency-name: "@wordpress/base-styles"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @wordpress/base-styles from 4.33.0 to 4.34.0 (#192)

Bumps [@wordpress/base-styles](https://github.com/WordPress/gutenberg/tree/HEAD/packages/base-styles) from 4.33.0 to 4.34.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/base-styles/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/base-styles)

---
updated-dependencies:
- dependency-name: "@wordpress/base-styles"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump sass from 1.68.0 to 1.69.0 (#193)

Bumps [sass](https://github.com/sass/dart-sass) from 1.68.0 to 1.69.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.68.0...1.69.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint-config-next from 13.5.3 to 13.5.4 (#194)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.5.3 to 13.5.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.5.4/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint from 8.50.0 to 8.51.0 (#195)

Bumps [eslint](https://github.com/eslint/eslint) from 8.50.0 to 8.51.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.50.0...v8.51.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump sass from 1.69.0 to 1.69.3 (#196)

Bumps [sass](https://github.com/sass/dart-sass) from 1.69.0 to 1.69.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.69.0...1.69.3)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint-config-next from 13.5.4 to 13.5.5 (#197)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.5.4 to 13.5.5.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.5.5/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @apollo/client from 3.8.4 to 3.8.6 (#198)

Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.8.4 to 3.8.6.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](apollographql/apollo-client@v3.8.4...v3.8.6)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump lint-staged from 14.0.1 to 15.0.1 (#199)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 14.0.1 to 15.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v14.0.1...v15.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @babel/traverse from 7.22.5 to 7.23.2 (#200)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alvaro Cavalcanti <[email protected]>

* build(deps): bump postcss and next (#191)

* build(deps): bump postcss and next

Bumps [postcss](https://github.com/postcss/postcss) to 8.4.31 and updates ancestor dependency [next](https://github.com/vercel/next.js). These dependencies need to be updated together.


Updates `postcss` from 8.4.23 to 8.4.31
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.23...8.4.31)

Updates `next` from 12.3.4 to 13.5.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v12.3.4...v13.5.4)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* style: 🚨 Fixed lint errors

* build(deps): 📌 Enabling legacy peer dependencies

* test: ✅ Changed image attribute based on new version of NextJS

* test: ✅ Using NextJS legacy Image component after upgrading to new version

* test: ✅ Using ALT instead of SRC due to reliability and flakyness

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alvaro Cavalcanti <[email protected]>

* test: ✅ Skipping tests due to failure after upgrading to NextJS 13 (#201)

* build(deps-dev): Bump @babel/preset-env from 7.22.20 to 7.23.2 (#202)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.20 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): Bump eslint from 8.51.0 to 8.52.0 (#203)

Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.52.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.51.0...v8.52.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump eslint-plugin-jest from 27.4.2 to 27.4.3 (#204)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.4.2 to 27.4.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v27.4.2...v27.4.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump next from 13.5.5 to 13.5.6 (#205)

Bumps [next](https://github.com/vercel/next.js) from 13.5.5 to 13.5.6.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.5.5...v13.5.6)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): Bump @testing-library/jest-dom from 6.1.3 to 6.1.4 (#206)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](testing-library/jest-dom@v6.1.3...v6.1.4)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump sass from 1.69.3 to 1.69.5 (#207)

Bumps [sass](https://github.com/sass/dart-sass) from 1.69.3 to 1.69.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.69.3...1.69.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): Bump eslint-config-next from 13.5.5 to 14.0.0 (#208)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.5.5 to 14.0.0.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.0.0/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): Bump lint-staged from 15.0.1 to 15.0.2 (#209)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.0.1...v15.0.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump @wordpress/base-styles from 4.34.0 to 4.35.0 (#210)

Bumps [@wordpress/base-styles](https://github.com/WordPress/gutenberg/tree/HEAD/packages/base-styles) from 4.34.0 to 4.35.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/base-styles/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/base-styles)

---
updated-dependencies:
- dependency-name: "@wordpress/base-styles"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump eslint-plugin-jest from 27.4.3 to 27.6.0 (#211)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.4.3 to 27.6.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v27.4.3...v27.6.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump @apollo/client from 3.8.6 to 3.8.7 (#212)

Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.8.6 to 3.8.7.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](apollographql/apollo-client@v3.8.6...v3.8.7)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump @wordpress/base-styles from 4.35.0 to 4.36.0 (#213)

Bumps [@wordpress/base-styles](https://github.com/WordPress/gutenberg/tree/HEAD/packages/base-styles) from 4.35.0 to 4.36.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/base-styles/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/base-styles)

---
updated-dependencies:
- dependency-name: "@wordpress/base-styles"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): Bump eslint from 8.52.0 to 8.53.0 (#214)

Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.52.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump use-debounce from 9.0.4 to 10.0.0 (#216)

Bumps [use-debounce](https://github.com/xnimorz/use-debounce) from 9.0.4 to 10.0.0.
- [Release notes](https://github.com/xnimorz/use-debounce/releases)
- [Changelog](https://github.com/xnimorz/use-debounce/blob/master/CHANGELOG.md)
- [Commits](xnimorz/use-debounce@9.0.4...10.0.0)

---
updated-dependencies:
- dependency-name: use-debounce
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump @faustwp/cli from 1.1.3 to 1.2.0 (#215)

Bumps [@faustwp/cli](https://github.com/wpengine/faustjs) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/wpengine/faustjs/releases)
- [Commits](https://github.com/wpengine/faustjs/compare/@faustwp/[email protected]...@faustwp/[email protected])

---
updated-dependencies:
- dependency-name: "@faustwp/cli"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): 📌 Fixed dependencies conflicts (#217)

* build(deps): 📌 Upgraded React version (#218)

* Upgrade react version (#219)

* build(deps): 📌 Upgraded React version

* build(deps): 📌 Overrding React version

* build(deps-dev): Bump prettier from 3.0.3 to 3.1.0 (#220)

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.0.3...3.1.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump next from 13.5.6 to 14.0.2 (#221)

Bumps [next](https://github.com/vercel/next.js) from 13.5.6 to 14.0.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.5.6...v14.0.2)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): Bump eslint-config-next from 14.0.0 to 14.0.2 (#222)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 14.0.0 to 14.0.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.0.2/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump @faustwp/core from 1.1.2 to 1.2.0 (#223)

Bumps [@faustwp/core](https://github.com/wpengine/faustjs) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/wpengine/faustjs/releases)
- [Commits](https://github.com/wpengine/faustjs/compare/@faustwp/[email protected]...@faustwp/[email protected])

---
updated-dependencies:
- dependency-name: "@faustwp/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): Bump lint-staged from 15.0.2 to 15.1.0 (#224)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.0.2 to 15.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.0.2...v15.1.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alvaro Cavalcanti <[email protected]>

* build(config): 👷 Added legacy peer deps to the standard configuration (#225)

* feat(config): 🔖 Pre-release 1.0.3 (#226)

* [TITAN-556] Update develop pre release (#228)

Co-authored-by: Mateusz Bober <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Mateusz Bober <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 14, 2023
1 parent 94c0964 commit 82944c0
Show file tree
Hide file tree
Showing 36 changed files with 6,218 additions and 4,518 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
at: .
- node/install-packages:
app-dir: <<parameters.slug>>
override-ci-command: npm ci --legacy-peer-deps
- run:
name: NPM build
command: |
Expand All @@ -57,6 +58,7 @@ jobs:
at: .
- node/install-packages:
app-dir: <<parameters.slug>>
override-ci-command: npm ci --legacy-peer-deps
- run:
name: Set env file
command: |
Expand Down Expand Up @@ -84,6 +86,7 @@ jobs:
at: .
- node/install-packages:
app-dir: <<parameters.slug>>
override-ci-command: npm ci --legacy-peer-deps
- run:
name: NPM test
command: |
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ In addition to default environment variables the Shopify Blueprint needs to add

For local development these can be added to `.env.local` and for production deployments these can be added in Atlas Dashboard. See [WP Engine headless docs for directions on how to configure Atlas Environment Variables](https://developers.wpengine.com/docs/atlas/local-app-development/frontend-app-config#2--define-environment-variables).

## Creating a new Github release

The steps involved with creating a new release are as follows :

1. Update the version in `package.json`
2. Run `npm install` and check the new version in the generated `package-lock.json`
3. Create a PR against `develop` with the version update. Review and merge the PR.
4. Create a PR from `develop` into the `main` branch and make sure it includes all the changes that are intended to be in the release. Review and merge the PR.
5. In the User Portal (production), create a new Atlas App using the Shopify Blueprint and verify if changes are there and the version is correct.
6. Create a new release in Github with the tag as the latest version with `main` as the target. (For description you can use the `generate release notes` button)
7. Post a message to [#team-pe-titan-public](https://wpengine.slack.com/archives/C04SJP4UBB7) using the following template:
> 🚀 Atlas Shopify Blueprint - Version X.Y.Z 🚀
> We have released a new version of the blueprint. <Short sentences summarising the changes added>. For more details, follow this link: https://github.com/wpengine/atlas-shopify-blueprint/releases/tag/X.Y.Z
## For more information

For more information on this Blueprint please check out the following sources:
Expand Down
12 changes: 6 additions & 6 deletions components/Cart/CartTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const CartTable = ({
setProductNotification({
message: `${product} has been removed from your cart.`,
className: 'success',
})
}),
)
.catch((err) => {
console.error(err);
Expand All @@ -63,7 +63,7 @@ const CartTable = ({
.finally(() =>
retrieveCart().then((response) => {
setCartData(response.data.cart);
})
}),
);
};

Expand All @@ -77,7 +77,7 @@ const CartTable = ({
.then((res) => {
const quantityAfterUpdate =
res.data.cartLinesUpdate.cart.lines.nodes.find(
(line) => line.id === id
(line) => line.id === id,
)?.quantity;

if (!quantityAfterUpdate) {
Expand Down Expand Up @@ -110,7 +110,7 @@ const CartTable = ({
.finally(() =>
retrieveCart().then((response) => {
setCartData(response.data.cart);
})
}),
);
};

Expand Down Expand Up @@ -165,7 +165,7 @@ const CartTable = ({
handleUpdateQuantity(
product.title,
item.id,
item.quantity - 1
item.quantity - 1,
)
}
/>
Expand All @@ -182,7 +182,7 @@ const CartTable = ({
handleUpdateQuantity(
product.title,
item.id,
item.quantity + 1
item.quantity + 1,
)
}
/>
Expand Down
2 changes: 1 addition & 1 deletion components/Cart/CartTotals.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
}

p{
p {
font-weight: bold;
font-size: 1.17em;
}
Expand Down
76 changes: 47 additions & 29 deletions components/Cart/__tests__/Cart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

expect(
await screen.findByText(/You have no items in cart/i)
await screen.findByText(/You have no items in cart/i),
).not.toBeNull();
});

Expand All @@ -74,14 +74,14 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
expect(screen.getByText(/Triangulum Hoodie/i)).toBeVisible();
expect(screen.getByTestId('checkout-btn')).toHaveAttribute(
'href',
'https://blueprintbetatest.myshopify.com/cart/c/c1-74d26c3130aa39e303d99d4d430c6eca'
'https://blueprintbetatest.myshopify.com/cart/c/c1-74d26c3130aa39e303d99d4d430c6eca',
);
});
});
Expand Down Expand Up @@ -123,15 +123,17 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
expect(screen.getByText(/Triangulum Hoodie/i)).toBeVisible();
expect(screen.getByText(/Topography Shirt/i)).toBeVisible();
});

const remove = await screen.getByTestId('remove-button-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca');
const remove = await screen.getByTestId(
'remove-button-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca',
);

act(() => {
fireEvent.click(remove);
Expand All @@ -140,8 +142,8 @@ describe('<Cart />', () => {
await waitFor(() => {
expect(
screen.queryByText(
/Triangulum Hoodie has been removed from your cart./i
)
/Triangulum Hoodie has been removed from your cart./i,
),
).toBeVisible();
expect(screen.getByText(/Topography Shirt/i)).toBeVisible();
});
Expand Down Expand Up @@ -184,14 +186,16 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
expect(screen.getByText(/Triangulum Hoodie/i)).toBeVisible();
});

const remove = await screen.getByTestId('remove-button-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca');
const remove = await screen.getByTestId(
'remove-button-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca',
);

act(() => {
fireEvent.click(remove);
Expand Down Expand Up @@ -243,7 +247,7 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
Expand Down Expand Up @@ -337,12 +341,16 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
expect(screen.getByText(/Triangulum Hoodie/i)).toBeVisible();
expect(screen.getByLabelText('item-quantity-1-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca')).toBeInTheDocument();
expect(
screen.getByLabelText(
'item-quantity-1-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca',
),
).toBeInTheDocument();
});

const increaseButton = await screen.getByTestId('increase-button');
Expand All @@ -353,7 +361,11 @@ describe('<Cart />', () => {
});

await waitFor(() => {
expect(screen.getByLabelText('item-quantity-2-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca')).toBeInTheDocument();
expect(
screen.getByLabelText(
'item-quantity-2-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca',
),
).toBeInTheDocument();
});

// add another which can't go beyond 2
Expand All @@ -364,13 +376,13 @@ describe('<Cart />', () => {
await waitFor(() => {
expect(
screen.getByText(
/The maximum amount available for this product has been added to the cart./i
)
/The maximum amount available for this product has been added to the cart./i,
),
).toBeVisible();
expect(
screen.getByText(
/The maximum amount available for this product has been added to the cart./i
)
/The maximum amount available for this product has been added to the cart./i,
),
).toBeInTheDocument();
});

Expand All @@ -383,10 +395,14 @@ describe('<Cart />', () => {
await waitFor(() => {
expect(
screen.queryByText(
/The maximum amount available for this product has been added to the cart./i
)
/The maximum amount available for this product has been added to the cart./i,
),
).not.toBeInTheDocument();
expect(screen.getByLabelText('item-quantity-1-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca')).toBeInTheDocument();
expect(
screen.getByLabelText(
'item-quantity-1-gid://shopify/CartLine/4d7efdf2-e95c-4792-b55d-914e3626f6e6?cart=c1-74d26c3130aa39e303d99d4d430c6eca',
),
).toBeInTheDocument();
});
});

Expand Down Expand Up @@ -428,7 +444,7 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
Expand Down Expand Up @@ -490,7 +506,7 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
Expand All @@ -507,8 +523,8 @@ describe('<Cart />', () => {
await waitFor(() => {
expect(
screen.getByText(
/Triangulum Hoodie has been removed from your cart./i
)
/Triangulum Hoodie has been removed from your cart./i,
),
).toBeVisible();
});
});
Expand Down Expand Up @@ -551,7 +567,7 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

await waitFor(() => {
Expand All @@ -568,7 +584,7 @@ describe('<Cart />', () => {
await waitFor(() => {
expect(screen.getByText(/1/i)).toBeVisible();
expect(
screen.getByText(/There was an issue changing this item's quantity/i)
screen.getByText(/There was an issue changing this item's quantity/i),
).toBeVisible();
});
});
Expand Down Expand Up @@ -600,11 +616,13 @@ describe('<Cart />', () => {
<ShopifyCartProvider>
<Cart />
</ShopifyCartProvider>
</MockedProvider>
</MockedProvider>,
);

expect(
await screen.findByText(/To get started connecting your Shopify store/i)
await screen.findByText(
/To get started connecting your Shopify store/i,
),
).not.toBeNull();
});
});
Expand Down
16 changes: 8 additions & 8 deletions components/EntryHeader/__tests__/EntryHeader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ import EntryHeader from '../EntryHeader';

describe('<EntryHeader />', () => {
global.console.warn = jest.fn();

it('Display title and subtitle with no image', () => {
render(
<EntryHeader
title="Shopping"
subTitle="Shop your Shopify products with WordPress and WPGraphQL"
/>
/>,
);

expect(screen.getByText(/Shopping/i)).toBeVisible();
expect(
screen.getByText(
/Shop your Shopify products with WordPress and WPGraphQL/i
)
/Shop your Shopify products with WordPress and WPGraphQL/i,
),
).toBeVisible();
expect(screen.queryByTestId('featureImage-header')).not.toBeInTheDocument();
});
Expand All @@ -32,20 +32,20 @@ describe('<EntryHeader />', () => {
altText: 'my-test-image',
mediaDetails: { width: 200, height: 200 },
}}
/>
/>,
);

const image = await screen.getByAltText('my-test-image');

expect(image).toHaveAttribute(
'src',
'/_next/image?url=https%3A%2F%2Fsome-url&w=3840&q=75'
'/_next/image?url=https%3A%2F%2Fsome-url&w=3840&q=75',
);
expect(screen.getByText(/Shopping/i)).toBeVisible();
expect(
screen.getByText(
/Shop your Shopify products with WordPress and WPGraphQL/i
)
/Shop your Shopify products with WordPress and WPGraphQL/i,
),
).toBeVisible();
});
});
2 changes: 1 addition & 1 deletion components/FeaturedImage/FeaturedImage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { gql } from '@apollo/client';
import Image from 'next/image';
import Image from 'next/legacy/image';

export default function FeaturedImage({
image,
Expand Down
4 changes: 3 additions & 1 deletion components/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@
background-color: transparent;
color: var(--wpe--color--white);
border: 0.1rem solid var(--wpe--color--white);
transition: color 0.3s ease, background-color 0.3s ease;
transition:
color 0.3s ease,
background-color 0.3s ease;

&:hover,
&:focus {
Expand Down
Loading

1 comment on commit 82944c0

@headless-platform-by-wp-engine

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out the recent updates to your Atlas environment:

App Environment URL Build
atlas-shopify-blueprint main https://hw…wered.com ✅ (logs)

Learn more about building on Atlas in our documentation.

Please sign in to comment.