Skip to content

chore: update nx to 21#18946

Merged
julianpoy merged 1 commit intomainfrom
FXA-10981
Jun 3, 2025
Merged

chore: update nx to 21#18946
julianpoy merged 1 commit intomainfrom
FXA-10981

Conversation

@julianpoy
Copy link
Member

@julianpoy julianpoy commented Jun 2, 2025

Because:

  • Nx is on 19 currently and we want to support the new Nx caching
    features

This commit:

  • Updates Nx from 19 to 21
  • Bumps eslint to 8 across all packages and disables some rules that we
    do not respect
  • Some resources needed to be bumped since many of the build steps have been cached, but when run without cache they consume more RAM than available
  • Several version numbers have been consolidated across packages, but not necessarily upgraded outside of Nx itself.

Closes FXA-10981

@julianpoy julianpoy force-pushed the FXA-10981 branch 4 times, most recently from e233298 to 144b2a0 Compare June 3, 2025 20:05
@julianpoy julianpoy marked this pull request as ready for review June 3, 2025 20:06
@julianpoy julianpoy requested a review from a team as a code owner June 3, 2025 20:06
Copy link
Member

@toufali toufali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! I've been eyeing Koa vulnerabilities that I hope will be resolved by this PR.

Only thing I noticed was the typescript bump, which I think doesn't actually do anything? See comment.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some packages/**/package.json that also have nx as a devDependency. Could these also be updated please?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated! Though we really should not have in subpackages...

@julianpoy julianpoy force-pushed the FXA-10981 branch 2 times, most recently from e49aad1 to 963ac4f Compare June 3, 2025 21:18
@julianpoy julianpoy force-pushed the FXA-10981 branch 2 times, most recently from f3a31e0 to 9ac2fe9 Compare June 3, 2025 22:06
Because:

- Nx is on 19 currently and we want to support the new Nx caching
  features

This commit:

- Updates Nx from 19 to 21
- Bumps eslint to 8 across all packages and disables some rules that we
  do not respect
- Some resources needed to be bumped since many of the build steps have been cached, but when run without cache they consume more RAM than available
- Several version numbers have been consolidated across packages, but not necessarily upgraded outside of Nx itself.

Closes FXA-10981
@julianpoy julianpoy merged commit f4f8654 into main Jun 3, 2025
19 checks passed
@julianpoy julianpoy deleted the FXA-10981 branch June 3, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants