0.6.0 • Published 7 days ago
ui-plugins v0.6.0
Link plugin locally
In the plugin directory run: npm link
In the working directory you want to link the plugin to run: npm link ${plugin-name}
The plugin name should be the same name as in the plugin directory package.json file. If you are still unsure on the name, list all the global npm packages on your machine with the command below and then run the command above with the corresponding plugin name: npm list -g
Unlink plugin locally
npm unlink ${plugin-name}
Upload plugin
First build the plugin with: vite build
Then login into npm with: npm login
Then publish the package with: npm publish --access=public
Install global plugin
To install a global plugin simply find it on npm and run the command. It should look like this: npm i ${plugin-name}