constants.mjs 691 B

1234567891011121314151617181920212223242526272829
  1. const AGENTS = [
  2. "npm",
  3. "yarn",
  4. "yarn@berry",
  5. "pnpm",
  6. "pnpm@6",
  7. "bun",
  8. "deno"
  9. ];
  10. const LOCKS = {
  11. "bun.lock": "bun",
  12. "bun.lockb": "bun",
  13. "deno.lock": "deno",
  14. "pnpm-lock.yaml": "pnpm",
  15. "yarn.lock": "yarn",
  16. "package-lock.json": "npm",
  17. "npm-shrinkwrap.json": "npm"
  18. };
  19. const INSTALL_PAGE = {
  20. "bun": "https://bun.sh",
  21. "deno": "https://deno.com",
  22. "pnpm": "https://pnpm.io/installation",
  23. "pnpm@6": "https://pnpm.io/6.x/installation",
  24. "yarn": "https://classic.yarnpkg.com/en/docs/install",
  25. "yarn@berry": "https://yarnpkg.com/getting-started/install",
  26. "npm": "https://docs.npmjs.com/cli/v8/configuring-npm/install"
  27. };
  28. export { AGENTS, INSTALL_PAGE, LOCKS };