Skip to content

chore: standardize TypeScript versions across the repo#11587

Merged
cephalization merged 3 commits intomainfrom
chore/upgrade-typescript
Feb 19, 2026
Merged

chore: standardize TypeScript versions across the repo#11587
cephalization merged 3 commits intomainfrom
chore/upgrade-typescript

Conversation

@cephalization
Copy link
Contributor

@cephalization cephalization commented Feb 19, 2026

Note

Medium Risk
Touches build/typecheck scripts and TypeScript versions across the repo, which can cause CI/build breakage or new type errors. Changes are mostly mechanical and tooling-focused with minimal runtime impact.

Overview
Standardizes TypeScript tooling across app/ and js/ by upgrading app to typescript@^5.9.3 and removing per-package/example TypeScript devDependencies in js in favor of the workspace/root version.

Renames typecheck scripts from type:check to typecheck throughout js packages and updates the typescript-packages-CI workflow accordingly, plus extends package-version-check CI to enforce typescript version parity between app/package.json and js/package.json.

Includes small TypeScript-5.9-driven code tweaks: replaces an outdated @ts-ignore with @ts-expect-error in pointcloud code, removes an unnecessary startViewTransition type suppression, and adds runtime string guards for toggle-group selection values.

Written by Cursor Bugbot for commit dea4ac0. This will update automatically on new commits. Configure here.

@cephalization cephalization requested a review from a team as a code owner February 19, 2026 15:01
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Feb 19, 2026
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 19, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 19, 2026

Open in StackBlitz

@arizeai/phoenix-cli

npm i https://pkg.pr.new/Arize-ai/phoenix/@arizeai/phoenix-cli@11587

@arizeai/phoenix-client

npm i https://pkg.pr.new/Arize-ai/phoenix/@arizeai/phoenix-client@11587

@arizeai/phoenix-evals

npm i https://pkg.pr.new/Arize-ai/phoenix/@arizeai/phoenix-evals@11587

@arizeai/phoenix-mcp

npm i https://pkg.pr.new/Arize-ai/phoenix/@arizeai/phoenix-mcp@11587

@arizeai/phoenix-otel

npm i https://pkg.pr.new/Arize-ai/phoenix/@arizeai/phoenix-otel@11587

commit: dea4ac0

Provides a framework for TypeScript tooling migrations including:
- Tool replacements (ESLint → oxlint, Prettier → oxfmt)
- Major version upgrades (TypeScript, React, Vite)
- Dependency upgrades with breaking changes

Covers:
- Monorepo structure and sync requirements
- 12-phase migration workflow
- Config inheritance patterns
- Pre-commit hook setup
- Documentation update checklist
- Version sync CI checks
- Troubleshooting common issues
Align all packages on TypeScript 5.9.3 and hoist the dependency to
workspace roots to prevent version drift.

Changes:
- Upgrade app/ from TypeScript ~5.4.5 to ^5.9.3
- Remove per-package TypeScript declarations from js/packages/* and
  js/examples/* (they now inherit from js/ workspace root)
- Add TypeScript version consistency check to CI workflow
- Fix type errors from stricter TypeScript 5.5+ checks:
  - Add @ts-expect-error for soon-to-be-deleted pointcloud code
  - Remove obsolete @ts-expect-error for startViewTransition (now typed)
  - Add typeof narrowing for react-aria Key types

Closes #11565
Rename type:check to typecheck for consistency with app/ and common
conventions (Next.js, Vite, etc.).

Changes:
- Rename js/ root script from type:check to typecheck
- Rename type:check to typecheck in phoenix-client, phoenix-config,
  phoenix-evals, and phoenix-otel packages
- Update typescript-packages-CI.yml to use new script name
- Update typescript-tooling-migration skill documentation
- Mark TypeScript as CI-enforced in skill docs (from previous commit)
@cephalization cephalization force-pushed the chore/upgrade-typescript branch from 26df07e to dea4ac0 Compare February 19, 2026 17:20
@cephalization cephalization merged commit 599b946 into main Feb 19, 2026
26 of 27 checks passed
@github-project-automation github-project-automation bot moved this from 👍 Approved to ✅ Done in phoenix Feb 19, 2026
@cephalization cephalization deleted the chore/upgrade-typescript branch February 19, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants