Skip to content

chore(deps): take the frontend majors, holding TypeScript at the supported version - #37

Merged
webdevsamran merged 2 commits into
mainfrom
chore/frontend-majors
Sep 7, 2026
Merged

chore(deps): take the frontend majors, holding TypeScript at the supported version#37
webdevsamran merged 2 commits into
mainfrom
chore/frontend-majors

Conversation

@webdevsamran

@webdevsamran webdevsamran commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Supersedes #33, which could not be installed at allnpm ci fails with ERESOLVE. It bumps TypeScript to ~7.0.2 while keeping typescript-eslint@8.69.0, which declares peer typescript@">=4.8.4 <6.1.0". 8.69.0 is the latest published version, so no typescript-eslint supports TS 7 yet.

Taken here: vite 5→8.2.2, vitest 2→5.0.0, plugin-react 4→6.1.1, eslint 10.10.0, typescript-eslint 8.69.0, and TypeScript at 6.0.3 — the highest under the peer cap.

TS 6 surfaced a real issue: TS2882 on import './styles.css'. The project was relying on TS 5 accepting an untyped side-effect import; added the standard src/vite-env.d.ts rather than a suppression.

Also fixes a UI defect found by running the built app: the overview page's copy button read pip install apiverity-lab — the distribution is api-verity-lab. Guarded by a test that fails if the old string returns.

Verified by loading the built bundle in a browser, not just typechecking: React mounts, dashboard renders, console clean, bundle unchanged at 224 kB.

dependabot Bot and others added 2 commits September 7, 2026 04:27
…ates

Bumps the npm-dev group with 8 updates in the /web directory:

| Package | From | To |
| --- | --- | --- |
| [@testing-library/react](https://github.com/testing-library/react-testing-library) | `16.3.2` | `16.3.3` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.2.4` | `19.2.7` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.7.0` | `6.1.1` |
| [eslint](https://github.com/eslint/eslint) | `10.9.0` | `10.9.1` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.67.0` | `8.69.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.4.21` | `8.2.2` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.1.9` | `5.0.0` |



Updates `@testing-library/react` from 16.3.2 to 16.3.3
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/react-testing-library@v16.3.2...v16.3.3)

Updates `@types/react-dom` from 19.2.4 to 19.2.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `@vitejs/plugin-react` from 4.7.0 to 6.1.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.1.1/packages/plugin-react)

Updates `eslint` from 10.9.0 to 10.9.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v10.9.0...v10.9.1)

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.6.3...v7.0.2)

Updates `typescript-eslint` from 8.67.0 to 8.69.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.69.0/packages/typescript-eslint)

Updates `vite` from 5.4.21 to 8.2.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.2.2/packages/vite)

Updates `vitest` from 2.1.9 to 5.0.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.0/packages/vitest)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-version: 16.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dev
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dev
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
- dependency-name: eslint
  dependency-version: 10.9.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dev
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
- dependency-name: typescript-eslint
  dependency-version: 8.69.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dev
- dependency-name: vite
  dependency-version: 8.2.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
- dependency-name: vitest
  dependency-version: 4.1.11
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
...

Signed-off-by: dependabot[bot] <support@github.com>
…orted version

Supersedes #33, which could not be installed at all: `npm ci` failed with
ERESOLVE. It bumped TypeScript to ~7.0.2 while keeping typescript-eslint at
8.69.0, which declares `peer typescript@">=4.8.4 <6.1.0"`. 8.69.0 is the
latest published typescript-eslint, so there is currently no version that
supports TypeScript 7 -- the bump is not landable yet regardless of what the
code does.

Taken here, all verified installed and green together:

  vite                 5.4.11 -> 8.2.2
  vitest               2.1.9  -> 5.0.0
  @vitejs/plugin-react 4.7.0  -> 6.1.1
  eslint               10.9.0 -> 10.10.0
  typescript-eslint    8.67.0 -> 8.69.0
  typescript           5.6.3  -> 6.0.3   (highest under the peer cap)

TypeScript 6 surfaced one real incompatibility: TS2882 on
`import './styles.css'` in main.tsx. Vite ships `declare module '*.css' {}`
in `vite/client.d.ts`, but tsconfig never referenced it, so the project was
relying on TypeScript 5 accepting an untyped side-effect import. Added
`src/vite-env.d.ts` with the standard `/// <reference types="vite/client" />`,
which is the idiomatic fix rather than a suppression.

