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

Pack plugin #19

Open
shaltie opened this issue May 5, 2021 · 1 comment
Open

Pack plugin #19

shaltie opened this issue May 5, 2021 · 1 comment
Labels
question Further information is requested

Comments

@shaltie
Copy link

shaltie commented May 5, 2021

Hello! I want to use zipped plugin in my app. How to pack it?
In previous version of nativescript-plugin-seed you had a pack.sh script. But not here. I;m trying to pack in manually, but then errors are appearing.
Or maybe there are any solutions how to keep my private plugin in the app without plugin's repo cloning.
I'm not working alone. We have a team of several Nativescript developers. I reated a plugin and I want to share only dist for other guys. Not the all repo.

@NathanWalker
Copy link
Contributor

Hi @shaltie yes you can do this with the following:

npm start > {yourplugin}.build

Then just go into dist output and pack it:

cd dist/packages/{yourplugin}
npm pack

@NathanWalker NathanWalker added the question Further information is requested label May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant