Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename plugin, how? #20

Closed
alexrainman opened this issue Feb 8, 2017 · 2 comments
Closed

Rename plugin, how? #20

alexrainman opened this issue Feb 8, 2017 · 2 comments

Comments

@alexrainman
Copy link

I renamed my plugin from "nativescript-nsappconnect" to "nativescript-mobileiron-appconnect" and now when i run:

npm run demo.ios

The script is looking to remove the old one and i cannot run the demo:

> npm run build && cd demo && tns plugin remove nativescript-nsappconnect && tns plugin add .. && tns install


> nativescript-mobileiron-appconnect@1.0.0 build /Users/alexrainman/Github/nativescript-mobileiron-appconnect
> tsc

Plugin "nativescript-nsappconnect" is not installed.

Help?

@NathanWalker
Copy link
Owner

@alexrainman You will have to update your package.json scripts and other various things to rename.
See this in your plugin: https://github.com/NathanWalker/nativescript-plugin-seed/blob/master/package.json#L21

You'll want to reflect your rename there.

@alexrainman
Copy link
Author

That line fixed my problem. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants