Give CustomModules its own install() method with independent file-copy-with-filtering logic. Route _installCustomModules through CustomModules.install() instead of OfficialModules. Remove custom.yaml reading and sourcePath/isCustom options from OfficialModules.install(). Eliminate _buildModuleLists — compute official vs custom module IDs inline from discoverPaths results. |
||
|---|---|---|
| .. | ||
| custom-modules.js | ||
| external-manager.js | ||
| official-modules.js | ||