1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const plugins_1 = require("./plugins");
|
4 | async function default_1(config) {
|
5 | const plugins = new plugins_1.default(config);
|
6 | const list = await plugins.list();
|
7 | return list.map(([name, { tag }]) => ({ name, root: plugins.userPluginPath(name), tag, type: 'user' }));
|
8 | }
|
9 | exports.default = default_1;
|