chore: update deps#190
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughTemplate package manifests update UI libraries, uni-app packages, and development tooling dependencies. No runtime code, exported entities, scripts, or configuration behavior changes. ChangesTemplate dependency version bumps
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
582193b to
6f533e3
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/core/template/module/unocss/package.json`:
- Around line 3-4: Align the template’s UnoCSS dependencies in package.json with
`@uni-helper/unocss-preset-uni`@0.3.1 by updating unocss to the compatible ~66.7.5
range and adding unocss-applet at ^0.13.8.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 0cf08f22-336b-4906-b10e-6cca8e48d2f1
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (8)
packages/core/template/UI/tdesign/package.jsonpackages/core/template/UI/uview-pro/package.jsonpackages/core/template/UI/wot2/package.jsonpackages/core/template/base/package.jsonpackages/core/template/config/lint/package.jsonpackages/core/template/config/typescript/package.jsonpackages/core/template/module/unocss/package.jsonpackages/core/template/module/vitest/package.json
🚧 Files skipped from review as they are similar to previous changes (3)
- packages/core/template/UI/wot2/package.json
- packages/core/template/UI/uview-pro/package.json
- packages/core/template/config/typescript/package.json
| "@iconify-json/carbon": "^1.2.24", | ||
| "@uni-helper/unocss-preset-uni": "^0.3.1", |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
npm view `@uni-helper/unocss-preset-uni`@0.3.1 peerDependencies
npm view unocss versions --json
npm view unocss-applet versionRepository: uni-helper/create-uni
Length of output: 6255
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '\n== package.json ==\n'
cat -n packages/core/template/module/unocss/package.json
printf '\n== related unocss references ==\n'
rg -n '"unocss"|unocss-applet|`@uni-helper/unocss-preset-uni`' packages/core/template/module/unocss -S
printf '\n== sibling template package manifests ==\n'
fd -a package.json packages/core/template/module -t fRepository: uni-helper/create-uni
Length of output: 1560
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo '== peerDependenciesMeta =='
npm view `@uni-helper/unocss-preset-uni`@0.3.1 peerDependenciesMeta --json
echo
echo '== package deps =='
npm view `@uni-helper/unocss-preset-uni`@0.3.1 dependencies --json
npm view `@uni-helper/unocss-preset-uni`@0.3.1 optionalDependencies --json
echo
echo '== unocss-applet versions around 0.13.8 =='
npm view unocss-applet@0.13.8 version
npm view unocss-applet@^0.13.8 versionRepository: uni-helper/create-uni
Length of output: 1216
Align the template’s UnoCSS stack with @uni-helper/unocss-preset-uni@0.3.1.
@uni-helper/unocss-preset-uni@0.3.1 depends on unocss ~66.7.5 and unocss-applet ^0.13.8, but this template still pins unocss to 66.0.0 and doesn’t include unocss-applet. Generated projects will end up with a mismatched UnoCSS setup.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@packages/core/template/module/unocss/package.json` around lines 3 - 4, Align
the template’s UnoCSS dependencies in package.json with
`@uni-helper/unocss-preset-uni`@0.3.1 by updating unocss to the compatible ~66.7.5
range and adding unocss-applet at ^0.13.8.
6f533e3 to
5970031
Compare
Update dependencies
Summary by CodeRabbit