technogise / dynamo-data-migrations

Dynamo DB data migration tool
MIT License
29 stars 7 forks source link

Refactoring and enhancement #12

Closed mukund1488 closed 1 year ago

mukund1488 commented 1 year ago

Enhancements: 1) Added support for providing multiple configurations/profiles(dev,test,prod etc) in config.ts. 2) AWS secrets can be taken from shared credentials file if not provided in config.ts. 3) Support for multiple down shifts can be done. If no parameter is provided it while executing down last applied change will be rolled back, else last "n" applied changes can be rolled back based on input option to down command. 4) Added new tests for above functionality.

Refactoring: 1) Refactoring of tests. Clean up of redundant tests. Combined few test asserts as they belong to same flow. Removed unused mocks. 2) Minor code refactoring. Removed dead code. 3) NPM Audit fix