Skip to content

update packages - #1175

Merged
isamu merged 1 commit into
receptron:mainfrom
isamu:updatePackage20250730
Jul 30, 2025
Merged

isamu merged 1 commit into
receptron:mainfrom
isamu:updatePackage20250730

Conversation

@isamu

@isamu isamu commented Jul 30, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Updated development dependencies to their latest versions for improved stability and compatibility. No changes to user-facing features or functionality.

@coderabbitai

coderabbitai Bot commented Jul 30, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Development dependencies were updated in two package.json files. In the root package.json, several devDependencies were bumped to newer versions. In the graphai package’s package.json, the versions of typedoc and typedoc-plugin-markdown were incremented. No functional code or exports were altered.

Changes

Cohort / File(s) Change Summary
Root DevDependencies Update
package.json
Bumped versions of @types/node, eslint, rollup, and typescript-eslint in devDependencies.
GraphAI DevDependencies Update
packages/graphai/package.json
Bumped versions of typedoc and typedoc-plugin-markdown in devDependencies.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • update package #1169: The main PR continues the version bumps of devDependencies in package.json that were partially updated in the retrieved PR, making their changes directly related.

Poem

The carrots are fresh, the versions are new,
With devDeps updated, our garden grew.
No code was disturbed, just tools made bright,
Now builds will be happy, and docs will be right.
🥕✨

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai 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.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7d55f71 and 73f759d.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (2)
  • package.json (1 hunks)
  • packages/graphai/package.json (1 hunks)
⏰ 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 (24.x)
  • GitHub Check: build (22.x)

Comment thread package.json
Comment on lines +22 to 24
"@types/node": "^24.1.0",
"eslint": "^9.32.0",
"eslint-config-prettier": "^10.1.8",

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.

💡 Verification agent

🧩 Analysis chain

ESLint 9 + typescript-eslint 8: peer-dependency breakage risk

eslint jumped to 9.32.0 while typescript-eslint is still 8.38.0.
typescript-eslint v8 declares peer range ^6 || ^7 || ^8 and is not yet compatible with ESLint 9. Expect peer-dep warnings and possibly runtime failures (rule loading errors).

Action: either keep ESLint 8.x or upgrade to the typescript-eslint pre-release that adds ESLint 9 support (currently v9 RC), then adjust related plugins/configs.

Also applies to: 27-27, 31-31


🏁 Script executed:

#!/bin/bash
# Show peer-dependency issues.
npm install --package-lock-only --silent
npm ls --omit=dev --depth=0 2>/dev/null || true
npm ls typescript-eslint eslint --depth=0

Length of output: 3239


To accurately verify the ESLint 9 + typescript-eslint 8 compatibility, we need to inspect the devDependencies (where both packages live) rather than omitting them. Let’s re-run a dependency check including devDependencies:

This will show if [email protected] flags any peer-dependency warnings under ESLint 9.x.
If you still see no output, please open your package.json’s devDependencies block to confirm both eslint and @typescript-eslint packages are declared together.


🏁 Script executed:

#!/bin/bash
# Install lockfile and list ESLint + typescript-eslint with all deps
npm install --package-lock-only --silent
npm ls eslint typescript-eslint --depth=0

Length of output: 140


Let’s confirm that both ESLint and the TypeScript ESLint packages are actually declared in your devDependencies. Please run:


🏁 Script executed:

#!/bin/bash
# Dump the devDependencies block from package.json
sed -n '/"devDependencies"/,/^[[:space:]]*}/p' package.json

Length of output: 545


Pin ESLint 8 or upgrade TypeScript-ESLint to v9

Your devDependencies include

"eslint": "^9.32.0",
"typescript-eslint": "^8.38.0"

but typescript-eslint v8 only supports ESLint ^6 | ^7 | ^8. With ESLint 9 you’ll get peer-dependency warnings and rule-loading failures at runtime.

Action items:

  • Either downgrade ESLint to ^8.x (e.g. "eslint": "^8.45.0"), or
  • Upgrade to the v9 pre-release of TypeScript-ESLint:
    • Replace your typescript-eslint entry with
      npm install -D @typescript-eslint/parser@next @typescript-eslint/eslint-plugin@next
    • Update your ESLint config to use the scoped @typescript-eslint/* packages.
🤖 Prompt for AI Agents
In package.json around lines 22 to 24, there is a version mismatch between
ESLint (v9.32.0) and typescript-eslint (v8.38.0), causing peer dependency
warnings and runtime issues. To fix this, either downgrade ESLint to a
compatible v8 version like "^8.45.0" or upgrade typescript-eslint to the v9
pre-release by replacing the current typescript-eslint packages with
"@typescript-eslint/parser@next" and "@typescript-eslint/eslint-plugin@next" via
npm install, and update your ESLint configuration to use the scoped
@typescript-eslint packages accordingly.

Comment on lines +32 to +33
"typedoc": "^0.28.8",
"typedoc-plugin-markdown": "^4.8.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.

💡 Verification agent

🧩 Analysis chain

Typedoc ↔ plugin version bump: verify doc build still passes

typedoc 0.28.8 and typedoc-plugin-markdown 4.8.0 are just patch bumps, but the plugin tends to pin against the exact minor/patch of typedoc. Make sure the API docs and Markdown generation tasks (npm run typedoc / typedoc:md) complete without new warnings or broken links.


🏁 Script executed:

#!/bin/bash
# Run the two doc targets and fail on any non-zero exit code.
set -e
yarn workspace graphai run typedoc
yarn workspace graphai run typedoc:md

Length of output: 1239


Typedoc ↔ plugin version bump: doc build is now failing
Running yarn workspace graphai run typedoc (and typedoc:md) exits with code 127 due to a missing Node binary in the Yarn temp directory. Please address the following:

  • Review the typedoc and typedoc:md script entries in packages/graphai/package.json—ensure they invoke the local TypeDoc binary (e.g. use typedoc instead of npx typedoc) or adjust your Yarn workspace bin configuration.
  • Confirm that [email protected] is fully compatible with [email protected], and upgrade/downgrade the plugin if necessary.
  • Re-run npx typedoc src/index.ts --out ../../docs/apiDoc locally to validate that the docs build completes without errors.
🤖 Prompt for AI Agents
In packages/graphai/package.json around lines 32 to 33, the typedoc and
typedoc-plugin-markdown versions cause the doc build to fail with exit code 127
due to a missing Node binary. Fix this by updating the typedoc and typedoc:md
script entries to invoke the local TypeDoc binary directly (e.g., use "typedoc"
instead of "npx typedoc") to avoid relying on npx. Also, verify that
[email protected] is compatible with [email protected] and adjust the
plugin version if needed. Finally, run the typedoc command locally to confirm
the documentation builds successfully without errors.

@isamu
isamu merged commit e375c2f into receptron:main Jul 30, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Aug 2, 2025
This was referenced Aug 11, 2025
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