The aws-sdk-js-codemod CLI is a lightweight wrapper over jscodeshift.
It processes --help, --version and --transform options before passing them
downstream.
You can provide names of the custom transforms instead of a local path or url:
v2-to-v3 Converts AWS SDK for JavaScript APIs in a Javascript/TypeScript
codebase from version 2 (v2) to version 3 (v3).
Please review the code change thoroughly for required functionality before deploying it to production.
If the transformation is not complete or is incorrect, please report the issue on GitHub.
Prerequisites
To use aws-sdk-js-codemod, please install Node.js.
Usage
Optionally execute dry-run for the transform, and print transformed files on stdout:
aws-sdk-js-codemod
This repository contains a collection of codemod scripts for use with JSCodeshift that help update AWS SDK for JavaScript APIs.
The
aws-sdk-js-codemodCLI is a lightweight wrapper over jscodeshift. It processes--help,--versionand--transformoptions before passing them downstream.You can provide names of the custom transforms instead of a local path or url:
Please review the code change thoroughly for required functionality before deploying it to production. If the transformation is not complete or is incorrect, please report the issue on GitHub.
Prerequisites
To use aws-sdk-js-codemod, please install Node.js.
Usage
Example
For a summary of supported transformations, check TRANSFORMATIONS.md.
License
This library is licensed under the MIT-0 License. See the LICENSE file.