mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
plugins: Use npm ls
to list the installed plugins
This speeds up startup considerably, and we get rid of a lot of buggy code. This works with both npm v6.x and v7.x.
This commit is contained in:
parent
ce1b69feda
commit
fc9f236977
4 changed files with 27 additions and 355 deletions
|
@ -21,6 +21,8 @@ exports.parts = [];
|
|||
// * parts: Each part from the ep.json object is augmented with the following properties:
|
||||
// - plugin: The name of the plugin.
|
||||
// - full_name: Equal to <plugin>/<name>.
|
||||
// * package (server-side only): Object containing details about the plugin package (version,
|
||||
// path).
|
||||
// * package (server-side only): Object containing details about the plugin package:
|
||||
// - version
|
||||
// - path
|
||||
// - realPath
|
||||
exports.plugins = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue