Skip to content

fix: bump typescript to version 6#4551

Merged
GordonSmith merged 1 commit intohpcc-systems:mainfrom
GordonSmith:BUMP_TS
Mar 26, 2026
Merged

fix: bump typescript to version 6#4551
GordonSmith merged 1 commit intohpcc-systems:mainfrom
GordonSmith:BUMP_TS

Conversation

@GordonSmith
Copy link
Copy Markdown
Member

@GordonSmith GordonSmith commented Mar 25, 2026

Checklist:

  • The commit message is properly formatted and free of typos.
    • The commit message title makes sense in a changelog, by itself.
    • The commit message includes a "fixes" reference if appropriate.
    • The commit is signed.
  • The change has been fully tested:
    • I have viewed all related gallery items
    • I have viewed all related dermatology items
  • There are no similar instances of the same problem that should be addressed
    • I have addressed them here
    • I have raised new issues to address them separately

Testing:

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.json and re-point test tsconfigs to it.
  • Consolidate package tsconfigs onto packages/tsconfig.settings.json, add packages/global.d.ts for *.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

"emitDeclarationOnly": true,
"declaration": true,
"declarationDir": "types",
"allowSyntheticDefaultImports": true,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Check if needed?

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
@GordonSmith GordonSmith merged commit c42a5eb into hpcc-systems:main Mar 26, 2026
3 checks passed
@GordonSmith GordonSmith deleted the BUMP_TS branch March 26, 2026 15:01
@github-actions github-actions bot mentioned this pull request Mar 26, 2026
GordonSmith added a commit to GordonSmith/Visualization that referenced this pull request Mar 31, 2026
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
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.

3 participants