Skip to content

Upgrade TypeScript v6 and bump dependencies across monorepo#557

Merged
SvenVw merged 4 commits into
developmentfrom
chore/20260407
Apr 7, 2026
Merged

Upgrade TypeScript v6 and bump dependencies across monorepo#557
SvenVw merged 4 commits into
developmentfrom
chore/20260407

Conversation

@SvenVw
Copy link
Copy Markdown
Collaborator

@SvenVw SvenVw commented Apr 7, 2026

Summary by CodeRabbit

  • Chores
    • Upgraded TypeScript to v6 across the workspace.
    • Bumped a range of third‑party dependencies (PostHog, MapLibre GL, postgres, React PDF renderer, proj4, vite, and others) for compatibility and maintenance.
    • Improved TypeScript/build configurations for more consistent type resolution and build input handling.
    • Minor dependency pins and development-tool updates across packages; no runtime behavior changes.

@SvenVw SvenVw self-assigned this Apr 7, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 7, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 2c028732-a813-4b88-be3d-5872c78ddd2e

📥 Commits

Reviewing files that changed from the base of the PR and between 540fcc2 and f403695.

📒 Files selected for processing (6)
  • fdm-agents/tsconfig.build.json
  • fdm-agents/tsconfig.json
  • fdm-calculator/tsconfig.build.json
  • fdm-core/tsconfig.build.json
  • fdm-data/tsconfig.build.json
  • fdm-rvo/tsconfig.build.json
✅ Files skipped from review due to trivial changes (4)
  • fdm-agents/tsconfig.build.json
  • fdm-core/tsconfig.build.json
  • fdm-calculator/tsconfig.build.json
  • fdm-rvo/tsconfig.build.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • fdm-agents/tsconfig.json

📝 Walkthrough

Walkthrough

This PR updates TypeScript to v6 via a changeset, bumps multiple package dependencies across the monorepo, and adjusts package- and build-level tsconfig files (notably for fdm-agents and shared tsconfig) to align with the new TypeScript/version pins.

Changes

Cohort / File(s) Summary
Changeset
.changeset/fresh-actors-find.md
Adds a changeset entry indicating patch bumps and “Bump to TypeScript V6”.
Workspace pins
pnpm-workspace.yaml
Updated catalog version pins including typescript^6.0.2, @dotenvx/dotenvx, @types/node, better-auth, typedoc-plugin-missing-exports.
TypeScript shared config
tsconfig.packages.json
Added compilerOptions.types: ["node"] to include Node types for package builds.
fdm-agents tsconfigs
fdm-agents/tsconfig.json, fdm-agents/tsconfig.build.json
Switched to noEmit: true in package tsconfig, adjusted extends/paths/includes; build tsconfig now sets noEmit:false, rootDir, outDir, clears paths, and adds explicit include.
Other package build tsconfigs
fdm-core/tsconfig.build.json, fdm-calculator/tsconfig.build.json, fdm-data/tsconfig.build.json, fdm-rvo/tsconfig.build.json
Added explicit include: ["src/**/*"] to constrain build inputs.
Package dependency bumps
fdm-agents/package.json, fdm-app/package.json, fdm-core/package.json, fdm-calculator/package.json, package.json
Bumped various deps: posthog-node, posthog-js, postgres, @react-pdf/renderer, maplibre-gl, proj4, vite, @electric-sql/pglite, validator; added zod to fdm-core; bumped turbo devDependency.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • #535: Coordinated monorepo chore updates to changesets and package manifests across the same packages.
  • #543: Overlapping dependency bumps affecting posthog-node, @electric-sql/pglite, and turbo across shared packages.
  • #399: Modifies fdm-app/package.json dependency versions including PostHog and maplibre packages.

Suggested labels

fdm-app, fdm-core, fdm-data, fdm-calculator, dependencies, branch:development

Poem

🐰 TypeScript hops to v6 with cheer,
Packages update, the pins draw near,
Configs nudge paths and includes align,
Builds stay tidy, dependencies shine,
A small rabbit dance to mark the gear.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title Check ✅ Passed Title check skipped as CodeRabbit has written the PR title.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/20260407

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot changed the title @coderabbitai Upgrade TypeScript v6 and bump dependencies across monorepo Apr 7, 2026
@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@fdm-agents/tsconfig.build.json`:
- Around line 3-13: Add an explicit top-level "include": ["src/**/*"] to the
tsconfig.build.json so the build no longer inherits the base tsconfig's include
patterns (which currently could pull in files like drizzle.config.ts outside
rootDir); keep the existing "compilerOptions" (rootDir/outDir/noEmit) and
"exclude" intact so only files under src are compiled during the build.

In `@pnpm-workspace.yaml`:
- Line 26: This change bumps the workspace TypeScript specifier from ^5.9.3 to
^6.0.2; before merging, update the workspace devDependency entry for
"typescript" to ^6.0.2, run a full compile and type-check across all packages
(e.g., workspace build/test scripts), address any compiler errors or new
stricter types (fix signatures, lib settings, and any broken `@types`), consult
the TypeScript 6 migration guide for required tsconfig changes, and if
compatibility issues arise either pin affected packages to compatible versions
or revert the workspace version until fixes are applied.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 0ab2dda1-11f8-444d-af96-465fea0d8f67

📥 Commits

Reviewing files that changed from the base of the PR and between 949c0a8 and fa0fc06.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (10)
  • .changeset/fresh-actors-find.md
  • fdm-agents/package.json
  • fdm-agents/tsconfig.build.json
  • fdm-agents/tsconfig.json
  • fdm-app/package.json
  • fdm-calculator/package.json
  • fdm-core/package.json
  • fdm-rvo/tsconfig.json
  • package.json
  • pnpm-workspace.yaml

Comment thread fdm-agents/tsconfig.build.json Outdated
Comment thread pnpm-workspace.yaml
@SvenVw SvenVw merged commit 8fff7cb into development Apr 7, 2026
13 checks passed
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