Namespace Renamer is a tool that allows you to easily rename namespaces in your ui5 codebase. It provides a simple and intuitive interface for renaming namespaces across multiple files, saving you time and effort.
- Rename namespaces in UI5 application javascript/Typescript
- Console log all changed files
To install the Namespace Renamer npm package, you can use the following command:
npm install namespace-renamer
This will download and install the package from the npm registry into your project's dependencies.
To use Namespace Renamer, follow these steps:
- Open your terminal or command prompt.
- Navigate to the directory where your codebase is located.
- Run the command:
namespace-renamer <old-namespace> <new-namespace>
. - Namespace Renamer will scan your codebase and change all strings with match
Here are some examples of how to use Namespace Renamer:
-
Rename
MyApp.Utilities
toMyApp.Utils
:namespace-renamer MyApp.Utilities MyApp.Utils
-
Rename
com.example.app
tocom.example.application
:namespace-renamer com.example.app com.example.application
Contributions to Namespace Renamer are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository. You can also submit pull requests with your proposed changes.
Namespace Renamer is released under the MIT License. See the LICENSE file for more details.