@ag-grid-devtools/cli

中文文档
35.0.0发布于 2026/03/04MITTypeScriptESM + CJS近 30 天下载 6688

AG Grid developer toolkit

原始使用文档

@ag-grid-devtools/cli

AG Grid developer toolkit

The AG Grid developer toolkit is distributed as a command-line tool that assists with tasks such as migrating a codebase to a newer version of AG Grid.

Usage

Run the following command to list available commands:

npx @ag-grid-devtools/cli@latest --help

Note that it is recommended to run the latest version of the developer toolkit, e.g. @ag-grid-devtools/cli@latest as this will contain all previous migrations as well as the latest bug fixes.

Available commands

The CLI tool contains the following commands:

  • migrate: Migrate an existing codebase to use a newer version of AG grid

See the command-line help for more details or the AG Grid Docs.

版本与发布记录

@ag-grid-devtools/cli 共发布 23 个版本,首次发布于 2024/03/20;过去 12 个月发布了 1 个版本。

版本发布日期距今
35.0.0latest2026/03/048 个月前
34.0.02025/07/031.3 年前
33.3.02025/05/161.5 年前
33.0.12024/12/131.9 年前
33.0.02024/12/111.9 年前
32.2.12024/09/272 年前

关于 @ag-grid-devtools/cli 的常见问题

@ag-grid-devtools/cli 是什么?

AG Grid developer toolkit

如何安装 @ag-grid-devtools/cli?

在项目目录运行 npm install @ag-grid-devtools/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 ag-grid-devtools-cli,可以用 npx ag-grid-devtools-cli 直接运行。

@ag-grid-devtools/cli 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@ag-grid-devtools/cli 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@ag-grid-devtools/cli 可以商用吗?

@ag-grid-devtools/cli 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@ag-grid-devtools/cli 的下载量有多少?

根据 npm 官方下载统计,@ag-grid-devtools/cli 在 2026/10/05 – 2026/11/03 这 30 天内被下载 6,688 次,日均约 223 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ag-grid-devtools/cli 还在维护吗?

最新版本 35.0.0 发布于 2026/03/04(8 个月前);至今共发布 23 个版本,其中过去 12 个月发布了 1 个;首次发布于 2024/03/20。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。