Skip to content

chore(deps): autoupdate (needs claude fix) - #7

Merged
github-actions[bot] merged 3 commits into
mainfrom
chore/autoupdate-32536020564
Aug 21, 2026
Merged

chore(deps): autoupdate (needs claude fix)#7
github-actions[bot] merged 3 commits into
mainfrom
chore/autoupdate-32536020564

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The dependency autoupdater failed during builds-and-checks.

Run log: https://github.com/dudko-dev/agent-web-react/actions/runs/32536020564

A Claude session has been dispatched to push fixes onto this branch
so the following commands all exit 0:

  npm run typecheck
  npm run format:check
  npm run build
  npm test

Claude will leave a status comment on this PR when it finishes.
The Claude workflow re-dispatches PR-checks once it is done, so the
checks below reflect its pushed fixes.

@github-actions
github-actions Bot requested a review from siarheidudko August 21, 2026 23:12
@github-actions github-actions Bot added autoupdate Automated dependency update PRs needs-claude Needs Claude GitHub App to fix labels Aug 21, 2026
The autoupdate bump to typescript@7.0.2 broke tsup's dts build: the
Program shape rollup-plugin-dts (bundled inside tsup) reaches into no
longer matches what TS 7's internals expose, crashing with
"Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')".
tsup 8.5.1 is already the latest release and has no TS7-compatible dts
plugin yet, so pin to the last pre-7 stable (6.0.3) instead.

That version in turn hard-errors on tsup's forced `baseUrl` compiler
option, since TS 6 deprecates `baseUrl` ahead of removal in 7.0. Add
`ignoreDeprecations: "6.0"` to tsconfig.json to silence it, matching
TypeScript's own migration guidance.
@claude

claude Bot commented Aug 21, 2026

Copy link
Copy Markdown

Autoupdate fix status: fixed, commit pushed.

Initial failure: `npm run build` (tsup's dts step). The autoupdate had bumped `typescript` from `^5.6.0` to `^7.0.2`. `typecheck`, `format:check`, and plain `tsc` all passed fine under TS 7, but tsup 8.5.1 (latest, no newer release available) bundles its own copy of `rollup-plugin-dts@6.1.1`, which reaches into TS internals that no longer match TS 7's shape and crashed with:
`TypeError: Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')`

Fix applied (compatibility shim only, no product logic changed):

  • Pinned `typescript` to `^6.0.3` in `package.json` — the last stable pre-7 release, so tsup's bundled dts plugin can build against it. (No newer tsup exists yet with TS7-compatible dts tooling.)
  • That surfaced a second issue: TS 6 deprecates the `baseUrl` compiler option (removed in TS 7), and tsup's dts plugin always forces a `baseUrl` default, so the build hard-errored on the deprecation. Added `"ignoreDeprecations": "6.0"` to `tsconfig.json` to silence it, per TypeScript's own migration guidance.
  • `package-lock.json` updated accordingly via `npm install`.
  • Package version was not bumped (stays at 0.0.6, as already set by the autoupdate commit).

Verified locally (fresh run, exit codes confirmed):

  • `npm run typecheck` → 0
  • `npm run format:check` → 0
  • `npm run build` → 0
  • `npm test` → 0 (24/24 passing)
  • Also sanity-checked `demo`: `npm run typecheck` and `npm run build` both succeed against the built library.

Pushed: commit `a1c54b5` on `chore/autoupdate-32536020564` (on top of `54c235a`).

@github-actions
github-actions Bot merged commit da7e442 into main Aug 21, 2026
3 checks passed
@github-actions
github-actions Bot deleted the chore/autoupdate-32536020564 branch August 21, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoupdate Automated dependency update PRs needs-claude Needs Claude GitHub App to fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant