Update dependency typescript to v7 - #1730
Draft
mokuzon wants to merge 6 commits into
Draft
Conversation
mokuzon
force-pushed
the
users/mokuson/NO-ISSUE/fix-ci-typescript-7
branch
from
July 16, 2026 08:22
d443eb6 to
b1ac1e3
Compare
- Regenerate package-lock.json for typescript v7 (renovate updated only package.json, leaving the lock file out of sync and breaking npm ci) - Move typedoc/typedoc-plugin-markdown into apidocs-generator/ with its own TypeScript 6, because typedoc requires the TypeScript JS compiler API that the Go-native TypeScript 7 no longer provides (TypeStrong/typedoc#3098) - Add a renovate rule to keep apidocs-generator's TypeScript below v7
scripts/line-bot-client-generator parses lib sources with the TypeScript JS compiler API, which the Go-native typescript@7 package no longer provides. Add a typescript-v6 npm alias to the root devDependencies and require it from the generator scripts, with a renovate rule to keep the alias below v7.
… file The lock file was generated against an internal npm registry, which is unreachable from CI and made 'npm ci' hang. Add the same .npmrc as the examples/* packages so the public registry is always used, and regenerate the lock file with registry.npmjs.org resolved URLs.
…parser typescript@7 is a Go-native implementation and no longer provides the JS compiler API, so the generator scripts were temporarily pinned to a typescript-v6 npm alias. Parse client files with oxc-parser (ESTree AST) instead so the generator no longer depends on the TypeScript compiler API. Verified that the generated lib/ files are byte-identical before and after this change.
The client generator scripts now use oxc-parser, so the typescript-v6 npm alias (pinned only for the TypeScript JS compiler API) is no longer needed.
mokuzon
force-pushed
the
users/mokuson/NO-ISSUE/fix-ci-typescript-7
branch
from
July 28, 2026 01:50
9306adf to
3041413
Compare
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.
Summary
Supersedes #1727 (Update dependency typescript to v7), whose CI was failing. Contains the
original Renovate commit plus the fixes below to make CI pass.
Fixes to make CI pass
package-lock.json— Update dependency typescript to v7 #1727 updatedpackage.jsononly, sonpm cifailed with an out-of-sync lock file in every job.apidocs-generator/package with its own TypeScript 6 —typedoc needs the TypeScript JS compiler API, which the Go-native TypeScript 7 no longer
ships (TypeScript 7 (TS-Go) support TypeStrong/typedoc#3098).
npm run apidocsnow runsnpm cithere first, samepattern as
examples/*.scripts/line-bot-client-generatorto atypescript-v6npm alias — thesescripts parse
lib/sources with the same compiler API.Verification
npm run checkAllandpython3 generate-code.pypass locally, and all CI checks pass onthis PR.