Skip to content

chore(deps-dev): bump typescript from 6.0.3 to 7.0.2 - #9

Merged
bloxster merged 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Jul 27, 2026
Merged

bloxster merged 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Bumps typescript from 6.0.3 to 7.0.2.

Commits
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 15, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from d1fd361 to 1b5704a Compare July 27, 2026 10:56
bloxster added a commit that referenced this pull request Jul 27, 2026
…13)

`npm run typecheck` is gated in both workflows here, so Dependabot #9
(typescript 6.0.3 -> 7.0.2) is correctly red:

  tsconfig.json(3,3): error TS5102: Option 'baseUrl' has been removed.
                                    Please remove it from your configuration.

`@docusaurus/tsconfig` sets `baseUrl`. The existing `"ignoreDeprecations":
"6.0"` silenced TS 6's TS5101 deprecation warning, but TS 7 rejects the option
itself, so that escape hatch is gone — and an inherited compilerOption cannot
be unset by the extending config. While upstream still ships baseUrl (it does
as of 3.10.2), `extends` and a green typecheck are mutually exclusive.

Inline the base config minus baseUrl. This also fixes `@site/*`, which was
quietly broken: relative paths in an extended config resolve against that
config's own directory, so the inherited `baseUrl: "."` pointed at
node_modules/@docusaurus/tsconfig and `@site/foo` resolved to nothing. With
baseUrl gone, `paths` resolves against the site root, matching Docusaurus's
own webpack alias.

Add scripts/check-tsconfig-drift.mjs (+ `npm run check:tsconfig`) so the
inline copy cannot silently rot, wired into both workflows next to the
existing typecheck. It depends on nothing but Node — deliberately, since a
guard that imports `typescript` breaks under the very upgrade it guards
(learned the hard way in cocoon#37).

Verified: check:tsconfig and typecheck exit 0 under both 6.0.3 and 7.0.2, and
`npm run build` succeeds. Unblocks #9.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bloxster

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [typescript](https://github.com/microsoft/TypeScript) from 6.0.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from 1b5704a to 8d29fc6 Compare July 27, 2026 11:18
@bloxster
bloxster merged commit 5b52c2f into main Jul 27, 2026
1 check passed
@bloxster
bloxster deleted the dependabot/npm_and_yarn/typescript-7.0.2 branch July 27, 2026 11:28
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.

1 participant