Skip to content

Conversation

@Oksamies
Copy link
Contributor

@Oksamies Oksamies commented Dec 3, 2025

No description provided.

@coderabbitai
Copy link

coderabbitai bot commented Dec 3, 2025

Walkthrough

This pull request updates dependency versions across multiple packages and applications. React ecosystem packages are upgraded from version 19.1.x to 19.2.x across all packages and apps. Additionally, the Cyberstorm Remix application receives updates to routing packages, Sentry integrations, remix-utils, and Vite. The Storybook application updates Vite. The plop template for React package generation is modified to reference React version 19.2.1 instead of 18.2.0. No changes to code logic, control flow, or public APIs are present.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Update depedency versions' directly describes the changeset, which comprehensively updates dependency versions across multiple package.json files.
Description check ✅ Passed No description was provided; however, the changeset is straightforward dependency updates with a clear title, so lack of elaboration is acceptable.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 12-04-update_depedency_versions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor Author

Oksamies commented Dec 3, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

Comment on lines 21 to +23
"@types/react": "^18.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.2.1",
"react-dom": "^19.2.1"
Copy link

Choose a reason for hiding this comment

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

Type definition version mismatch detected. The @types/react is still at ^18.0.0 while react and react-dom have been updated to ^19.2.1. This will cause TypeScript compilation errors due to incompatible type definitions.

Fix:

"@types/react": "^19.2.7",
"react": "^19.2.1",
"react-dom": "^19.2.1"
Suggested change
"@types/react": "^18.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.2.1",
"react-dom": "^19.2.1"
"@types/react": "^19.2.7",
"react": "^19.2.1",
"react-dom": "^19.2.1"

