Skip to content
rodric rabbah edited this page Feb 19, 2021 · 12 revisions

Publishing the plugin

  1. Update the version in package.json (example)
  2. Create a tag: git tag vm.n.p
  3. Push tag: git push [upstream]
  4. Run: npm publish --dry-run to test if things will go well
  5. Login to npm: npm login
  6. Run npm publish
  7. Create a PR to update the package version in the Netlify plugins repo (example pr and LOC)

Testing the plugin with Netlify

  1. Create a project to deploy
  2. Create or amend package.json to include
  "devDependencies": {
    "netlify-plugin-nimbella": "<your-fork>/netlify-plugin-nimbella[#branch-name]"
  } 
  1. Connect the project to a Netlify site and deploy

Gotchas

If you edit the plugin inputs, remember to edit manifest.yml.

Clone this wiki locally