Skip to content

chore(config): update typescript#1678

Merged
Uarmagan merged 1 commit intomainfrom
chore/update-typescript-latest
Apr 27, 2026
Merged

chore(config): update typescript#1678
Uarmagan merged 1 commit intomainfrom
chore/update-typescript-latest

Conversation

@Uarmagan
Copy link
Copy Markdown
Contributor

Summary

This updates Compass to the latest TypeScript release, 6.0.3, across the root workspace and the package-level TypeScript dev dependencies.

The compiler upgrade exposed a few places where our project configuration and source annotations had fallen behind the runtime shape of the repo. This PR updates the root TypeScript config for the newer compiler, keeps the root no-emit check focused on production/source files, and removes stale TypeScript suppressions that are no longer needed.

What changed

  • Updated TypeScript from 5.1.6 to 6.0.3 in the root package, package manifests, lockfile, resolutions, and overrides.
  • Updated the root TypeScript config to work cleanly with TypeScript 6:
    • acknowledged the current baseUrl deprecation with ignoreDeprecations
    • made runtime/test globals explicit through types
    • moved the root check target/module to ES2022
    • kept the root type-check focused on app/source files while package test runners continue validating test files
  • Removed stale TypeScript suppressions in backend routing and app startup code.
  • Avoided importing a stale SuperTokens root type by deriving the ThirdParty recipe return type directly from ThirdParty.init.

Validation

  • bun run verify passed:
    • backend tests
    • core tests
    • scripts tests
    • web tests
    • type-check
  • bun run lint exited successfully. It still reports the repo's existing warning backlog, but no blocking failure.
  • bun run build:web passed.
  • bun run build:backend --environment staging passed. The build warned that packages/backend/.env.staging was not present locally, but the backend bundle and dependency install completed successfully.

Notes

The documented bun run cli build ... command is currently stale in this checkout; the active build scripts are bun run build:web and bun run build:backend --environment staging. I used those actual scripts for validation.

@Uarmagan Uarmagan merged commit dd5a48b into main Apr 27, 2026
7 of 8 checks passed
@Uarmagan Uarmagan deleted the chore/update-typescript-latest branch April 27, 2026 21:27
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