@monocdk-experiment/rewrite-imports

Rewrites typescript 'import' statements from @aws-cdk/xxx to monocdk

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@monocdk-experiment/rewrite-imports
9,9801,7341.198.03 hours ago3 years agoMinified + gzip package size for @monocdk-experiment/rewrite-imports in KB

Readme

@monocdk-experiment/rewrite-imports

cdk-constructs: Developer Preview
The APIs of higher level constructs in this module are in developer preview before they become stable. We will only make breaking changes to address unforeseen API issues. Therefore, these APIs are not subject to Semantic Versioning, and breaking changes will be announced in release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


Migrate TypeScript import statements from modular CDK (i.e. @aws-cdk/aws-s3) to mono-cdk (i.e. monocdk/aws-s3);
Usage:
$ rewrite-imports lib/**/*.ts

NOTE: node_modules and *.d.ts files are ignored.