Skip to content

Conversation

@zombieJ
Copy link
Member

@zombieJ zombieJ commented Oct 27, 2025

Summary by CodeRabbit

更新内容

  • 杂务
    • 移除了部署配置文件,精简了项目配置
    • 优化了构建工作流程,删除了脚本间接调用指令,提升了项目维护效率

@vercel
Copy link

vercel bot commented Oct 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
input-number Ready Ready Preview Comment Oct 27, 2025 7:18am

@zombieJ zombieJ changed the title chore: update config chore: update CI config Oct 27, 2025
@gemini-code-assist
Copy link

Summary of Changes

Hello @zombieJ, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request streamlines the project's build and deployment configuration by removing all traces of Vercel (formerly Now) specific settings. This includes the complete deletion of the now.json configuration file and the associated now-build script from package.json, indicating a shift away from or deprecation of Vercel for this project's deployment.

Highlights

  • Vercel Configuration Removal: The now.json configuration file, which specified Vercel (formerly Now) deployment settings for the rc-input-number project, has been entirely removed.
  • Build Script Update: The now-build script, previously defined in package.json to execute npm run docs:build, has been removed, aligning with the removal of Vercel-specific configurations.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link

coderabbitai bot commented Oct 27, 2025

概述

从项目中移除了 Now 部署配置。删除了 now.json 文件(包含 V2 Now 部署配置)和 package.json 中的 now-build 脚本引用,简化了项目的部署设置。

更改

内聚体 / 文件 更改摘要
Now 部署配置移除
now.json, package.json
删除了 now.json 部署配置文件(包含 version、name 和 builds 数组);移除了 package.json 中的 now-build 脚本别名,该别名原指向 npm run docs:build

评估代码审查工作量

🎯 1 (简单) | ⏱️ ~3 分钟

  • 这些都是删除操作,无复杂逻辑改动
  • 移除的配置和脚本是独立的,不影响核心功能
  • 建议确认移除 Now 部署配置不会影响现有的部署流程

诗歌

🐰 删除繁冗配置,Now 部署飘然而去,
now.json 与 now-build 脚本道别,
项目更清爽,构建更简洁,
告别过往,迎接新时代!✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed PR标题"chore: update CI config"与本次变更相关联。该变更包括移除now.json文件(Now部署配置)和移除package.json中的now-build脚本,这些都是关于CI/部署配置的改动。标题虽然使用了"update"而实际操作是"移除",但确实指向了真实存在的配置相关变更,属于部分相关的情况。标题清晰传达了本次PR涉及配置更改的核心意图,没有误导性或无关内容。
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-ci

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 195463e and 535ef99.

📒 Files selected for processing (2)
  • now.json (0 hunks)
  • package.json (0 hunks)
💤 Files with no reviewable changes (2)
  • now.json
  • package.json

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.

@codecov
Copy link

codecov bot commented Oct 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.26%. Comparing base (72c6e46) to head (535ef99).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #722      +/-   ##
==========================================
+ Coverage   95.97%   96.26%   +0.28%     
==========================================
  Files           7        7              
  Lines         298      321      +23     
  Branches       78       80       +2     
==========================================
+ Hits          286      309      +23     
  Misses         12       12              

☔ 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.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the configuration for Vercel (formerly Now) deployment by deleting the now.json file and the associated now-build script from package.json. These changes are straightforward and correctly remove obsolete configuration, which is good for repository maintenance. The changes look good and I have no further comments.

@zombieJ zombieJ merged commit fb92575 into master Oct 27, 2025
10 checks passed
@zombieJ zombieJ deleted the fix-ci branch October 27, 2025 07:24
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