Repository navigation
chore: update dependencies to their latest compatible versions - #1630
Merged
Merged
Conversation
Move every dependency outside vendor/ to the newest release, aged past minimumReleaseAge, whose breaking changes need no code change here. React stays on 19.1 because the react19 catalog feeds vendor/. Held at the last compatible release: - storybook 10.5.6: 10.5.7+ loses the contextual type of decorator args in stories - @faker-js/faker ~10.2.0: 10.3 adds 'generic' to sexType(), which the subject sex enum rejects - happy-dom ~20.11.15: 20.12's Element.animate leaves cancelled animations' finished promise rejected and unhandled, which motion 13 triggers in tests - vite 7, es-module-lexer 2, monaco-editor 0.54, react-resizable-panels 3, lucide-react 0.577, js-yaml 4, recharts 2, @cap.js/server 2, @casl/* 6/1, astro 5, starlight 0.34, typedoc 0.27 Blocked by the peer ranges of @douglasneuroinformatics/* packages: NestJS 12, Prisma 7, vitest 5, ESLint 10, TypeScript 7, reflect-metadata 0.2, prettier-plugin-astro 1. Alongside the version bumps: - replace the framer-motion override with fastify@5, since @nestjs/platform-fastify pins fastify 5.11.3 and would otherwise keep the server off the 5.12 security fixes - drop @types/nodemailer, now that nodemailer 10 ships its own types - raise react-core's optional router peer floor so one router version is installed - move the Dockerfile turbo pins to 2.11.5, and keep the agent guidance turbo writes to AGENTS.md - remove the no-var disable directives ESLint 9.39 reports as unused Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reformat with prettier 3.9 and prettier-plugin-tailwindcss 0.8. The plugin now sorts classes in Tailwind v4 order, where 0.6 fell back to v3 order, and single-quotes @source paths in CSS. Prettier 3.9 collapses short union types and empty-object comments onto one line. Regenerate route-tree.ts with @tanstack/router-plugin 1.168, whose generator now orders routes deterministically. The change only moves lines; no route is added, removed or altered. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves every dependency outside
vendor/to its newest release that clears the 7-dayminimumReleaseAgeand whose breaking changes need no code change here. React stays on 19.1, because thereact19catalog feedsvendor/.Changes
chorecommit@nestjs/jwt,passportandaxios1210.5.6, faker~10.2.0, happy-dom~20.11.15.framer-motionoverride is replaced byfastify@5: ^5.12.5.@nestjs/platform-fastify11.2.6 pins fastify to exactly 5.11.3, and without the override the server would miss the 5.12 security fixes.@types/nodemaileris dropped, because nodemailer 10 ships its own types.react-core's optional router peer floor is raised, so only one router version is installed.turbopins move to 2.11.5, and the agent-guidance block turbo writes toAGENTS.mdis kept.stylecommitroute-tree.tsregenerated by the new router plugin (lines move, no route changes).Not upgraded
Each of these has an issue with the exact reason and what is required:
@douglasneuroinformatics/*peer ranges: Upgrade the API to NestJS 12 (blocked on libnest) #1624 (NestJS 12), Upgrade to Prisma 7 (blocked on libnest, esbuild-plugin-prisma and MongoDB support) #1625 (Prisma 7), Upgrade to Vitest 5 (blocked on libnest) #1626 (Vitest 5), Upgrade to ESLint 10 (blocked on eslint-config) #1627 (ESLint 10), Upgrade to TypeScript 7 (blocked on eslint-config and tsconfig) #1628 (TypeScript 7), Upgrade prettier-plugin-astro to 1.x (blocked on prettier-config) #1629 (prettier-plugin-astro).Verification
pnpm lint: 34/34 tasks pass.pnpm test: 179 files and 1,661 tests pass, with no unhandled errors.pnpm build: 13/13 tasks pass. It was run withRELEASE_VERSIONset, because the api's production build requires it.pnpm test:e2e: 276 of 277 pass.Exceptions:
record-file-deletion.spec.tsfails locally. The local.envhas noSTORAGE_ENABLED, so the api returns 503 before reaching S3. This is unrelated to the upgrade.knip, which cannot run in this checkoutCo-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com