1 个仓库
Scripts and utilities for updating codebases to handle changes between API versions.
Distinguishing note: No candidate fits; this is a specific API migration utility, distinct from general scripting APIs or task automation scripts.
Explore 1 awesome GitHub repository matching development tools & productivity · API Version Migration Scripts. Refine with filters or upvote what's useful.
这是一个抽象语法树(AST)转换工具套件,旨在自动化将源代码迁移到较新版本 React 的过程。它提供了一组脚本,以编程方式修改代码结构,用现代等效项替换已弃用的 API 和组件模式。 该工具包专门用于使用箭头函数和属性解构将类组件转换为函数组件。它还包括用于现代化 JSX 语法、将已弃用的生命周期方法更新为稳定版本以及将遗留的基于字符串的引用迁移到回调引用的实用程序。 其他功能涵盖了导入模式的优化、冗余导入的删除以及包引用和模块路径的更新。该项目使用规则驱动的源代码迁移和模式匹配语法分析,以确保转换在大型代码库中保持一致。
Provides specialized scripts for automating the transition between different API versions of a framework.