How to retire a plugin?

NodeBB Plugins
  • I had 2 plugins that have now had core features merged into the official versions they were forked from.
    My repos now serve no purpose, they will break over time, they are useless now and shouldn't be used.

    How do I get them off the package list?

  • If you've set a strict nbbpm-compatibility the plugin shouldn't get listed in versions not matched as far I know.

    Additionally you could deprecate your npm package in order to make it clear that it's out of purpose these days.
    This way you're doing the best you can (and should) to state it.

    I don't know if the NBBPM checks deprecations thought.
    But if it does since it's not a new publish you may have to manually PUT your plugin to trigger the update - I don't know whats included within the update-list the NBBPM checks regularly.

    If it's not getting noticed by the NBBPM it probably should, ping the devs then.


    reference where to find how to PUT the NBBPM: https://community.nodebb.org/topic/6267/outdated-packages-on-the-nodebb-package-manager

  • The nbbpm checks new packages that get added to npm, so if you unpublish your package, we won't know.

    Best bet would be to keep the package there so users on old NodeBB versions can still install it, but put an nbbpm.indexed = false in package.json, so when it comes through from npm, nbbpm will know to remove it from the index.


Suggested Topics


  • 0 Votes
    3 Posts
    200 Views

    I suspect the error was caused by a corruption somewhere. I'd suggest deleting node_modules and reinstalling. Maybe even try clearing your npm cache.

  • 0 Votes
    3 Posts
    2k Views

    Hello @pichalite

    Yes, I did. I noticed quickstart plugin was not compatible to my version of BB. Do you think this is the problem?
    Thanks

    11/4 03:10:30 [742] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it. * nodebb-plugin-trophies * nodebb-plugin-quickstart
  • 0 Votes
    4 Posts
    1k Views

    Make sure you have a good reason for doing this. Someone may remove a plugin and reinstall it at a later date, and still want their old settings. Right now this is how it works by default.

  • 4 Votes
    3 Posts
    2k Views

    Just did a quick count, we're at 92 plugins. Won't be long before we hit 100 😄

  • 1 Votes
    1 Posts
    2k Views

    The first emoticons plugin has landed!

    To grab it, install it via npm:

    npm install nodebb-plugin-emoji-skype

    Keep in mind that this utilises new features not available in NodeBB versions until v0.0.7, so admins may want to git pull before installing and activating this module. Otherwise, the smilies will simply point to 404 pages.

    Git repository