Skip to content

Update JS dependencies - #430

Merged
FlorentinD merged 8 commits into
mainfrom
js-depsupdates
Aug 14, 2026
Merged

Update JS dependencies#430
FlorentinD merged 8 commits into
mainfrom
js-depsupdates

Conversation

@FlorentinD

Copy link
Copy Markdown
Collaborator
  • chore(js-applet): bump patch/minor deps (Phase A)
  • chore(js-applet): bump typescript to 7.0.2 (Phase B1)
  • chore(js-applet): bump vite toolchain to v8 (Phase B2)
  • chore(js-applet): bump jsdom/concurrently/@types/node (Phase B3)
  • chore(js-applet): bump @neo4j-ndl/react-graph to 2.1.3 (Phase B4)
  • Adjust scripts to use uv

FlorentinD and others added 7 commits August 14, 2026 14:04
Bump @anywidget/react, @neo4j-ndl/{base,react}, @neo4j-nvl/*,
react/react-dom, @types/react(-dom), vite-plugin-singlefile.
Pin vitest to ~4.0.0 (4.1.x needs vite 8; bumped in a later phase).
Update test render calls for new anywidget RenderProps (signal/host).
Rebuild checked-in JS artifacts.

Co-Authored-By: Claude <noreply@anthropic.com>
No type errors under TS 7 (skipLibCheck + already-modern strict config).
No artifact changes (esbuild transpilation unaffected by TS version).

Co-Authored-By: Claude <noreply@anthropic.com>
vite ^6.3.5 -> ^8.2.1, @vitejs/plugin-react ^4.5.2 -> ^6.0.5,
@anywidget/vite ^0.2.2 -> ^0.3.0, vitest ~4.0.0 -> ^4.1.10.
vitest 4.1.x requires vite 8 (resolves the yarn-classic
'could not find a copy of vite to link' peer-dep conflict).
Replace deprecated rollupOptions.output.inlineDynamicImports:true
with codeSplitting:false in vite.config.ts and vite.config.streamlit.ts.
Rebuild checked-in JS artifacts.

Co-Authored-By: Claude <noreply@anthropic.com>
jsdom ^29.1.1 -> ^30.0.1, concurrently ^9.2.1 -> ^10.0.4,
@types/node ^25.2.3 -> ^26.2.0.
Keep @tanstack/react-table at ^8.21.3: it is a pinned peer dep of
@neo4j-ndl/react@4.18.4 (data-grid imports it); bumping to v9 would
violate the peer and break the data-grid. No artifact changes.

Note: jsdom 30 requires node ^22.22.2 || ^24.15.0 || >=26; CI's
node-version lts/* (22.x latest) satisfies this.

Co-Authored-By: Claude <noreply@anthropic.com>
v2 is API-compatible with our usage: the GraphVisualization component,
its dot-notation sub-components, and the NeoNode/NeoRel/PortableProperty/
Gesture/GraphSelection types are all unchanged - no source edits needed.
All peer deps satisfied (react 19.2.8, @neo4j-nvl 1.2.1, @neo4j-ndl
base 4.17.4 / react 4.18.4). Rebuild checked-in JS artifacts (leaner
bundle: 4832 vs 5230 modules).

Co-Authored-By: Claude <noreply@anthropic.com>
@FlorentinD
FlorentinD requested a review from a team as a code owner August 14, 2026 13:42
Comment thread .github/workflows/js-code-style.yml Fixed
@FlorentinD
FlorentinD merged commit 65eabce into main Aug 14, 2026
12 of 13 checks passed
@FlorentinD
FlorentinD deleted the js-depsupdates branch August 14, 2026 13:58
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.

2 participants