Skip to content

fix(jupyter): update dependencies with compatible TypeScript and ESLint - #675

Open
renovate[bot] wants to merge 3 commits into
mainfrom
renovate/major-jupyter-html-deps
Open

renovate[bot] wants to merge 3 commits into
mainfrom
renovate/major-jupyter-html-deps

Conversation

@renovate

@renovate renovate Bot commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the Jupyter UI toolchain and consolidate the valid dependency updates from #680. TypeScript 7 does not expose the compiler API required by typescript-eslint, so installing it directly as typescript made pnpm run lint crash.

  • Keep TypeScript 7.0.2 for builds through the @typescript/native alias; expose the TypeScript 6 compatibility API through the typescript alias, following the official side-by-side guidance.
  • Update ESLint to 10.15.0, Vite to 8.3.8, the React Vite plugin to 6.3.0, and React Hooks lint rules to 7.1.1.
  • Preserve chore(deps): update jupyter-html deps #680's React/React DOM 19.3.1, React type definitions 19.3.0, react-refresh plugin 0.5.7, globals 17.14.0, typescript-eslint 8.72.2, and singlefile plugin 2.3.4 updates. Its ESLint 9 update is superseded by ESLint 10.
  • Regenerate the bundled Jupyter HTML and add a patch changeset.
  • Pin pnpm 10.33.0 and add Node.js 24 CI that runs a frozen install, lint, and production build for Jupyter changes.

Validation

  • Clean CI=true pnpm install --frozen-lockfile --ignore-scripts: passed.
  • pnpm run lint: passed with one non-blocking react-refresh/only-export-components warning in App.tsx.
  • pnpm run build: passed, including TypeScript checking and single-file HTML generation.
  • git diff --check: passed.
  • Full GitHub CI runs on the updated head before merge.

Supersedes #680; close it after this consolidated update merges.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 4 times, most recently from d35cf27 to 416d2a9 Compare May 25, 2026 09:42
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 4 times, most recently from 97c0a03 to 6c771ee Compare June 4, 2026 10:41
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch from 6c771ee to 9f9d4e9 Compare June 11, 2026 15:53
devin-ai-integration[bot]

This comment was marked as resolved.

@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 4 times, most recently from 44bdfd6 to 75699a0 Compare June 16, 2026 08:11
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch from 75699a0 to 15e4580 Compare June 26, 2026 21:17
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 3 times, most recently from 9582657 to ebd5ecb Compare July 12, 2026 11:31
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 4 times, most recently from 49d2b0a to 39246d2 Compare July 21, 2026 06:28
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch from 39246d2 to d5a266b Compare July 22, 2026 20:54
devin-ai-integration[bot]

This comment was marked as resolved.

@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch from d5a266b to 7082e70 Compare July 23, 2026 06:46

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 1 new potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

Comment thread livekit-rtc/jupyter-html/package.json Outdated
"eslint-plugin-react-refresh": "^0.5.0",
"globals": "^17.0.0",
"typescript": "~5.9.0",
"typescript": "~7.0.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 TypeScript upgraded to a version the linter does not support, breaking linting

TypeScript is bumped to version 7 (typescript at livekit-rtc/jupyter-html/package.json:28) while the linter package is left unchanged, but that linter only supports TypeScript below 6.1, so the two can no longer work together.
Impact: Running the project's lint step against the code will fail or emit unsupported-version warnings because the installed toolchain does not officially support TypeScript 7.

Unsatisfied peer dependency between typescript and typescript-eslint

typescript-eslint@^8.56.1 is kept unchanged in livekit-rtc/jupyter-html/package.json:29, and its declared peer requirement is typescript: '>=4.8.4 <6.1.0' (see livekit-rtc/jupyter-html/pnpm-lock.yaml:1224-1226). The bump to typescript: ~7.0.0 resolves to typescript@7.0.2 (livekit-rtc/jupyter-html/pnpm-lock.yaml:1228), which is outside that range. The lint script (eslint .) uses typescript-eslint (see livekit-rtc/jupyter-html/eslint.config.js:5,10), so type-aware linting runs against an unsupported TypeScript version. The renovate update bumped TypeScript to a new major without a compatible bump of typescript-eslint.

Prompt for agents
The devDependency typescript was bumped to ~7.0.0 but typescript-eslint is kept at ^8.56.1, whose peer dependency requires typescript >=4.8.4 <6.1.0 (confirmed in pnpm-lock.yaml). This makes the installed toolchain unsupported and will break the `lint` script that relies on typescript-eslint. Options: (1) hold TypeScript at a version supported by typescript-eslint (e.g. ~5.9.0) until typescript-eslint publishes a release that supports TypeScript 7, or (2) also upgrade typescript-eslint to a version whose peer range includes TypeScript 7. Verify the lock file resolves a typescript-eslint whose typescript peer range includes the chosen TypeScript version.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 2 times, most recently from 09d1770 to ae25753 Compare September 25, 2026 04:15
@renovate
renovate Bot requested a review from changt as a code owner September 25, 2026 04:15

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

2 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

"typescript": "~7.0.0",
"typescript-eslint": "^8.56.1",
"vite": "^6.4.1",
"vite": "^8.0.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Published notebook widget keeps old bundle

After these upgrades, Python packages still ship the old notebook bundle because the generated HTML remains unchanged. room_html loads that committed HTML, not the upgraded source.

Learn more

The notebook widget is distributed as a checked-in HTML resource rather than rebuilt when Python packages are created. The build script writes to that resource, while package data includes the committed HTML in distributions. Neither that resource nor the packaging workflow changed, so the dependency upgrades do not reach users of the packaged widget.

Example: A new RTC wheel built from this commit contains the same notebook HTML as a wheel built from the base commit, even though the Vite dependency is now version 8.

Recommended fix: Run pnpm install --frozen-lockfile and pnpm build in the notebook project, then commit the updated generated resource; alternatively, make the Python packaging build it reproducibly.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 4 times, most recently from ca2cbdc to 86d4095 Compare October 5, 2026 15:33
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 3 times, most recently from 477348b to be0f9c7 Compare October 13, 2026 16:31
@renovate renovate Bot changed the title Update jupyter-html deps (major) chore(deps): update jupyter-html deps (major) Oct 14, 2026
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 4 times, most recently from c8e1d42 to 80fd301 Compare October 21, 2026 14:47
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 2 times, most recently from 4e917c1 to b6525cc Compare October 30, 2026 18:03
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 3 times, most recently from d9c65af to 27bdb41 Compare November 12, 2026 02:47
@renovate
renovate Bot force-pushed the renovate/major-jupyter-html-deps branch 4 times, most recently from 78f947f to 8f99629 Compare November 17, 2026 07:33

@cloudwebrtc cloudwebrtc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the TypeScript 7 build alias and TypeScript 6 compiler API compatibility layer, preserved the valid updates from #680, and validated clean frozen installation, lint, and production build. The new Node.js 24 Jupyter CI passes. Merge remains contingent on completion of the remaining CI checks.

@renovate

renovate Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

This branch has not been deployed

No deployments
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