chore: standardize rc tween one config#139
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
More reviews will be available in 58 minutes and 16 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
WalkthroughThe PR renames the package to ChangesScoped Package Migration
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 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 |
|
React Doctor found 5 issues in 3 files · 5 warnings · score 65 / 100 (Needs work) · vs 5 warnings
Reviewed by React Doctor for commit |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request migrates the package to the scoped @rc-component/tween-one namespace, updating configuration files, documentation, and examples accordingly. Feedback on the changes points out a potential runtime TypeError in src/TweenOne.tsx when accessing children.props without optional chaining, as well as a missing cleanup function for a mousemove event listener in docs/examples/followMouse.tsx that could lead to a memory leak.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
❌ Deploy failed
📋 Build log (last lines)🤖 Powered by surge-preview |
|||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #139 +/- ##
=======================================
Coverage 89.89% 89.89%
=======================================
Files 7 7
Lines 366 366
Branches 139 140 +1
=======================================
Hits 329 329
Misses 37 37 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 6
🤖 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 @.github/workflows/codeql.yml:
- Around line 37-38: CodeQL workflow is using autobuild, which bypasses the
repository’s required dependency-install flags and can fail on the legacy
dependency stack. Replace the Autobuild step in codeql.yml with explicit install
and build steps that use the same npm install arguments already used elsewhere,
and ensure the CodeQL analysis targets the project after that manual build; use
the existing codeql-action setup/analyze flow and the workflow job around the
Autobuild step as the place to update.
In @.github/workflows/main.yml:
- Around line 13-15: The reusable workflow invocation is inheriting every secret
from the current repository, which is too broad for this test job. Update the
workflow reference in the test job to avoid blanket secret forwarding: remove
the inherit behavior and pass only the specific secrets the called workflow
actually needs, or drop the secrets mapping entirely if it only relies on the
default GITHUB_TOKEN. Use the test job definition and the reusable workflow call
to locate the change.
In `@docs/index.md`:
- Line 2: The front matter title in docs/index.md starts with a reserved YAML
character, so it must be quoted to remain valid across parsers. Update the title
field for `@rc-component/tween-one` to use a quoted scalar in the front matter so
the docs build does not fail; this change is isolated to the title entry and
does not affect the rest of the markdown content.
In `@package.json`:
- Around line 49-50: The docs:build script uses POSIX-only NODE_OPTIONS
assignment, which breaks on Windows shells. Update the package.json scripts so
docs:build uses a cross-platform approach with cross-env, and ensure the build
command still invokes dumi build with NODE_OPTIONS set correctly.
In `@README.md`:
- Line 147: The section heading currently duplicates the earlier Plugins title,
which can trigger MD024 and create unstable anchors. Update this heading in the
README to a more specific name, such as Plugin APIs, and make sure the
surrounding section content still matches the new title.
- Around line 181-191: The section heading is inconsistent with the actual
plugin name used in the example and API, so update the README heading from
PathPlugin to PathMotionPlugin. Keep the surrounding example and PathMotion API
text aligned with the identifiers already used in the snippet, especially
PathMotionPlugin and PathMotion, so readers see one consistent plugin name
throughout the section.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 69bf1434-b8ca-4357-91c6-48f64acd9513
📒 Files selected for processing (35)
.github/FUNDING.yml.github/workflows/codeql.yml.github/workflows/main.yml.github/workflows/react-doctor.yml.github/workflows/surge-preview.yml.gitignore.prettierignore.umirc.tsREADME.mddocs/demo/group.mddocs/demo/plugin-gradient.mddocs/examples/animParam.tsxdocs/examples/attr.tsxdocs/examples/blurFilter.tsxdocs/examples/component.tsxdocs/examples/componentFragment.tsxdocs/examples/control.tsxdocs/examples/easingPath.tsxdocs/examples/followMouse.tsxdocs/examples/group.tsxdocs/examples/numberDance.tsxdocs/examples/pathMotion.tsxdocs/examples/resetStyle.tsxdocs/examples/simple.tsxdocs/examples/svg.tsxdocs/examples/svgDraw.tsxdocs/examples/type.tsxdocs/examples/useInTable.tsxdocs/index.mdnow.jsonpackage.jsonsrc/TweenOne.tsxtsconfig.jsontypings/global/index.d.tsvercel.json
💤 Files with no reviewable changes (1)
- now.json
|
Deployment failed with the following error: Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
Per maintainer direction, @rc-component/tween-one is removed from this standardization scope. Closing this PR without merging. |

Summary
@rc-component/tween-onewhile preserving legacyrc-tween-onealiases for local compatibility.now.jsonandnow-build, add Vercel config, Surge preview, React Doctor, CodeQL, FUNDING, and the reusabletest-utoo.ymlworkflow.--legacy-peer-deps, a root Babel 7 dependency, and a cheerio override required by Enzyme.Verification
npm install --legacy-peer-deps --ignore-scripts --no-audit --loglevel=warn --package-lock=false --prefer-offline --progress=falsenpm run tscnpm run lintnpm test -- --runInBandnpm run coverage -- --runInBandnpm run buildnpm run compilenpx vercel build --yesRefs ant-design/ant-design#58514
Summary by CodeRabbit
新功能
文档
修复