fix: bump typescript to version 6#4551
Merged
GordonSmith merged 1 commit intohpcc-systems:mainfrom Mar 26, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s TypeScript toolchain and TypeScript project configuration to align packages/tests with a new shared baseline and to support TS-driven builds with CSS imports.
Changes:
- Bump TypeScript to
6.0.2(root + type-leaks test) and adjust dependency overrides. - Introduce shared
tests/tsconfig.settings.jsonand re-point test tsconfigs to it. - Consolidate package tsconfigs onto
packages/tsconfig.settings.json, addpackages/global.d.tsfor*.css, and normalize some CSS import paths.
Reviewed changes
Copilot reviewed 42 out of 44 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/type-leaks/package.json | Bump TS devDependency to 6.x |
| tests/tsconfig.settings.json | Add shared TS settings for tests |
| tests/node-esm/tsconfig.json | Extend new tests tsconfig settings |
| tests/node-cjs/tsconfig.json | Extend new tests tsconfig settings |
| tests/browser-umd/tsconfig.json | Extend new tests tsconfig settings |
| tests/browser-esm/tsconfig.json | Extend new tests tsconfig settings |
| packages/tsconfig.settings.json | Redefine shared package TS baseline |
| packages/global.d.ts | Add typings for importing .css |
| packages/api/tsconfig.json | Extend shared package tsconfig |
| packages/chart/tsconfig.json | Extend shared package tsconfig |
| packages/codemirror/tsconfig.json | Extend shared package tsconfig |
| packages/common/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/comms/tsconfig.json | Extend shared package tsconfig |
| packages/composite/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/dataflow/tsconfig.json | Extend shared package tsconfig |
| packages/ddl-shim/tsconfig.json | Extend shared package tsconfig |
| packages/dgrid/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/dgrid2/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/dgrid/tests/dgrid.browser.spec.ts | Remove extra blank lines in test |
| packages/dgrid-shim/tsconfig.json | Adjust TS config (now standalone) |
| packages/dgrid-shim/package.json | Add TS devDependency for shim package |
| packages/eclwatch/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/esbuild-plugins/tsconfig.json | Extend shared package tsconfig |
| packages/form/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/graph/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/graph/src/Edge.ts | Normalize CSS import path |
| packages/graph/src/Graph.ts | Normalize CSS import path |
| packages/graph/src/Sankey.ts | Normalize CSS import path |
| packages/graph/src/Subgraph.ts | Normalize CSS import path |
| packages/graph/src/Vertex.ts | Normalize CSS import path |
| packages/html/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/layout/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/map/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/map/src/Layered.ts | Normalize Utility import extension |
| packages/markdown-it-plugins/tsconfig.json | Extend shared package tsconfig |
| packages/observablehq-compiler/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/other/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/phosphor/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/react/tsconfig.json | Extend shared package tsconfig |
| packages/timeline/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/tree/tsconfig.json | Extend shared tsconfig + include global.d.ts |
| packages/util/tsconfig.json | Extend shared package tsconfig |
| package.json | Bump TS + adjust ESLint parser and overrides |
| package-lock.json | Lockfile updates for new TS/tooling |
GordonSmith
commented
Mar 25, 2026
packages/comms/tsconfig.json
Outdated
| "emitDeclarationOnly": true, | ||
| "declaration": true, | ||
| "declarationDir": "types", | ||
| "allowSyntheticDefaultImports": true, |
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
jeclrsg
approved these changes
Mar 25, 2026
GordonSmith
added a commit
to GordonSmith/Visualization
that referenced
this pull request
Mar 31, 2026
Signed-off-by: Gordon Smith <GordonJSmith@gmail.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.
Checklist:
Testing: