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

278 Коммитов

Автор SHA1 Сообщение Дата
Vijay Budhram a93d374b8a
Merge pull request #16355 from mozilla/dependabot/npm_and_yarn/nx/node-18.0.2
chore(deps-dev): bump @nx/node from 17.3.1 to 18.0.2
2024-02-07 09:43:32 -05:00
dependabot[bot] e6e6a803c3
chore(deps-dev): bump @nx/node from 17.3.1 to 18.0.2
Bumps [@nx/node](https://github.com/nrwl/nx/tree/HEAD/packages/node) from 17.3.1 to 18.0.2.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.0.2/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-07 06:16:47 +00:00
dependabot[bot] 8cdf0ddc5d
chore(deps): bump mysql2 from 3.6.0 to 3.9.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.6.0 to 3.9.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.6.0...v3.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 06:15:47 +00:00
Barry Chen 5c768034d3
Merge pull request #16342 from mozilla/dependabot/npm_and_yarn/opentelemetry/instrumentation-document-load-0.35.0
chore(deps): bump @opentelemetry/instrumentation-document-load from 0.34.0 to 0.35.0
2024-02-06 10:11:37 -06:00
Barry Chen b1031a5836
Merge pull request #16323 from mozilla/dependabot/npm_and_yarn/babel/preset-react-7.23.3
chore(deps): bump @babel/preset-react from 7.22.5 to 7.23.3
2024-02-06 09:34:06 -06:00
Vijay Budhram d8a542a37e
Merge pull request #16341 from mozilla/dependabot/npm_and_yarn/testing-library/react-14.2.1
chore(deps-dev): bump @testing-library/react from 14.1.2 to 14.2.1
2024-02-06 09:23:28 -05:00
dependabot[bot] 046529349e
chore(deps): bump tailwindcss from 3.3.2 to 3.4.1
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.2 to 3.4.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.2...v3.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 06:39:10 +00:00
dependabot[bot] 4ee5fa7b0b
chore(deps): bump @opentelemetry/instrumentation-document-load
Bumps [@opentelemetry/instrumentation-document-load](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/host-metrics-v0.34.0...host-metrics-v0.35.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/instrumentation-document-load"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 06:38:19 +00:00
dependabot[bot] 3b69c5c38c
chore(deps-dev): bump @testing-library/react from 14.1.2 to 14.2.1
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.1.2 to 14.2.1.
- [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.1.2...v14.2.1)

---
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>
2024-02-06 06:37:28 +00:00
dependabot[bot] 2abe157fb3
chore(deps): bump @babel/preset-react from 7.22.5 to 7.23.3
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.22.5 to 7.23.3.
- [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.3/packages/babel-preset-react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 14:38:43 +00:00
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