UNPKG

382 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const plugins_1 = require("./plugins");
4async 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}
9exports.default = default_1;