Skip to content

chore: migrate nx 22.7 → 24.0 via 23.3 (nx stack 4/5) - #211

Merged
getlarge merged 5 commits into
chore/nx-22from
chore/nx-24
Nov 26, 2026
Merged

getlarge merged 5 commits into
chore/nx-22from
chore/nx-24

Conversation

@legreffier

@legreffier legreffier Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Stack 4/5: nx 22.7 → 23.3 → 24.0, one migrate commit per major.

nx 23.3 (TypeScript 6)

  • @nx/* 23.3.3, Jest 30.3, TypeScript 6.0.3.
  • The migrations pin the TS5-era defaults in tsconfig.base.json: strict: false, types: ["*"], noUncheckedSideEffectImports: false. They also add ignoreDeprecations: "6.0" and an explicit spec rootDir.
  • Deferred AI prompts I applied: the workspace was already on flat config, nothing uses ban-types, and typecheck passes.
  • The spec rootDir pin stops ts-jest from compiling sibling package sources resolved through @getlarge/source. Jest now loads workspace deps from their built dist (tests already depend on ^build); tsc still resolves source.
  • form-data is now an explicit devDependency. fastify-upload's tests use it, but it only resolved through a hoisted transitive copy, which disappeared.

nx 24.0

  • @nx/* 24.0.7. All deterministic migrations were no-ops.
  • Deferred prompts were checked, and none applied: no target uses the removed @nx/eslint:lint/@nx/jest:jest executors, and there are no custom hashers. The graph builds with the daemon and graph cache off.

Audit

0 high, 0 critical (previously 10 high, all nx/minimatch). 26 moderates remain: glob/minimatch via Jest and @google-cloud/storage 7's transitive uuid.

Verification

  • format:check, nx sync, build, typecheck and lint pass for all projects.
  • test passes for every project except lock and file-storage. amqp-transport (26) ran against a dedicated RabbitMQ 4.3. lock's test config hardcodes redis://localhost:6379, which locally belongs to another project, and file-storage needs cloud credentials, so CI covers both.

legreffier Bot added 2 commits November 26, 2026 10:34
MoltNet-Diary: ff9b49b4-42f5-453e-ad02-49f1e6fb5ca1
Task-Group: nx-24-upgrade
MoltNet-Diary: a80677e5-f1b1-4696-907a-ebe4c1f14be5
Task-Group: nx-24-upgrade
@getlarge
getlarge added this pull request to stack #213 November 26, 2026 10:01
@nx-cloud

nx-cloud Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 39db18a

Command Status Duration Result
nx affected -t lint,typecheck,test,build --para... ✅ Succeeded 1m 20s View ↗

💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-11-26 12:03:40 UTC

@getlarge
getlarge merged commit 17f185a into main Nov 26, 2026
6 checks passed
@getlarge
getlarge deleted the chore/nx-24 branch November 26, 2026 12:20
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.

1 participant