Also fixes a defect found while exercising the built app: the overview page
rendered a copy-to-clipboard button reading `pip install apiverity-lab`, but
the distribution is `api-verity-lab`. Anyone clicking copy got a command that
cannot work. The README had it right, so nothing caught the drift; a test now
rejects any source advertising a spelling of this package's own name that
pyproject does not declare, and it fails when the old string is restored.

Verified beyond a green typecheck: the production bundle was served and loaded
in a browser -- React mounts, the dashboard renders its fixture data, and the
console is clean. Bundle size is unchanged at 224 kB. Python side unaffected:
184 tests, coverage 75.5% against the 72% gate, ruff and mypy clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

API Verity — contract review

One comment per PR — updated on each push.

@webdevsamran
webdevsamran merged commit a210a61 into main Sep 7, 2026
8 checks passed
@webdevsamran
webdevsamran deleted the chore/frontend-majors branch September 7, 2026 05:25
webdevsamran added a commit that referenced this pull request Sep 7, 2026
…orted version (#37)


* chore(deps-dev): bump the npm-dev group across 1 directory with 8 updates

Bumps the npm-dev group with 8 updates in the /web directory:

| Package | From | To |
| --- | --- | --- |
| [@testing-library/react](https://github.com/testing-library/react-testing-library) | `16.3.2` | `16.3.3` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.2.4` | `19.2.7` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.7.0` | `6.1.1` |
| [eslint](https://github.com/eslint/eslint) | `10.9.0` | `10.9.1` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.67.0` | `8.69.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.4.21` | `8.2.2` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.1.9` | `5.0.0` |

Updates `@testing-library/react` from 16.3.2 to 16.3.3
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/react-testing-library@v16.3.2...v16.3.3)

Updates `@types/react-dom` from 19.2.4 to 19.2.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `@vitejs/plugin-react` from 4.7.0 to 6.1.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.1.1/packages/plugin-react)

Updates `eslint` from 10.9.0 to 10.9.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v10.9.0...v10.9.1)

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.6.3...v7.0.2)

Updates `typescript-eslint` from 8.67.0 to 8.69.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.69.0/packages/typescript-eslint)

Updates `vite` from 5.4.21 to 8.2.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.2.2/packages/vite)

Updates `vitest` from 2.1.9 to 5.0.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.0/packages/vitest)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-version: 16.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dev
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dev
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
- dependency-name: eslint
  dependency-version: 10.9.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dev
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
- dependency-name: typescript-eslint
  dependency-version: 8.69.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dev
- dependency-name: vite
  dependency-version: 8.2.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
- dependency-name: vitest
  dependency-version: 4.1.11
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dev
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): take the frontend majors, holding TypeScript at the supported version

Supersedes #33, which could not be installed at all: `npm ci` failed with
ERESOLVE. It bumped TypeScript to ~7.0.2 while keeping typescript-eslint at
8.69.0, which declares `peer typescript@">=4.8.4 <6.1.0"`. 8.69.0 is the
latest published typescript-eslint, so there is currently no version that
supports TypeScript 7 -- the bump is not landable yet regardless of what the
code does.

Taken here, all verified installed and green together:

  vite                 5.4.11 -> 8.2.2
  vitest               2.1.9  -> 5.0.0
  @vitejs/plugin-react 4.7.0  -> 6.1.1
  eslint               10.9.0 -> 10.10.0
  typescript-eslint    8.67.0 -> 8.69.0
  typescript           5.6.3  -> 6.0.3   (highest under the peer cap)

TypeScript 6 surfaced one real incompatibility: TS2882 on
`import './styles.css'` in main.tsx. Vite ships `declare module '*.css' {}`
in `vite/client.d.ts`, but tsconfig never referenced it, so the project was
relying on TypeScript 5 accepting an untyped side-effect import. Added
`src/vite-env.d.ts` with the standard `/// <reference types="vite/client" />`,
which is the idiomatic fix rather than a suppression.

Also fixes a defect found while exercising the built app: the overview page
rendered a copy-to-clipboard button reading `pip install apiverity-lab`, but
the distribution is `api-verity-lab`. Anyone clicking copy got a command that
cannot work. The README had it right, so nothing caught the drift; a test now
rejects any source advertising a spelling of this package's own name that
pyproject does not declare, and it fails when the old string is restored.

Verified beyond a green typecheck: the production bundle was served and loaded
in a browser -- React mounts, the dashboard renders its fixture data, and the
console is clean. Bundle size is unchanged at 224 kB. Python side unaffected:
184 tests, coverage 75.5% against the 72% gate, ruff and mypy clean.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant