Command line tool to automatic copy and rename a folder of js classes
npm install @marketto/class-mitosis -g
mitosis -s source-dir -d destination-dir
mitosis -d destination-dir
mitosis -s source-dir -d destination-dir -t target-string -r replacing-string
mitosis -v
mitosis -h
- Sonar config to exclude docs from coverage
- Docs
- Fixed replacingString param bind to Mitosis typo
- Added param parsing unit test
- Fixed destination parsing error
- Implemented mkDirRecursive
- Improved jsDocs and added jsDoc as dev dependency
- Added command line test
- Fixed issue related to creation of destination path
- Standard project folder structure
- Fixed MitosisProgram default params
- Fixed bugs related to source relative path
- Improved tests
- Added default source path constant
- Tests divided in different files per class
- Added replacing of UPPER CASE, KEBAP-CASE, SNAKE_CASE
- Replaced lodash lowercase with native lowercase to prevent - to be replaced with _
- Reduced cognitive complexity in Mitosis.fetch
- Added command line test
- Fixed path issue on fetch in copy method
- Removed catch in Mitosis promise to prevent false positive
- Readme update
- Reduced cognitive complexity in Mitosis.copy
- Implemented copy promise return type as fetch {files, directories}
- Implemented mocha/chai tests for fetch, replace, ABSOLUTE_PATH_MATCHER, pathFinalDir and multiCaseReplacer
- Readme update