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

152 Коммитов

Автор SHA1 Сообщение Дата
Barry Chen cf5bc69d5c
chore(deps): resolve moment to a patched version
Because:
 - older versions of moment are causing security alerts

This commit:
 - resolve moment 2.x to a >= a patched version
2022-11-10 15:44:15 -06:00
Julian Poyourow 872626e663
Merge pull request #14391 from mozilla/FXA-6136
chore(auth-server): enable typescript-eslint
2022-11-04 13:32:25 -07:00
Julian Poyourow 76ef507b26
chore(auth-server): enable typescript-eslint
Because:

* We aren't currently linting TS files in auth-server

This commit:

* Enables and fixes linting issues in auth-server

Closes FXA-6136
2022-11-04 10:43:26 -07:00
Barry Chen 72cbb56d12
Merge pull request #14349 from mozilla/dependabot/npm_and_yarn/replace-in-file-6.3.5
chore(deps): bump replace-in-file from 6.1.0 to 6.3.5
2022-10-28 12:52:43 -05:00
dependabot[bot] 608a3edd35
chore(deps): bump eslint-plugin-jest from 24.5.2 to 27.1.3
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.5.2 to 27.1.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](https://github.com/jest-community/eslint-plugin-jest/compare/v24.5.2...v27.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28 06:37:48 +00:00
dependabot[bot] 1ebffd7e48
chore(deps): bump replace-in-file from 6.1.0 to 6.3.5
Bumps [replace-in-file](https://github.com/adamreisnz/replace-in-file) from 6.1.0 to 6.3.5.
- [Release notes](https://github.com/adamreisnz/replace-in-file/releases)
- [Changelog](https://github.com/adamreisnz/replace-in-file/blob/main/CHANGELOG.md)
- [Commits](https://github.com/adamreisnz/replace-in-file/compare/v6.1.0...v6.3.5)

---
updated-dependencies:
- dependency-name: replace-in-file
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 15:46:30 +00:00
Vijay Budhram 6941fd4d64
Merge pull request #14341 from mozilla/dependabot/npm_and_yarn/stylelint-config-recommended-scss-8.0.0
chore(deps-dev): bump stylelint-config-recommended-scss from 7.0.0 to 8.0.0
2022-10-27 11:30:45 -04:00
dependabot[bot] 601231d67b
chore(deps): bump pm2 from 5.1.2 to 5.2.2
Bumps [pm2](https://github.com/Unitech/pm2) from 5.1.2 to 5.2.2.
- [Release notes](https://github.com/Unitech/pm2/releases)
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Unitech/pm2/compare/5.1.2...5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 16:10:38 +00:00
dependabot[bot] 5a2870d716
chore(deps-dev): bump stylelint-config-recommended-scss
Bumps [stylelint-config-recommended-scss](https://github.com/stylelint-scss/stylelint-config-recommended-scss) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-config-recommended-scss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-config-recommended-scss/compare/v7.0.0...v8.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-recommended-scss
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 14:30:05 +00:00
dependabot[bot] 1941c2717d
chore(deps-dev): bump stylelint from 14.13.0 to 14.14.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.13.0 to 14.14.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.13.0...14.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 06:23:38 +00:00
dependabot[bot] 7813e96e22
chore(deps-dev): bump stylelint-config-recommended-scss
Bumps [stylelint-config-recommended-scss](https://github.com/stylelint-scss/stylelint-config-recommended-scss) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-config-recommended-scss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-config-recommended-scss/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-recommended-scss
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 17:34:54 +00:00
dependabot[bot] 2c5219014e
chore(deps-dev): bump eslint-plugin-react from 7.26.1 to 7.31.10
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.26.1 to 7.31.10.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.26.1...v7.31.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 06:17:22 +00:00
dependabot[bot] 25d21468ef
chore(deps): bump lint-staged from 10.2.11 to 13.0.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.11 to 13.0.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.11...v13.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 14:12:23 +00:00
dependabot[bot] cc2621d804
chore(deps-dev): bump stylelint from 14.9.1 to 14.13.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.9.1 to 14.13.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.9.1...14.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:14:00 +00:00
dependabot[bot] 98f1a3dda6
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.3
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.3.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 06:23:29 +00:00
Vijay Budhram df857c569d
feat(emails): Send `New Device Login` email on all new logins 2022-09-08 12:26:46 -04:00
dschom f14a2dc923
task(auth): Enable open telemetry on auth server
Because:
- We want to be able to see trace information
- We want to be able to export trace information to google cloud

This Commit:
- Adds utility class to fxa-shared for configuring and initializing open telemetry
- Initializes open telemetry in the auth server
- Forces resolution of google-gax.
- Forces resolution of @grpc/grpc-js.
- Adds the jaeger docker container for viewing traces locally. This is accessible on localhost:16686.

Note, adding @google-cloud/opentelemetry-cloud-trace-exporter resulted
in a version conflicts for google-gax and @grpc/grpc-js, which caused
runtime failures when interacting with @google-cloud/firestore. After
many experiments, this seems to do the trick.
2022-09-02 17:54:41 -07:00
Vijay Budhram 8d8718b207
feat(pair): test 2022-08-30 15:33:52 -04:00
Peter deHaan e6f74e0936
fix(lint): Add more stylelint rules 2022-06-17 13:19:38 -07:00
Bianca Danforth ddba42afd4
chore(all): run TS compiler as part of test-many job
Because:

* We should be informed about TS errors before a patch merges into main.

This commit:

* Adds a new script to run as the first task in the test-many job that compiles any modified back-end Typescript packages and any packages that depend on them.

Closes #12823

Co-authored-by: Barry Chen <bchen@mozilla.com>
2022-06-15 08:11:16 -04:00
Ben Bangert 81afc1a7db
Revert "chore(deps): Upgrade lodash" 2022-05-25 17:36:45 -07:00
Lauren Zugai 6319e4346d
chore(deps): Upgrade lodash
Because:
* Lodash needs an update

This commit:
* Updates lodash via resolutions
2022-05-23 16:22:44 -05:00
Barry Chen 05fe82a890
chore(yarn): fix yarn ports
Because:
 - `yarn ports` was not working

This commit:
 - get `yarn ports` working
2022-04-21 08:47:21 -05:00
Barry Chen f4414856a2
Revert "Merge pull request #12403 from mozilla/fxa-4698-paypal-lock"
This reverts commit 0fd7eccf94, reversing
changes made to 599c83212a.
2022-04-19 10:52:21 -05:00
Wil Clouser 10ca4d46b6
chore(deps): Revert lodash upgrade 2022-04-12 08:52:26 -07:00
Wil Clouser 5b7ddbb0f2
chore(deps): force upgrade url-parse 2022-04-12 07:56:46 -07:00
Wil Clouser 938bc16e3c
chore(deps): force upgrade lodash 2022-04-12 07:35:42 -07:00
Wil Clouser 25cc0872ef
chore(deps): force upgrade minimist 2022-04-11 15:37:28 -07:00
Barry Chen 8efb6aec89
feat(scripts): use redlock to prevent >1 instance of paypal-processor
Because:
 - we could easily end up running two instances of the paypal-processor
   during a deploy

This commit:
 - use a redis based distributed lock to ensure only one
   paypal-processor can run per env
 - add script options to control the lock name and duration, as well as
   completely bypassing the lock
2022-04-07 16:57:21 -05:00
Vijay Budhram 829025b129
fix(metrics): Attempt to fix login complete events for mobile (#12090)
* fix(metrics): Attempt to fix login complete for mobile

* chore(deps): updated yarn.lock

Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
2022-03-10 09:41:08 -05:00
Vijay Budhram c1f0a3682a
chore(deps): switch from git to https for deps (#11587)
* chore(deps): switch from git to https for deps

See https://github.blog/2021-09-01-improving-git-protocol-security-github/

* fix(git): Use `https://` instead of `git://` for packages

Co-authored-by: Barry Chen <bchen@mozilla.com>
2022-01-11 12:21:56 -05:00
Danny Coates 5bfb78b0ab
chore(deps): update yarn to 3.1.1 2021-12-22 15:35:47 -08:00
Danny Coates a62532cc50
chore(ci): slow down pm2 startup (#11084)
* feat(cli): add 'yarn delete services' command

sometimes you may want to leave all your DBs running but completely start over with fresh services. The pm2 restart command doesn't fully reset the environment and sometimes that's what you want. Delete lets us remove the service from pm2 so we can start it fresh.

* chore(ci): slow down pm2 startup

I've noticed ci failures where the services don't even get started up completely happening more frequently. During the brief time that circleci showed resource graphs the pm2 startup pegged both cpu and memory. If we wait for the services that have a lot of building at startup to finish before starting the next service maybe we'll have better stability.

* chore(tests): remove support-panel from functional test startup
2021-11-19 11:52:33 -08:00
Danny Coates 60ca05cb81
chore(deps): update typescript to 4.5.2
* refactor(ts): use builtin Awaited type

* maybe make tests more stable
2021-11-18 23:25:28 -08:00
Danny Coates c72a1a0032
chore(deps): Update yarn to 3.1.0 and dedupe deps. fix resolve conflicts (#11072)
chore(deps): updated yarn to 3.1.0

chore(deps): need to be explicit about postcss deps now, apparently

chore(deps): update yarn relock to skip adding checksums for conditional deps

This matches the default behavior of yarn 3.1

danny hates storybook

update yarn workspace plugin
2021-11-18 17:58:42 -08:00
Danny Coates fbd4a4bed9
chore(ci): update modules-to-test.js to use the workspace:* dependencies to make it easier to keep up to date 2021-11-16 16:46:14 -08:00
Danny Coates 17e06a38d2
chore(node): upgrade to node 16 (#10799) 2021-10-22 16:10:22 -07:00
Danny Coates a95f1270af
refactor(build): use esbuild instead of ts-node (#10639) 2021-10-07 09:57:36 -07:00
Danny Coates f57031d152
chore(deps): updated dependencies (#10638) 2021-10-06 15:38:39 -07:00
Bianca Danforth e476c550c5
docs(db): update root README on how to connect to local FxA MySQL DBs (#10603)
Because:

* We should document the basic process for new contributors.

This commit:

* Adds a new "Connecting to a local MySQL DB" section to the root project README.

Closes #No issue
2021-10-05 19:16:28 -04:00
Danny Coates 89e549a742
chore(deps): update pm2; dedupe (#10557) 2021-09-29 14:01:10 -07:00
Vijay Budhram bbc0a12814
chore(tests): add fxa-graphql-api as test dep for fxa-settings 2021-08-03 11:19:23 -04:00
Danny Coates b8a6bd51c6
chore(deps): updated yarn to 3.0 and typescript to 4.3.5 2021-07-28 10:41:27 -07:00
Danny Coates 694ff5f6af
chore(deps): update deps and start ignoring @types/* in dependabot 2021-06-23 08:11:07 -07:00
Danny Coates 5d7653fa60
chore(deps): update pm2 / dedupe 2021-06-14 10:12:10 -07:00
Danny Coates fa895572ce
chore(deps): updated some deps 2021-06-08 14:03:22 -07:00
Danny Coates 34704ba146
chore(deps): updated pm2 2021-06-08 13:54:51 -07:00
Danny Coates 0c65675bfd
chore(admin): remove unnecessary columns from admin panel queries 2021-06-03 15:07:04 -07:00
Danny Coates 6fce48032b
chore(deps): update some deps 2021-05-24 14:42:33 -07:00
Danny Coates 952e4f3885
chore(deps): added "yarn outdated" plugin + updated some deps 2021-05-24 12:44:48 -07:00