Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
If I want to use a custom middleware with ui5-tooling, then I need to add i to devDependencies and toui5 dependencies in the package.json, e.g.
"devDependencies": {
"my-custom-middleware": "1",
},
"ui5": {
"dependencies": [
"my-custom-middleware"
]
}
Adding to devDependencies is done automatically by executing npm i my-custom-middleware, but the entry to ui5 dependencies needs to be done manually. It would be nice if this can be done also programmatically. E.g.
Adding
ui5 add --pkg my-custom-middleware
Removing
ui5 remove --pkg my-custom-middleware