Skip to content

Conversation

@FliPPeDround
Copy link
Member

@FliPPeDround FliPPeDround commented Sep 1, 2025

Update dependencies

Summary by CodeRabbit

  • Chores
    • Updated development tooling dependencies across templates (UI preset, lint configuration, root plugin) to newer versions for improved stability and compatibility.
    • Improves developer setup reliability and build consistency by aligning with updated ecosystem packages.
    • No changes to runtime behavior, user-facing features, or public APIs; existing projects require no action.

@coderabbitai
Copy link

coderabbitai bot commented Sep 1, 2025

Walkthrough

Bump devDependency versions in three template package.json files: @skiyee/ui-preset to ^0.0.7, @uni-helper/eslint-config to ^0.5.0, and @uni-ku/root to ^1.3.4. No other fields or code changed.

Changes

Cohort / File(s) Summary
UI Template Preset
packages/core/template/UI/skiyee/package.json
Bump devDependency @skiyee/ui-preset from ^0.0.5 to ^0.0.7.
Lint Config Template
packages/core/template/config/lint/package.json
Bump devDependency @uni-helper/eslint-config from ^0.4.1 to ^0.5.0.
Plugin Root Template
packages/core/template/plugin/root/package.json
Bump devDependency @uni-ku/root from ^1.3.2 to ^1.3.4.

Sequence Diagram(s)

(omitted — changes are dependency version updates only, no runtime/control-flow changes)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • chore: update deps #118 — Alters packages/core/template/UI/skiyee/package.json, also bumps @skiyee/ui-preset (related target versions).
  • chore: update deps #116 — Modifies the same UI template package and bumps @skiyee/ui-preset (related file-level change).
  • chore: update deps #101 — Updates packages/core/template/plugin/root/package.json, also changes @uni-ku/root version.

Suggested labels

size/M

Poem

A rabbit scampers, package list in paw,
I nudged three carrots—no fuss, no flaw.
Versions rose tidy, a soft little thump,
Builds stayed calm after the bump.
Hooray! says the rabbit, hopping off to nap. 🥕🐇

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/update-deps

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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

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

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit 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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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.

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: 0

🧹 Nitpick comments (1)
packages/core/template/plugin/root/package.json (1)

1-5: Optional: add guardrails for template consumers.

Consider adding:

  • engines and packageManager fields to reduce environment drift.
  • a basic “scaffold smoke test” in CI to install and lint one generated template.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 25525e6 and c001163.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • packages/core/template/UI/skiyee/package.json (1 hunks)
  • packages/core/template/config/lint/package.json (1 hunks)
  • packages/core/template/plugin/root/package.json (1 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
packages/core/template/config/lint/package.json (1)
packages/info/src/utils/dependencies.ts (1)
  • getUniHelperDependencies (14-21)
⏰ 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). (20)
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: stable - aarch64-apple-darwin - node@20
  • GitHub Check: stable - aarch64-pc-windows-msvc - node@20
  • GitHub Check: stable - i686-pc-windows-msvc - node@20
  • GitHub Check: stable - x86_64-apple-darwin - node@20
  • GitHub Check: stable - x86_64-pc-windows-msvc - node@20
🔇 Additional comments (3)
packages/core/template/UI/skiyee/package.json (1)

6-6: Confirm @skiyee/ui-preset@^0.0.6 peerDependency bump
The only peerDependency change is adding "unocss": ">=66.0.0"—ensure all template consumers meet this requirement; manually review the full changelog in the package’s repo (npm metadata doesn’t expose it) and regenerate the workspace lockfile for templates.

packages/core/template/config/lint/package.json (1)

7-9: Confirm @uni-helper/eslint-config@^0.5.0 compatibility with ESLint v9

Run from packages/core/template/config/lint:

npm install
npx eslint --version     # expect v9.x
echo '/* temp */' > __tmp__.js
npx eslint --print-config __tmp__.js >/dev/null
rm __tmp__.js
npm view @uni-helper/eslint-config@0.5.0 peerDependencies --json

Ensure the --print-config run succeeds and that peerDependencies ("eslint": "^9.10.0", "@antfu/eslint-config": "^5.0.0") are installed or bundled.

packages/core/template/plugin/root/package.json (1)

3-3: Check @uni-ku/root plugin compatibility with Vite 6.x
@uni-ku/root@^1.3.4 declares a peerDependency on "vite": "^5.0.0", but packages/ui uses Vite "^6.0.4". Rebuild a Vite 6 sample project to confirm plugin.id === 'root' and hook order haven’t changed; if you encounter issues, bump the peerDependency and update the plugin code accordingly.

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

🧹 Nitpick comments (1)
packages/core/template/UI/skiyee/package.json (1)

6-6: Consider pinning exact versions in templates for reproducible scaffolds.

Caret ranges can pull newer minor/patches at user-scaffold time, causing nondeterministic results.

Apply this diff if you want deterministic installs from the template:

-    "@skiyee/ui-preset": "^0.0.7",
+    "@skiyee/ui-preset": "0.0.7",
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between c001163 and 829d24f.

📒 Files selected for processing (1)
  • packages/core/template/UI/skiyee/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). (20)
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (--ts, -e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p ...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: test (-e, -p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middle...
  • GitHub Check: stable - aarch64-pc-windows-msvc - node@20
  • GitHub Check: stable - x86_64-pc-windows-msvc - node@20
  • GitHub Check: stable - x86_64-apple-darwin - node@20
  • GitHub Check: stable - i686-pc-windows-msvc - node@20
🔇 Additional comments (1)
packages/core/template/UI/skiyee/package.json (1)

6-6: LGTM on the version bump.

Looks straightforward; no other fields changed.

},
"devDependencies": {
"@skiyee/ui-preset": "^0.0.5",
"@skiyee/ui-preset": "^0.0.7",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Verify publish status and peer deps of @skiyee/ui-preset@0.0.7.

Ensure 0.0.7 is published and that any peerDependencies are satisfied by this template (or by the generated app).

Run:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# 1) Confirm the version exists and see release info
npm view @skiyee/ui-preset@0.0.7 version dist-tags --json

# 2) Inspect peer dependencies to ensure they're satisfied by the template
npm view @skiyee/ui-preset@0.0.7 peerDependencies --json

# 3) Check for multiple versions referenced across templates (keep them consistent)
rg -nP '"@skiyee/ui-preset"\s*:\s*"[^\"]+"' -g '**/package.json' -C2

Length of output: 648


🏁 Script executed:

#!/bin/bash
# Verify if unocss is included to satisfy peerDependencies of @skiyee/ui-preset@0.0.7
grep -n '"unocss"' packages/core/template/UI/skiyee/package.json || true
cat packages/core/template/UI/skiyee/package.json

Length of output: 283


Declare unocss@>=66.0.0 to satisfy @skiyee/ui-preset peerDependency
packages/core/template/UI/skiyee/package.json is missing the required peerDependency “unocss” (>=66.0.0) of @skiyee/ui-preset@0.0.7—add unocss@^66.0.0 to dependencies.

🤖 Prompt for AI Agents
In packages/core/template/UI/skiyee/package.json around line 6, the dependency
list includes "@skiyee/ui-preset": "^0.0.7" but does not declare the required
peerDependency "unocss" (>=66.0.0); add "unocss": "^66.0.0" to this package.json
dependencies (or devDependencies if appropriate) so that the @skiyee/ui-preset
peer requirement is satisfied, then run install to update lockfile.

@FliPPeDround FliPPeDround merged commit db4d80a into main Sep 2, 2025
38 checks passed
This was referenced Sep 8, 2025
@coderabbitai coderabbitai bot mentioned this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants