https://github.com/sap/ui5-migration
ARCHIVED - A tool to support the migration of UI5 projects by adapting code for new UI5 framework versions.
https://github.com/sap/ui5-migration
cli openui5 sap tooling ui5
Last synced: 6 months ago
JSON representation
ARCHIVED - A tool to support the migration of UI5 projects by adapting code for new UI5 framework versions.
- Host: GitHub
- URL: https://github.com/sap/ui5-migration
- Owner: SAP
- License: apache-2.0
- Created: 2019-06-14T12:47:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T14:13:35.000Z (7 months ago)
- Last Synced: 2025-04-09T20:05:00.652Z (6 months ago)
- Topics: cli, openui5, sap, tooling, ui5
- Language: JavaScript
- Homepage:
- Size: 2.48 MB
- Stars: 37
- Watchers: 17
- Forks: 8
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README

# ui5-migration
> Tooling to support the migration of UI5 projects by adapting code for new UI5 framework versions.[](https://api.reuse.software/info/github.com/SAP/ui5-migration)
[](https://dev.azure.com/sap/opensource/_build/latest?definitionId=41&branchName=master)
[](https://www.npmjs.com/package/@ui5/migration)_**Note:** This project is currently in beta. While there are ongoing improvements and round-offs being applied, we see the early release as a great opportunity to collect feedback from the community to further advance the UI5 migration tooling._
The UI5 migration tool is node.js-based and performs source code replacements and optimizations, reducing or getting rid of deprecated API. It builds upon a powerful parsing of JavaScript sources into an AST (abstract syntax tree) in order to perform the actual code replacements. Migration typically consists of an analysis part and a code modification part.
**IMPORTANT**: The modified source code needs to be manually reviewed and thoroughly tested. There is no 100% guarantee that the modified code works as expected.
**For more details on how-to migrate your project's codebase, please consult additional information such as the [migration guide](./docs/guide/migrationguide.md)**
## Installation
### Requirements
- [Node.js](https://nodejs.org/) (**version 14 or higher** ⚠️)The migration tool is currently available for early usage. It can be installed with npm.
```cli
npm install --global @ui5/migration
```## Usage
### CLITo verify that the installation worked, run:
```cli
ui5-migration --help
```Execute migration for the current folder:
```cli
ui5-migration migrate
```Please see [command-line interface](./docs/guide/cli.md) for more details.
### Available migration tasks
A list of currently available migration tasks can be found [here](./docs/guide/tasks.md)### Formatting options
A list of options to configure the formatting of migration output can be found [here](./docs/guide/print.md)## Contributing
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-migration/blob/master/CONTRIBUTING.md). Your input and support is welcome!## Support
Please follow our [Contribution Guidelines](https://github.com/SAP/ui5-migration/blob/master/CONTRIBUTING.md#report-an-issue) on how to report an issue.