/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/esm/lib/helpers
NameSizeModeActions
get-cache-directory.js23180666editdlrm
get-cache-directory.js.map34970666editdlrm
get-npx-command.js5390666editdlrm
get-npx-command.js.map9490666editdlrm
get-online.js8620666editdlrm
get-online.js.map15990666editdlrm
get-pkg-manager.js13010666editdlrm
get-pkg-manager.js.map20290666editdlrm
get-registry.js17120666editdlrm
get-registry.js.map26170666editdlrm
get-reserved-port.js19070666editdlrm
get-reserved-port.js.map31580666editdlrm
install.js22600666editdlrm
install.js.map38500666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/esm/lib/helpers/get-npx-command.js (539B)
import { execSync } from 'child_process'; import { getPkgManager } from './get-pkg-manager'; export function getNpxCommand(baseDir) { const pkgManager = getPkgManager(baseDir); let command = 'npx'; if (pkgManager === 'pnpm') { command = 'pnpm dlx'; } else if (pkgManager === 'yarn') { try { execSync('yarn dlx --help', { stdio: 'ignore' }); command = 'yarn dlx'; } catch {} } return command; } //# sourceMappingURL=get-npx-command.js.map