Closed Michael-Gibbons closed 1 year ago
const results = fs.readdirSync(folderPath) const folders = results.filter(res => fs.lstatSync(path.resolve(folderPath, res)).isDirectory())
tentative addon structure
backend ... project files register.js package.json frontend ... project files register.js package.json cli ... project files register.js package.json
package.json
INSTALL
backend addons addon-name ... project files register.js frontend addons addon-name ... project files register.js cli addons addon-name ... project files register.js
Done, finally
Give access to