Skip to content

build(deps): bump the typescript group across 1 directory with 3 updates#3341

Merged
fredrikekelund merged 7 commits into
trunkfrom
dependabot/npm_and_yarn/typescript-dc0616a942
May 19, 2026
Merged

build(deps): bump the typescript group across 1 directory with 3 updates#3341
fredrikekelund merged 7 commits into
trunkfrom
dependabot/npm_and_yarn/typescript-dc0616a942

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 5, 2026

Bumps the typescript group with 3 updates in the / directory: typescript, @types/node and @types/debug.

Updates typescript from 5.9.3 to 6.0.3

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits
  • 050880c Bump version to 6.0.3 and LKG
  • eeae9dd 🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...
  • ad1c695 🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)
  • 0725fb4 🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...
  • 607a22a Bump version to 6.0.2 and LKG
  • 9e72ab7 🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...
  • 35ff23d 🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...
  • e175b69 Bump version to 6.0.1-rc and LKG
  • af4caac Update LKG
  • 8efd7e8 Merge remote-tracking branch 'origin/main' into release-6.0
  • Additional commits viewable in compare view

Updates @types/node from 25.5.0 to 25.7.0

Commits

Updates @types/debug from 4.1.12 to 4.1.13

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. javascript Pull requests that update javascript code. labels May 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@wpmobilebot
Copy link
Copy Markdown
Collaborator

wpmobilebot commented May 5, 2026

📊 Performance Test Results

Comparing fe05ddd vs trunk

app-size

Metric trunk fe05ddd Diff Change
App Size (Mac) 1355.48 MB 1355.48 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk fe05ddd Diff Change
load 1484 ms 1497 ms +13 ms ⚪ 0.0%

site-startup

Metric trunk fe05ddd Diff Change
siteCreation 8566 ms 8591 ms +25 ms ⚪ 0.0%
siteStartup 4937 ms 4929 ms 8 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-dc0616a942 branch from 4fc5925 to 60802c8 Compare May 8, 2026 07:02
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-dc0616a942 branch from 60802c8 to 1bd79db Compare May 8, 2026 07:46
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-dc0616a942 branch from 1bd79db to 9c2eb37 Compare May 12, 2026 11:31
@github-actions
Copy link
Copy Markdown
Contributor

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

Bumps the typescript group with 3 updates in the / directory: [typescript](https://github.com/microsoft/TypeScript), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [@types/debug](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/debug).


Updates `typescript` from 5.9.3 to 6.0.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.9.3...v6.0.3)

Updates `@types/node` from 25.5.0 to 25.7.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/debug` from 4.1.12 to 4.1.13
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/debug)

---
updated-dependencies:
- dependency-name: "@types/debug"
  dependency-version: 4.1.13
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: typescript
- dependency-name: "@types/node"
  dependency-version: 25.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: typescript
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: typescript
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-dc0616a942 branch from 9c2eb37 to 6323ced Compare May 15, 2026 07:04
@github-actions
Copy link
Copy Markdown
Contributor

ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline.

@wojtekn
Copy link
Copy Markdown
Contributor

wojtekn commented May 18, 2026

The dependabot TS 5.9 → 6.0 bump surfaces two deprecations that stop functioning in TS 7.0:

  • baseUrl - straightforward. The migration is documented (drop baseUrl, prepend its value to each paths entry)
  • moduleResolution: "node" (alias for node10) - this is the open question. The non-deprecated replacements are node16, nodenext, or bundler, but none is a drop-in:
    • node16 surfaces ~50 real errors: type-only ESM-from-CJS imports needing resolution-mode attributes, relative imports needing explicit .js extensions, plus declaration gaps in @wp-playground/blueprints and wpcom/types. Also requires module: "node16", which we can't fully adopt because we use __dirname / require() in apps/studio.
    • bundler is cleaner (no extension/ESM-interop noise) but still fails on @wp-playground/blueprints (package's exports map has no types condition, and the CJS index.cjs has no adjacent .d.cts) and wpcom/types (subpath not declared in exports). Both are dependency packaging issues, not our code.

We could migrate baseUrl and use ignoreDeprecations for moduleResolution for now. @Automattic/yolo any thoughts?

@fredrikekelund
Copy link
Copy Markdown
Contributor

I'm looking at how we can tweak the configs to actually fix the deprecations. The things that Typescript v6 deprecates will stop working in Typescript v7, and upgrading to v7 when it's released is really appealing (because of the performance boost)

@wojtekn
Copy link
Copy Markdown
Contributor

wojtekn commented May 19, 2026

@fredrikekelund sounds great. FYI, I pushed a fix for baseUrl for now.

@wojtekn wojtekn self-assigned this May 19, 2026
@fredrikekelund
Copy link
Copy Markdown
Contributor

I had to actually try some stuff to see what worked, and I went ahead and committed and pushed the changes.

Every workspace now has a module and moduleResolution setting. module is typically es2022, and moduleResolution is typically bundler. module: es2022 suits us because we write our imports effectively using ESM (docs). moduleResolution: bundler suits us because we run a bundler in every workspace that generates production code.

Moreover, I swapped ts-node for tsx, because I kept running into import-related errors with ts-node. tsx uses esbuild under the hood, so module loading works more like it does in our production code, which is also bundled.

I confirmed that type checking passes, that the app starts, and that it can spawn the CLI. If the E2E tests pass, then we should be able to land this

@wojtekn
Copy link
Copy Markdown
Contributor

wojtekn commented May 19, 2026

@fredrikekelund nice, that looks great.

@fredrikekelund
Copy link
Copy Markdown
Contributor

E2E tests passing. I'll land this 👍

@fredrikekelund fredrikekelund merged commit 5a7ac11 into trunk May 19, 2026
10 checks passed
@fredrikekelund fredrikekelund deleted the dependabot/npm_and_yarn/typescript-dc0616a942 branch May 19, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. javascript Pull requests that update javascript code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants