You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Installs everything from package.json or specified dependency.
266
-
* In case there's information which dependency to install, the method will check it and install only this dependency and possibly its @types.
267
-
* @param {string} projectDir Directory of the project, where package.json is located.
268
-
* @param@optional {INpmDependency} dependency Description of the dependency that has to be installed.
269
-
* @return {Promise<INpmInstallResult>} Returns object that will have error in case something fails.
270
-
* In case there's no specific dependency that has to be installed and everything is installed successfully, the result will be empty object.
271
-
* In case there's dependency that has to be installed, the result object will contain information for the successfull installation of the dependency and the @types reference.
* Describes methods for searching for npm plugins.
309
-
*/
310
-
interfaceINpmPluginsService{
311
-
/**
312
-
* Searches for plugins in http://npmjs.org, if this search fails will try to find plugin in http://registry.npmjs.org.
313
-
* If this search does not find anything this method will use the npm binary.
314
-
* @param {string} projectDir The directory of the project.
315
-
* @param {string[]} keywords The keywords for the search.
316
-
* @param@optional {(keywords: string[]) => string[]} modifySearchQuery Function which will be used to modify the search query when using the npm binary.
317
-
* @return {Promise<IPluginsSource>} The plugins source which can be used to get the result.
* Searches for plugin in http://registry.npmjs.org plugins and if plugin is not found will continue the search in http://npmjs.org and the npm binary.
323
-
* @param {string} projectDir The directory of the project.
324
-
* @param {string[]} keywords The keywords for the search.
325
-
* @param@optional {(keywords: string[]) => string[]} modifySearchQuery Function which will be used to modify the search query when using the npm binary.
326
-
* @return {Promise<IPluginsSource>} The plugins source which can be used to get the result.
0 commit comments