Spotted by Graphite Agent

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 41f5dbe and 0fdd7b6.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (11)
  • apps/cyberstorm-remix/package.json (2 hunks)
  • apps/storybook/package.json (1 hunks)
  • packages/cyberstorm-forms/package.json (1 hunks)
  • packages/cyberstorm/package.json (1 hunks)
  • packages/dapper/package.json (1 hunks)
  • packages/react-dnd/package.json (1 hunks)
  • packages/ts-api-react-actions/package.json (1 hunks)
  • packages/ts-api-react-forms/package.json (1 hunks)
  • packages/ts-api-react/package.json (1 hunks)
  • packages/ts-uploader-react/package.json (1 hunks)
  • plop/package/package.json.hbs (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-10-01T11:36:11.065Z
Learnt from: anttimaki
Repo: thunderstore-io/thunderstore-ui PR: 1559
File: packages/ts-api-react/package.json:16-18
Timestamp: 2025-10-01T11:36:11.065Z
Learning: In the thunderstore-ui repository, exact Node version pinning (e.g., "24.9.0") is intentionally used in package.json engines fields rather than semver ranges, to ensure consistency across environments.

Applied to files:

  • packages/ts-api-react-actions/package.json
  • apps/cyberstorm-remix/package.json
  • packages/ts-api-react/package.json
  • packages/ts-uploader-react/package.json
  • apps/storybook/package.json
  • packages/cyberstorm/package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Build
  • GitHub Check: Generate visual diffs
🔇 Additional comments (13)
packages/ts-api-react/package.json (1)

21-23: React 19.2.x bump here looks consistent with the rest of the repo

The @types/react, react, and react-dom versions are aligned and match the broader PR changes. No issues from this file alone; just ensure the lockfile is updated and CI passes after the upgrade.

packages/cyberstorm-forms/package.json (1)

29-31: Form package React deps are cleanly aligned to 19.2.x

The React and @types/react bumps here are consistent with the rest of the monorepo and should keep forms in sync with host apps. Nothing concerning from this diff; just let CI confirm everything still type-checks and builds.

packages/react-dnd/package.json (1)

17-19: React DnD hooks package now aligned to React 19.2.x

The React and @types/react versions are bumped consistently with the rest of the monorepo. Looks good from here; just confirm via CI that type-checking and bundles for @thunderstore/react-dnd stay green after the upgrade.

packages/ts-uploader-react/package.json (1)

18-20: Uploader React package deps updated coherently to 19.2.x

The @types/react, react, and react-dom versions here match the rest of the upgraded React stack. No concerns from this diff; just ensure the lockfile and any consuming apps (e.g., Storybook, Cyberstorm) still build and run as expected.

apps/storybook/package.json (1)

24-25: Storybook React + Vite bumps look reasonable; verify the builder still behaves

React/@types and Vite are all moved to newer 19.2.x / 7.2.x versions and are consistent with the rest of the repo. From the manifest alone this looks fine; just make sure to run the Storybook flows (storybook dev / storybook build) so any Vite + Storybook + React 19.2 integration issues are caught by CI instead of later.

Also applies to: 29-30, 34-34

packages/dapper/package.json (1)

30-32: Dapper’s React context deps are now aligned with React 19.2.x

The React and @types/react versions are in sync with other packages and should keep this shared context provider on the same major/minor as its consumers. No problems evident here; just rely on CI and integration usage (e.g., Cyberstorm, Storybook) to confirm everything still compiles and runs.

packages/ts-api-react-actions/package.json (1)

20-22: Actions package React deps match the upgraded API React package

The React/@types versions here are aligned with @thunderstore/ts-api-react and the rest of the repo’s React 19.2.x migration. Looks good; just confirm via CI that the combined ts-api-react + ts-api-react-actions usage still type-checks and builds cleanly.

packages/cyberstorm/package.json (1)

38-38: React ecosystem upgraded to 19.2.x.

These updates align with the monorepo-wide React 19.2 migration and maintain consistent caret ranges for patch flexibility.

Also applies to: 40-40, 42-42

packages/ts-api-react-forms/package.json (1)

21-23: React ecosystem upgraded to 19.2.x.

Straightforward alignment with monorepo-wide React 19.2 migration.

apps/cyberstorm-remix/package.json (4)

40-40: Verify remix-utils 9.0.0 breaking changes.

The jump from 7.7.0 to 9.0.0 is a major version bump that may introduce breaking changes. Please verify compatibility and ensure any required code updates are applied.


19-20: Verify @React-router package compatibility with React 19.2.1.

The @React-router suite updates to 7.10.0 (from 7.6.2/7.0.0) should be compatible with React 19.2.1 per semver, but framework routing packages can have subtle integration requirements. Confirm the update doesn't introduce routing or SSR issues.

Also applies to: 36-36, 45-45


47-47: Clarify exact pinning of @types/react-dom.

Line 47 pins @types/react-dom to exact version 19.2.3, while other React type definitions use caret ranges (^19.2.7). Is this intentional, or should it align with the ^ pattern used elsewhere (e.g., line 46)?


33-34: React ecosystem upgrades to 19.2.x.

Core React and type updates align with the monorepo-wide migration. Verify integrations with @React-router and remix-utils (noted in separate comments above).

Also applies to: 46-46

Comment on lines 21 to +23
"@types/react": "^18.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.2.1",
"react-dom": "^19.2.1"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# Search for @types/react references across package.json files
fd -e "package.json" -o -e "package.json.hbs" --type f | head -20 | xargs -I {} sh -c 'echo "=== {} ===" && cat "{}" | grep -A 1 -B 1 "@types/react" 2>/dev/null || echo "no match"'

Repository: thunderstore-io/thunderstore-ui

Length of output: 191


🏁 Script executed:

# Get a broader view: search for @types/react in all package.json files
rg "@types/react" --type json -A 1 -B 1

Repository: thunderstore-io/thunderstore-ui

Length of output: 2666


Align @types/react version in the template with React 19.2.x

The template currently scaffolds:

  • @types/react: ^18.0.0
  • react: ^19.2.1
  • react-dom: ^19.2.1

Any new React package generated from this template will have React 19.2.x at runtime but React 18 type definitions. All other packages in the repo use @types/react@^19.2.7, creating an inconsistency that can lead to type mismatches.

Update to keep them in sync:

-    "@types/react": "^18.0.0",
+    "@types/react": "^19.2.7",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@types/react": "^18.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.2.1",
"react-dom": "^19.2.1"
"@types/react": "^19.2.7",
"react": "^19.2.1",
"react-dom": "^19.2.1"
🤖 Prompt for AI Agents
In plop/package/package.json.hbs around lines 21 to 23, the template pins
@types/react to ^18.0.0 while react and react-dom are ^19.2.1, causing
type/runtime mismatch; update the @types/react entry to match the repo's React
19.x (e.g. ^19.2.7 or ^19.2.x) so the generated package.json uses @types/react
compatible with React 19, and run a quick template lint or install to verify no
type errors.

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 10.82%. Comparing base (41f5dbe) to head (0fdd7b6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1654   +/-   ##
=======================================
  Coverage   10.82%   10.82%           
=======================================
  Files         315      315           
  Lines       22684    22684           
  Branches      463      463           
=======================================
  Hits         2455     2455           
  Misses      20229    20229           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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