[pkgsite] all: update typescript 5.9.3 -> 6.0.3

0 views
Skip to first unread message

Hyang-Ah Hana Kim (Gerrit)

unread,
May 11, 2026, 11:51:24 AM (12 hours ago) May 11
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Jonathan Amsterdam, Ethan Lee, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Hyang-Ah Hana Kim submitted the change

Change information

Commit message:
all: update typescript 5.9.3 -> 6.0.3

Bump TypeScript to the latest major. typescript-eslint 8.59.2 already
satisfies the new "<6.1.0" peer cap, so no plugin bumps are needed.

TS 6 changes that affect this project:

- "baseUrl" is now a deprecation error. We still rely on it for the
"static/shared/..." import style, and migrating to "paths" is a
distinct change. Set "ignoreDeprecations": "6.0" to defer that
cleanup; revisit when prepping for TS 7.

- The implicit moduleResolution=node10 is also deprecated and is
silenced by the same flag.

- Auto-discovery of @types/node no longer kicks in unless it is a
direct devDependency and listed in compilerOptions.types.
Pin @types/no...@20.19.40 (matching engines.node ">=20.0.0") and
set "types": ["node"] so static/markdown.ts's `import fs` resolves.
Change-Id: I94ad1a1785f8d7c07a4a4f58e941e26648f82149
kokoro-CI: kokoro <noreply...@google.com>
Reviewed-by: Jonathan Amsterdam <j...@google.com>
Files:
  • M package-lock.json
  • M package.json
  • M tsconfig.json
Change size: S
Delta: 3 files changed, 24 insertions(+), 10 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I94ad1a1785f8d7c07a4a4f58e941e26648f82149
Gerrit-Change-Number: 776543
Gerrit-PatchSet: 3
Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-CC: kokoro <noreply...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages