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

106 Коммитов

Автор SHA1 Сообщение Дата
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
Danny Coates 10c230f041
fix(react): use package.json export
fixes #5577

Using the newish "exports" property of package.json allows
us to keep the source ts separate from the compiled js
and still use require('fxa-react/components/..'). No more
clean required to run jest tests.
2020-07-02 15:48:45 -07:00
Danny Coates 27cd24c63d
chore(deps): update deps 2020-06-29 10:18:16 -07:00
Danny Coates 3fa9529194
chore(deps): updated dependencies
chore(deps): updated aws-sdk

chore(deps): remove raven and update @sentry/*

chore(deps): updated mysql deps

chore(deps): updated eslint-plugin-fxa

chore(deps): updated bluebird

chore(deps): updated request

chore(deps): use jest 24.9.0 (same as react-scripts)

chore(deps): update convict

chore(deps): update morgan

chore(deps): update eslint-plugin-jest

chore(deps): update babel-eslint

chore(deps): removed nodemon

chore(deps): update @types/convict

chore(deps): set @types/jest to match jest version

chore(deps): set @babel/core to ^7.9.0

chore(deps): set @babel/preset-env to 7.9.0

chore(deps): update hapi
2020-06-22 17:11:50 -07:00
Danny Coates 99385e89a5
fix(auth): fixed test-local.sh in fxa-auth-server
with hoisted eslint dependency `npm run lint` can't find
eslint on the path. We've got linting globally as a precommit
hook, it doesn't need to run on tests.
2020-06-01 14:10:43 -07:00
Danny Coates e6f60d2880
feat(dev): added post-checkout/merge git hooks to keep deps in sync
It's easy to not notice when to run a `yarn install` either
when switching branches or doing a git pull. This adds a
hook to diff your previous yarn.lock with the one your changing
to, and if there's changes running 'yarn install' for you.
2020-05-26 16:13:14 -07:00
Danny Coates fec460f6db
chore(deps): update some dependencies 2020-05-26 14:08:34 -07:00
Danny Coates cc595fc2b4
chore(format): mass reformat with prettier 2 and single config 2020-05-24 10:51:57 -07:00
Jody Heavener 9e1104c05e
refactor(lint-staged): replace sass-lint with stylelint
remove sass-lint from all packages
2020-05-21 21:25:48 -04:00
Danny Coates 81575019a9
refactor(packages): use workspace references 2020-05-21 10:57:21 -07:00
Vijay Budhram 0a86806a3a
feat(qr): Add CAD via QR code UX 2020-05-11 17:59:32 -04:00
johngruen 2dcf49e8d1
chore(subscriptions): make fortress an upgradable sub 2020-05-07 17:59:44 -05:00
Jody Heavener 7ee5f5fae7
feat(settings): set up some foundational configs and components 2020-04-30 12:06:46 -04:00
Danny Coates d4da8a3606
feat(docker): created fxa-builder docker image
This adds a base node image and builder image so
that all our service images can share the same
common base, be smaller, and require less customization.
2020-04-22 16:27:22 -07:00
Jackie Munroe a0d64226f4
feat(payments): localization updates
- updated fluent packages to the latest
- implemented localizable currency
- implemented localizable dates

fixes #4668

- fixed errors that resulted from rebase onto Mobile Updates

- fixed bug that would cause the subscriptionToResponse to provide an invoice ID instead of an invoice Number

- removed reference to plan name and replaced with product name

- changed variables to regular stringsOC

- added stricter typing to plan interval
2020-04-16 13:34:10 -04:00
Danny Coates 3a054dfc3f
refactor(pm2): restructure our pm2 configs
why: several reasons...

- to have a unified approach and pattern for:
  - debugging
  - fs watching for local dev
  - running services in dev
  - configuring services in dev

- to improve the initial clone and subsequent `npm ci` experience
- to make future work on tooling easier
2020-04-14 14:38:38 -07:00
Danny Coates a4b3996349
refactor(npm-scripts): refactored npm scripts for better ergonomics
1. renamed _scripts/*.sh to use kebab-case
2. linted _scripts with shellcheck
3. added _dev directory and moved pm2 json files there
4. added nps and package-scripts.js
  - this allows us to do nice things like: `npm start debug firefox`
  - I'd like to expand this further but it's a start
5. refactored the install scripts to make `npm install` nicer
6. renamed pm2 process names for easier control
  - can use `pm2 logs auth` instead of the id
2020-04-13 16:17:36 -07:00
Jody Heavener 35af352758
chore(audit): only audit once per day 2020-04-13 15:45:34 -04:00
Danny Coates 37a42e721f
chore(tests): made root level "npm test" more functional 2020-04-08 15:58:16 -07:00
Danny Coates 7f60ef5769
chore(deps): update top-level dependencies
start-android is no longer needed so it was removed
along with its dependencies and replaced by adb-reverse

I removed `adr-log` in favor of running `npx adr-log` to
make `npm ci` smaller.

`concurrently` is no longer used.

The remainder were updated to their latest versions.
2020-03-12 14:01:59 -07:00
Ben Bangert d5fa1d9968
Merge pull request #4399 from mozilla/auth-server-build-fix
fix(auth-server): update default node version for hapi upgrade
2020-03-10 08:14:33 -07:00
Barry Chen f88ac80984
fix(tests): fix customs server test runner script and tests
This patch fixes two things in Customs tests:
 - it updates test-local.sh so that it no longer exits with status 0 all
 the time; now it exits with the status returned by `tap`
 - it fixes all the failing tests that have gone unnoticed due the bug
 mentioned above
2020-03-10 09:11:22 -05:00
Dave Justice 0f2d540716
fix(monorepo): update default node version across packages 2020-03-06 22:54:44 +00:00
Jody Heavener d01b175c44
chore(services): check for and warn about ports in use that the servers require 2020-03-04 17:42:19 -05:00
Renovate Bot 4d998fce34
chore(deps): update dependency concurrently to v5.1.0 2020-02-06 17:37:35 -05:00
Danny Coates f44a50f6b9
refactor(key_server): cleanup key_server.js
- removed obsolete code
- reordered requires to be closer to use
- removed remaining `then`s
2020-01-14 12:41:31 -08:00
Danny Coates ae3bd5a0ff
feat(totp): Require recovery code confirmation before enabling TOTP 2020-01-02 12:50:34 -08:00
Dave Justice 162a8ca8bb
fix(profile-server): fix graphicsmagick dep in dockerfile
- fixes #3754
2019-12-27 17:05:05 +00:00