artifactory.json 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /**
  2. * This configuration file manages Rush integration with JFrog Artifactory services.
  3. * More documentation is available on the Rush website: https://rushjs.io
  4. */
  5. {
  6. "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/artifactory.schema.json",
  7. "packageRegistry": {
  8. /**
  9. * (Required) Set this to "true" to enable Rush to manage tokens for an Artifactory NPM registry.
  10. * When enabled, "rush install" will automatically detect when the user's ~/.npmrc
  11. * authentication token is missing or expired. And "rush setup" will prompt the user to
  12. * renew their token.
  13. *
  14. * The default value is false.
  15. */
  16. "enabled": false,
  17. /**
  18. * (Required) Specify the URL of your NPM registry. This is the same URL that appears in
  19. * your .npmrc file. It should look something like this example:
  20. *
  21. * https://your-company.jfrog.io/your-project/api/npm/npm-private/
  22. */
  23. "registryUrl": "",
  24. /**
  25. * A list of custom strings that "rush setup" should add to the user's ~/.npmrc file at the time
  26. * when the token is updated. This could be used for example to configure the company registry
  27. * to be used whenever NPM is invoked as a standalone command (but it's not needed for Rush
  28. * operations like "rush add" and "rush install", which get their mappings from the monorepo's
  29. * common/config/rush/.npmrc file).
  30. *
  31. * NOTE: The ~/.npmrc settings are global for the user account on a given machine, so be careful
  32. * about adding settings that may interfere with other work outside the monorepo.
  33. */
  34. "userNpmrcLinesToAdd": [
  35. // "@example:registry=https://your-company.jfrog.io/your-project/api/npm/npm-private/"
  36. ],
  37. /**
  38. * (Required) Specifies the URL of the Artifactory control panel where the user can generate
  39. * an API key. This URL is printed after the "visitWebsite" message.
  40. * It should look something like this example: https://your-company.jfrog.io/
  41. * Specify an empty string to suppress this line entirely.
  42. */
  43. "artifactoryWebsiteUrl": "",
  44. /**
  45. * These settings allow the "rush setup" interactive prompts to be customized, for
  46. * example with messages specific to your team or configuration. Specify an empty string
  47. * to suppress that message entirely.
  48. */
  49. "messageOverrides": {
  50. /**
  51. * Overrides the message that normally says:
  52. * "This monorepo consumes packages from an Artifactory private NPM registry."
  53. */
  54. // "introduction": "",
  55. /**
  56. * Overrides the message that normally says:
  57. * "Please contact the repository maintainers for help with setting up an Artifactory user account."
  58. */
  59. // "obtainAnAccount": "",
  60. /**
  61. * Overrides the message that normally says:
  62. * "Please open this URL in your web browser:"
  63. *
  64. * The "artifactoryWebsiteUrl" string is printed after this message.
  65. */
  66. // "visitWebsite": "",
  67. /**
  68. * Overrides the message that normally says:
  69. * "Your user name appears in the upper-right corner of the JFrog website."
  70. */
  71. // "locateUserName": "",
  72. /**
  73. * Overrides the message that normally says:
  74. * "Click 'Edit Profile' on the JFrog website. Click the 'Generate API Key'
  75. * button if you haven't already done so previously."
  76. */
  77. // "locateApiKey": ""
  78. }
  79. }
  80. }