full site update
This commit is contained in:
16
node_modules/package-manager-detector/dist/detect.d.mts
generated
vendored
Normal file
16
node_modules/package-manager-detector/dist/detect.d.mts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { d as DetectOptions, e as DetectResult, a as AgentName } from './shared/package-manager-detector.pUYRhiOu.mjs';
|
||||
|
||||
/**
|
||||
* Detects the package manager used in the running process.
|
||||
*
|
||||
* This method will check for `process.env.npm_config_user_agent`.
|
||||
*/
|
||||
declare function getUserAgent(): AgentName | null;
|
||||
/**
|
||||
* Detects the package manager used in the project.
|
||||
* @param options {DetectOptions} The options to use when detecting the package manager.
|
||||
* @returns {Promise<DetectResult | null>} The detected package manager or `null` if not found.
|
||||
*/
|
||||
declare function detect(options?: DetectOptions): Promise<DetectResult | null>;
|
||||
|
||||
export { detect, getUserAgent };
|
Reference in New Issue
Block a user