Rocky_Mountain_Vending/.pnpm-store/v10/files/ce/0cabb30d763817b798401b466b98b1b90d08872151cf1da5f75688bd08733cdecaaadb2fc572b719b848216de7d8037f46569b1f9a53730c1c26032d5ab831
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

19 lines
No EOL
539 B
Text

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