Граф коммитов

268 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 1518617929
chore(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.29.1
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.3 to 2.29.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.29.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 07:07:45 +00:00
dependabot[bot] 2710e69e26
chore(deps): bump @sentry/opentelemetry-node from 7.86.0 to 7.99.0
Bumps [@sentry/opentelemetry-node](https://github.com/getsentry/sentry-javascript) from 7.86.0 to 7.99.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.86.0...7.99.0)

---
updated-dependencies:
- dependency-name: "@sentry/opentelemetry-node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 06:59:13 +00:00
dependabot[bot] 5543e8a003
chore(deps-dev): bump @nx/node from 16.10.0 to 17.3.1
Bumps [@nx/node](https://github.com/nrwl/nx/tree/HEAD/packages/node) from 16.10.0 to 17.3.1.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/17.3.1/packages/node)

---
updated-dependencies:
- dependency-name: "@nx/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 06:49:06 +00:00
dependabot[bot] 42e4eac79c
chore(deps): bump p-queue from 7.3.4 to 8.0.1
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 7.3.4 to 8.0.1.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.3.4...v8.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 07:46:33 +00:00
dependabot[bot] 6164560db8
chore(deps): bump @sentry/browser from 7.86.0 to 7.88.0
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.86.0 to 7.88.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.86.0...7.88.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 06:52:39 +00:00
dependabot[bot] 97577aad7e
chore(deps): bump eslint-plugin-jest from 27.2.1 to 27.6.0
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.2.1 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](https://github.com/jest-community/eslint-plugin-jest/compare/v27.2.1...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] <support@github.com>
2023-12-12 06:51:03 +00:00
dschom 972e0c931b
task(all): Upgrade sentry
Because:
- We want to update sentry across the board

This Commit:
- Removes sentry packages in workspaces
- Adds sentry packages to root
2023-12-11 10:16:28 -08:00
dependabot[bot] d4dc632346
chore(deps-dev): bump @testing-library/react from 14.0.0 to 14.1.2
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.0.0 to 14.1.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v14.0.0...v14.1.2)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 21:57:59 +00:00
dschom cf2636aa8d
Because:
- We want to see performance metrics in Sentry
- We want to see traces in Sentry
- We still want to see otel traces in GCP (jaeger locally)

This pull request
- Sets the Sentry instrumenter to otel for server side sentry configs
- Converts otel traces to Sentry traces
- Propagates otel traces to Sentry
- Adds fxa-shared/monitoring
- Cleans up initialization for sentry and tracing
- Makes SURE sentry and otel are initialized first! (This is important! The order matters here!)
- Upgrades sentry npm packages
- Upgrades otel npm packages
- Puts these packages dependencies in the root package.json
2023-12-07 12:01:20 -08:00
Valerie Pomerleau 446c7d90a0
Merge pull request #16148 from mozilla/dependabot/npm_and_yarn/lint-staged-15.2.0
chore(deps): bump lint-staged from 15.1.0 to 15.2.0
2023-12-06 16:10:08 -08:00
Lauren Zugai 33a802c1bd
chore(script): Rework config-fxios script for iOS testing, remove replace-in-file
Because:
* The script has been broken since firefox-ios moved to Rust components and we want to do local iOS testing

This commit:
* Reworks the script that replaced several strings containing our endpoints to change a parameter used to call FxAConfig in the firefox-ios directory instead. On the Rust side we're now checking against the well-known file for these endpoints instead of using hard-coded values
* Removes replace-in-file in favor of fs since while this approach is still not robust, the new regex checks for a FxAConfig function call and replaces a specific parameter and replace-in-file does not seem to support regex/partial replacements like this

Closes FXA-2195
2023-12-06 09:25:35 -06:00
dependabot[bot] e1ab5fd149
chore(deps): bump lint-staged from 15.1.0 to 15.2.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.1.0 to 15.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.1.0...v15.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-06 06:25:38 +00:00
dependabot[bot] a9433060ed
chore(deps-dev): bump @nx/cypress from 16.10.0 to 17.1.3
Bumps [@nx/cypress](https://github.com/nrwl/nx/tree/HEAD/packages/cypress) from 16.10.0 to 17.1.3.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/17.1.3/packages/cypress)

---
updated-dependencies:
- dependency-name: "@nx/cypress"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 06:55:55 +00:00
Ben Bangert f869cfa3e2
Merge pull request #16097 from mozilla/feat/add-winston-logging
feat: add winston logger and nest helper
2023-11-30 13:48:02 -08:00
Ben Bangert 3878034f0b
feat: add winston logger and nest helper
Because:

* We want to use winston for logging in new applications.

This commit:

* Adds winston logging and Nest helpers with a console monkey-patch.
2023-11-30 12:22:35 -08:00
Lauren Zugai 648e944c0d
chore(all): Move gql dependencies to root package.json
Because:
* We want to move shared deps to the root package.json

This commit:
* Removes packages from several package.jsons as they are already present in root.json
* Moves @apollo/client to root package.json
2023-11-30 12:58:53 -06:00
Lauren Zugai 0cdee94037
chore(all): Upgrade GQL and dependencies
Because:
* We want to use the latest graphql dependency

This commit:
* Updates GQL dep and all packages relying on it
* Moves some dependencies to root package.json
* Removes a couple of deps we aren't using
* Addresses breaking changes, updates related tests and mocks
* Fixes type errors
* Prettifies contentful autogenerated files

closes FXA-8489

Co-authored-by: Ben Bangert <100193+bbangert@users.noreply.github.com>
Co-authored-by: Julian Poyourow <julianpoyo@gmail.com>
Co-authored-by: Reino Muhl <reino.muhl@gmail.com>
2023-11-30 11:47:57 -06:00
dependabot[bot] 549b60de40
chore(deps-dev): bump @nx/storybook from 16.9.1 to 17.1.3
Bumps [@nx/storybook](https://github.com/nrwl/nx/tree/HEAD/packages/storybook) from 16.9.1 to 17.1.3.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/17.1.3/packages/storybook)

---
updated-dependencies:
- dependency-name: "@nx/storybook"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 06:29:26 +00:00
dependabot[bot] 79c9df1bbe
chore(deps-dev): bump @storybook/nextjs from 7.4.5 to 7.5.3
Bumps [@storybook/nextjs](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/nextjs) from 7.4.5 to 7.5.3.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v7.5.3/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.3/code/frameworks/nextjs)

---
updated-dependencies:
- dependency-name: "@storybook/nextjs"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 23:51:26 +00:00
julianpoyourow fff34584f6
fix(contentful): switch to graphql-request for contentful client
Because:

* We've had numerous problems with Apollo Client server-side (it's intended as a frontend client, mostly for React).

This commit:

* Replaces Apollo Client with graphql-request for server-to-server graphql requests in the Contentful lib.

Closes FXA-8645
2023-11-20 10:56:49 -08:00
Ben Bangert 7ed89fa8a9
Merge pull request #16076 from mozilla/chore/update-next-14.0.2
chore: update to next 14.0.2
2023-11-15 08:19:41 -08:00
Ben Bangert c2d16f43d2
chore: update to next 14.0.2
Because:

* We want to use the latest next.

This commit:

* Updates to next 14.0.2.
2023-11-14 15:34:34 -08:00
dependabot[bot] 30c3e82cf2
chore(deps-dev): bump @nestjs/schematics from 9.2.0 to 10.0.3
Bumps [@nestjs/schematics](https://github.com/nestjs/schematics) from 9.2.0 to 10.0.3.
- [Release notes](https://github.com/nestjs/schematics/releases)
- [Changelog](https://github.com/nestjs/schematics/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/schematics/compare/9.2.0...10.0.3)

---
updated-dependencies:
- dependency-name: "@nestjs/schematics"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 06:44:34 +00:00
dependabot[bot] c8b370d1cb
chore(deps-dev): bump @typescript-eslint/parser from 6.7.5 to 6.10.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.7.5 to 6.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.10.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 06:18:15 +00:00
dependabot[bot] 616a97ce04
chore(deps-dev): bump eslint-config-next from 13.4.1 to 14.0.1
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.1 to 14.0.1.
- [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.1/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] <support@github.com>
2023-11-02 15:35:38 +00:00
dependabot[bot] a4f38c1671
chore(deps): bump lint-staged from 13.2.0 to 15.0.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.0 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](https://github.com/okonet/lint-staged/compare/v13.2.0...v15.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 07:06:51 +00:00
dependabot[bot] 3dcc3d1bc4
chore(deps): bump nest-typed-config from 2.8.0 to 2.9.1
Bumps [nest-typed-config](https://github.com/Nikaple/nest-typed-config) from 2.8.0 to 2.9.1.
- [Release notes](https://github.com/Nikaple/nest-typed-config/releases)
- [Changelog](https://github.com/Nikaple/nest-typed-config/blob/main/changelog.md)
- [Commits](https://github.com/Nikaple/nest-typed-config/compare/v2.8.0...v2.9.1)

---
updated-dependencies:
- dependency-name: nest-typed-config
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 06:28:49 +00:00
Ben Bangert 6ed76a6caf
chore: update node to 18.18.2
Because:

* We want to use the latest security release of Node.

This commit:

* Updates Node.js to 18.18.2
2023-10-16 16:46:26 -07:00
dependabot[bot] 32fbbfce6c
chore(deps): bump semver from 7.3.5 to 7.5.2
Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.5...v7.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 18:51:27 +00:00
dependabot[bot] 1c22cdd8a3
chore(deps-dev): bump @typescript-eslint/parser from 5.57.1 to 6.7.5
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.57.1 to 6.7.5.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.5/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 07:21:53 +00:00
dependabot[bot] 1f04d5c6a1
chore(deps-dev): bump @storybook/addon-essentials from 7.1.1 to 7.4.6
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) from 7.1.1 to 7.4.6.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.6/code/addons/essentials)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 06:53:01 +00:00
dependabot[bot] 64678a9e82
chore(deps): bump postcss from 8.4.25 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.25 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.25...8.4.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-04 00:26:24 +00:00
Reino Muhl 1d33dec1e2
chore(storybook): update storybook to latest
Because:

* Latest update to Next.js requires latest version of storybook packages
  to resolve `Error: Cannot find module
  'next/dist/shared/lib/router-context'`

This commit:

* Updates storybook packages to latest

Closes #
2023-09-29 12:19:39 -04:00
Valerie Pomerleau 856980609e
chore(deps): resolve protobufjs to versions that don't allow prototype pollution
Because:

* Versions of protobufjs <6.11.4 and <7.2.4 are causing security alerts

This commit:

* Resolve protobufjs version 6 to use v6.11.4 or newer
* Resolve protobufjs version 7 to use v7.2.4 or newer
* Ran yarn set resolution manually to force yarn.lock update

Co-authored-by: Ben Bangert <ben@groovie.org>
2023-09-27 10:26:32 -07:00
Ben Bangert 1924d154ec
chore(deps): bump faker, nx, and next
Because:

* We want to keep up to date with the latest versions.

This commit:

* Updates the faker, nx, and next dependencies.
2023-09-26 19:26:14 -07:00
Barry Chen e1776b6bd2
feat(metrics): add Glean to fxa-settings and emit reg_view
Because:
 - we want to use Glean in fxa-settings

This commit:
 - integrates glean.js into fxa-settings
 - emits the reg_view event
2023-09-25 10:05:07 -05:00
Ben Bangert 27baba65a6
chore: update next to 13.5 and polish heartbeat return
Because:

* We want to use the newer Next.js.
* We want to use proper Next.js JSON return handling.

This commit:

* Updates to Next.js 13.5.1.
* Updates the heartbeat routes to use the new JSON return handling.
2023-09-19 11:18:09 -07:00
Ben Bangert e97fd383b8
feat: add nestJS service loading to payments-next
Because:

* We want to be able to call server-side logic with our business classes
  directly from the nextJS app before rendering on the server.

This pull request:

* Adds a NestJS application context to the NextJS app that can be used
  to load services and call methods on them.
2023-09-14 09:45:37 -07:00
Reino Muhl 3894a65527
feat(next): payments-next initial work
Because:

* Create the initial work for the Checkout page as a starting point and
  example for the rest of the SP3 components and pages.

This commit:

* Adds the payments/next/ui Next.js library.
* Move Header JSX into layout.tsx and remove ExampleHeader component.
* Add RSC PurchaseDetails, using JSX from SP2.5 PlanDetails component.
* Add RSC TermsAndPrivacy component
* Add various stubs functions for illustration purposes. These will be
  replaced with actual implementations in future tickets.
  * Cart fetch
  * Contentful fetch
  * Translation using @fluent/bundle

Closes FXA-8133
2023-09-12 14:24:39 -04:00
Meghan Sardesai a999afd748
chore(next): add Storybook to NextJS setup
Because:

* We want to include Storybook in 3.0.

This commit:

* Ensures Storybook component loads as expected.
* Ensures shared Tailwind styles can be used in payments-next and works with hot-reloading.
* Ensures the build script executes without any errors.

Closes FXA-7503
2023-09-11 17:26:30 -04:00
dependabot[bot] afe3a46fd8
chore(deps-dev): bump nx-cloud from 16.2.0 to 16.4.0
Bumps [nx-cloud](https://github.com/nrwl/nx) from 16.2.0 to 16.4.0.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/compare/16.2.0...16.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-08 07:09:17 +00:00
Ben Bangert 18565ae005
chore: bump mapped-type dep and fix yarn warnings
Because:

* We want to keep with the latest versions of our dependencies.

This commit:

* Bumps mapped-type to the latest version, and consolidates several
  dependencies in the root package.json.
2023-09-06 18:25:45 -07:00
Dan Schomburg d29151935c
Merge pull request #15698 from mozilla/nx/ci-build-cache
task(CI): Improve nx caching for CI pipelines
2023-08-29 17:22:00 -04:00
dschom d96797ae6a
task(CI): Improve nx caching for CI pipelines
Because:
- Not all CI operations where taking advantage of NX caches

This Commit:
- Adjusts nx.json config to ensure correct caching behavior
- Adjusts nx.json config to ensure proper target chains. ie build is dependent on pre-build
- Uses nx to directly run integration tests
- Uses nx to directly run unit tests
- Phases out dependency on generated .list files
- Ensures 'start up' for services for functional tests is done with nx and uses nx caches.
- Creates nx tags to facilitate test commands
- Fixes linter errors encountered
- Updates docker images to nx for builds
- Updates nx ignore files
2023-08-29 11:19:54 -07:00
Ben Bangert ae0230f7bb
refactor: use typed config for paypal client
Because:

* The paypal client config is a basic interface, and we'd like to be
  able to use Nest-Typed-Config with a structured config file.

This commit:

* Adds a typed config class for the paypal client.
2023-08-28 15:56:33 -07:00
Ben Bangert 54f0c2e7a2
chore: update to TS to 5.2.2 and Node to 18.17.1
Because:

* We want to use the latest typescript features.

This commit:

* Updates to TypeScript 5.2.2.
* Updates to Node 18.17.1 as OOM would occur frequently with 18.14.
* Updates CI to use a large instance with increased memory for Node.
2023-08-28 14:47:29 -07:00
Julian Poyourow 5b6060df51
chore(libs): add injectable to all library classes, centralize nest
Because:

* We want to easily be able to consume library classes within NestJS.
Adding the injectable decorator to all library classes means we can do
so with ease, but also doesn't prevent us from using the class outside
of the NestJS DI system.
* We want all dependencies (such as nest) centralized to the main
package.json

This commit:

* Adds the injectable decorator to every library class.
* Centralizes the NestJS dependency to the root package.json.

Closes: no relevant issue - polish PR.
2023-08-28 11:54:12 -07:00
Ben Bangert 0be6fd95c5
feat: add account manager class
Because:

* We want to have a single place to manage account related operations in
  the database layer.

This commit:

* Adds a new AccountManager class and account package.

Closes #FXA-6623
2023-08-18 09:06:28 -07:00
Julian Poyourow d65c9f9cc7
feat(shared): contentful client
Because
- We need a reusable client for accessing contentful

This Commit
- Adds a contentful client with automated codegen
- Creates a reusable query system

Closes FXA-7501
2023-08-16 16:27:12 +00:00
Reino Muhl 9c1afee646
feat(carts): refactor cart manager to match layers
Because:
- Refactor the Cart Manager to serve as higher level logic for the
  cart db model.

This commit:
- Removes service level logic.
- Adds common methods to be used by Cart Manager consumers.
- Adds checks for valid state by action and valid state transitions.
- Reverts playwright tests back to xlarge instance size

Closes FXA-8128
2023-08-15 18:03:36 -04:00