Files
dealplustech/node_modules/package-manager-detector/dist/detect.d.mts
Kunthawat Greethong 443c3377e2 refactor: Move Astro to root, use PORT env (default 80), allow all hosts
- Move Astro files from dealplustech-astro/ to project root
- Update Dockerfile: PORT environment variable (default 80)
- Add vite.config.ts with allowedHosts: true
- Matches nixpacks behavior for Easypanel deployment
- No hardcoded ports or domains
2026-03-03 11:40:50 +07:00

17 lines
669 B
TypeScript

import { d as DetectOptions, e as DetectResult, a as AgentName } from './shared/package-manager-detector.DksAilYA.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 };