etherpad-lite/bin/plugins
John McLear e97e203d76
Fix backend-tests find pattern for versioned plugin paths (#7398)
live-plugin-manager installs to src/plugin_packages/ep_name@version/,
not src/plugin_packages/ep_name/. Update the glob to match the
versioned directory format.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 00:52:44 +01:00
..
lib Fix backend-tests find pattern for versioned plugin paths (#7398) 2026-03-31 00:52:44 +01:00
checkPlugin.ts Fixed bin scripts. 2024-08-08 21:23:10 +02:00
getCorePlugins.sh Added updated workflow runners. 2024-03-16 20:38:05 +01:00
listOfficialPlugins cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
README.md cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
reTestAllPlugins.sh cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
stalePlugins.ts Fixed bin scripts. 2024-08-08 21:23:10 +02:00
updateAllPluginsScript.sh Added updated workflow runners. 2024-03-16 20:38:05 +01:00
updateCorePlugins.sh Added updated workflow runners. 2024-03-16 20:38:05 +01: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 - fix issues and commit

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

Autopush - fix issues, commit, push, and publish (highly dangerous)

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

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