Skip to content

feat: update to latest deno_graph and ts-morph#488

Open
dsherret wants to merge 4 commits into
denoland:mainfrom
dsherret:update-deno-graph-and-ts-morph
Open

feat: update to latest deno_graph and ts-morph#488
dsherret wants to merge 4 commits into
denoland:mainfrom
dsherret:update-deno-graph-and-ts-morph

Conversation

@dsherret

Copy link
Copy Markdown
Contributor

Updates deno_graph 0.96.2 → 0.109.0 along with the rest of the deno ecosystem crates (deno_resolver, deno_config, deno_cache_dir, deno_ast, node_resolver, deno_path_util, import_map, sys_traits, deno_semver, deno_error) to their latest mutually-compatible versions.

The new crates use let-chains, so the rust toolchain is bumped 1.86.0 → 1.88.0.

Also updates @ts-morph/bootstrap 0.27 → 0.29 (which bundles TypeScript 6.0):

  • adds ignoreDeprecations: "6.0", since TS 6.0 turns esModuleInterop: false and importsNotUsedAsValues into deprecation errors that abort the type check
  • TS 6.0 no longer auto-discovers the @types packages installed in the output's node_modules, so they're now enumerated and included explicitly via the types compiler option

Removes the obsolete timers shim. Deno now returns the same Timeout type from setTimeout/setInterval as node, so coercing them back to number is no longer necessary.

Notes

  • The deprecated options silenced by ignoreDeprecations (notably importsNotUsedAsValues: Remove) will become hard errors in TS 7.0 — worth migrating in a future change.
  • Tested locally: cargo test (rust) and deno test -A (type-check on) both pass.

Updates deno_graph 0.96.2 -> 0.109.0 along with the rest of the deno
ecosystem crates (deno_resolver, deno_config, deno_cache_dir, deno_ast,
node_resolver, deno_path_util, import_map, sys_traits, deno_semver,
deno_error) to their latest mutually-compatible versions. Bumps the rust
toolchain to 1.88.0, which the new crates require.

Also updates @ts-morph/bootstrap 0.27 -> 0.29 (TypeScript 6.0):

- adds `ignoreDeprecations: "6.0"` since TS 6.0 turns `esModuleInterop:
  false` and `importsNotUsedAsValues` into deprecation errors
- TS 6.0 no longer auto-discovers the `@types` packages installed in the
  output's node_modules, so they're now enumerated and included explicitly

Removes the obsolete `timers` shim. Deno now returns the same `Timeout`
type from setTimeout/setInterval as node, so coercing them back to
`number` is no longer necessary.
@dsherret dsherret changed the title chore: update to latest deno_graph and ts-morph feat: update to latest deno_graph and ts-morph Jun 29, 2026
Comment thread .github/workflows/ci.yml

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Disclaimer: PR is completely AI generated.

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