Skip to content

Allow plugins to be prepared, not just added #764

Closed
@maknz

Description

@maknz

We want to use the new nativescript-telerik-ui, but have come across a problem. We don't want to commit lib/Android and lib/iOS to version control, as they're automatically generated. But, we do want to include nativescript-telerik-ui in our package.json so we can npm install it.

Say I clone the project fresh. I've got the entry in my package.json file, but nothing in node_modules because of course it's ignored from version control. I can't do tns plugin add nativescript-telerik-ui since it will see it already in package.json and assume it's installed -- but it's not, there's nothing in lib/. I see there is a prepare function that add uses after the npm install, is this what needs to be exposed? We can use npm to get the package added to node_modules, but we need a command to copy the native stuff out to lib/, which is then used in the tns prepare to pass it down to the native projects, AFAIK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions