plugin-seed icon indicating copy to clipboard operation
plugin-seed copied to clipboard

Pack plugin

Open shaltie opened this issue 4 years ago • 1 comments

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.

shaltie avatar May 05 '21 11:05 shaltie

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 avatar May 05 '21 17:05 NathanWalker