Skip to content

[Feature Request]: Add cli support for adding/removing ui5 dependencies to/from the package.json #631

@zdravko-georgiev

Description

@zdravko-georgiev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions