pad.libre-service.eu-etherpad/src/bin/plugins
John McLear b3d7f5d63e pluginTools: stalePlugins.js
Outputs a list of pluginnames and email address for maintainers to contact.  Useful for me to bump folks to maintain there stuff and stop it getting stale :)
2021-02-28 16:05:53 +00:00
..
lib tests: Pass --legacy-peer-deps flag to work around npm v7 bug 2021-02-22 03:36:12 -05:00
checkPlugin.js lint: Update ESLint dependencies 2021-02-24 09:07:24 +00:00
getCorePlugins.sh restructure: move bin/ and tests/ to src/ 2021-02-04 17:15:08 -05:00
README.md restructure: Prefix bin/ and tests/ with src/ 2021-02-05 21:52:08 +00:00
reTestAllPlugins.sh restructure: Prefix bin/ and tests/ with src/ 2021-02-05 21:52:08 +00:00
stalePlugins.js pluginTools: stalePlugins.js 2021-02-28 16:05:53 +00:00
updateAllPluginsScript.sh restructure: Prefix bin/ and tests/ with src/ 2021-02-05 21:52:08 +00:00
updateCorePlugins.sh restructure: Prefix bin/ and tests/ with src/ 2021-02-05 21:52:08 +00:00

The files in this folder are for Plugin developers.

Get suggestions to improve your Plugin

This code will check your plugin for known usual issues and some suggestions for improvements. No changes will be made to your project.

node src/bin/plugins/checkPlugin.js $PLUGIN_NAME$

Basic Example:

node src/bin/plugins/checkPlugin.js ep_webrtc

Autofixing - will autofix any issues it can

node src/bin/plugins/checkPlugin.js ep_whatever autofix

Autocommitting, push, npm minor patch and npm publish (highly dangerous)

node src/bin/plugins/checkPlugin.js ep_whatever autocommit

All the plugins

Replace johnmclear with your github username

# Clones
cd node_modules
GHUSER=johnmclear; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000" | grep -o 'git@[^"]*' | grep /ep_ | xargs -L1 git clone
cd ..

# autofixes and autocommits /pushes & npm publishes
for dir in node_modules/ep_*; do
  dir=${dir#node_modules/}
  [ "$dir" != ep_etherpad-lite ] || continue
  node src/bin/plugins/checkPlugin.js "$dir" autocommit
done

Automating update of ether organization plugins

getCorePlugins.sh
updateCorePlugins.sh