This scanner process package.json object and returns plugin metadata objects.

interface PluginScanner {
    apiType: string;
    getContribution(plugin): Promise<undefined | PluginContribution>;
    getDependencies(plugin): undefined | Map<string, string>;
    getLifecycle(plugin): PluginLifecycle;
    getModel(plugin): PluginModel;
}

Implemented by

Properties

apiType: string

The type of plugin's API (engine name)

Methods

  • A mapping between a dependency as its defined in package.json and its deployable form, e.g. publisher.name -> vscode:extension/publisher.name

    Parameters

    Returns undefined | Map<string, string>