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

133 Коммитов

Автор SHA1 Сообщение Дата
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
Danny Coates badc0a8152
chore(deps): updated json 2021-05-24 11:44:40 -07:00
Danny Coates 2e9ff2e14d
chore(deps): update typescript to v4 2021-05-06 14:44:40 -07:00
Vijay Budhram 707d542131
Merge pull request #8476 from mozilla/heroku, r=@dannycoates
Update 123Done and add support for heroku
2021-05-05 11:09:45 -04:00
Vijay Budhram 3416b9a791
feat(heroku): adds support for heroku and 123done 2021-05-04 16:47:46 -04:00
Danny Coates 0847e25457
chore(deps): updated pm2 2021-05-03 11:12:40 -07:00
Vijay Budhram c3a9fc3275
fix(tests): Make fxa-settings and fxa-content-server tests dependent on each 2021-04-12 16:36:04 -04:00
Danny Coates 7cf502be2f
chore(deps): update eslint to v7 2021-01-08 11:45:40 -08:00
Danny Coates 15d97daa3c
chore(deps): fixed low severity vuln in node-fetch 2021-01-05 14:01:41 -08:00
Danny Coates 594c39ac15
chore(deps): update minimum node version to 14.15.1 2020-11-17 11:05:41 -08:00
Danny Coates 6c2b253c11
chore(deps): update node version to 14 2020-10-27 10:21:05 -07:00
Dave Justice a8cc232b9a
task(monorepo): move deps to correct sub-packages
this is fixing a goof from 05a00a0aee
- fixes #6433
2020-09-17 18:33:06 +00:00
Ben Bangert a9cf3836bb
feat(fxa-shared): refactor nestjs shared modules
Because:

* We want to re-use NestJS modules in multiple packages.

This commit:

* Refactors common NestJS modules from event-broker into fxa-shred
  for use by other packages.

Closes #6345
2020-09-15 08:07:43 -07:00
Dave Justice 047c96ea58
task(monorepo): update deps 9/9
- temp 0.9.0 => 0.9.1
- @types/helmet 0.0.45 => 0.0.48
- serve-static 1.13.1 => 1.14.1 in fxa-content-server
- extract-loader 2.0.1 => 5.1.0 in fxa-content-server

closes #6387 #6388 #6389 #6390
2020-09-09 14:59:38 +00:00
Dave Justice 05a00a0aee
task(monorepo): update deps 9/8
- sass 1.26.5 => 1.26.10
- @hapi/inert 6.0.1 => 6.0.2
- consolidate 0.14.5 => 0.15.1
- on-headers 1.0.1 => 1.0.2
- bl 1.1.2 => 4.0.3

closes #6324 #6323 #6325 #6326
2020-09-08 16:22:42 +00:00
Dave Justice b7d726cbfa
task(fxa): bump deps from open dependabot prs 2020-08-26 06:52:21 +00:00
Danny Coates da2e99729c
chore(deps): update yarn version and root level deps 2020-08-21 17:06:03 -07:00
Ben Bangert 245568d56c
chore: update typescript
Because:

* Using the latest everywhere helps with consistency and smaller build
  size.

This commit:

* Updates for TypeScript 3.9.7 everywhere in FxA.
2020-08-15 11:15:44 -07:00
Les Orchard dc77f5c3b8
fix(payments): add fxa-shared and fxa-react as CI dependencies for fxa-payments-server 2020-07-29 12:49:44 -04:00
Danny Coates 7358a3cae5
feat(auth-client): replace fxa-js-client with fxa-auth-client
- We have two clients for the auth-server API, one in `content-server/app/scripts/lib/auth` and `fxa-js-client`. The content-server one was meant to replace fxa-js-client but I didn't finish the work to get it running on nodejs.

- Extracts the content-server implementation into `fxa-auth-client`
- Wraps the implementation with shims to work with nodejs in `server.ts`
- Updates references to fxa-js-client to use fxa-auth-client
- Removes fxa-js-client
2020-07-21 09:08:35 -07:00