constants.cjs 751 B

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