![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | lib/ | 3 months ago | - | |
![]() | updateCorePlugins.sh | 3 months ago | 169 | |
![]() | updateAllPluginsScript.sh | 3 months ago | 797 | |
![]() | stalePlugins.ts | 3 months ago | 752 | |
![]() | reTestAllPlugins.sh | 3 months ago | 377 | |
![]() | listOfficialPlugins | 3 months ago | 460 | |
![]() | getCorePlugins.sh | 3 months ago | 1.1K | |
![]() | checkPlugin.ts | 3 months ago | 18K | |
![]() | README.md | 3 months ago | 1.3K |
The files in this folder are for Plugin developers.
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$
node src/bin/plugins/checkPlugin.js ep_webrtc
node src/bin/plugins/checkPlugin.js ep_whatever autofix
node src/bin/plugins/checkPlugin.js ep_whatever autocommit
node src/bin/plugins/checkPlugin.js ep_whatever autopush
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
getCorePlugins.sh
updateCorePlugins.sh