{"_id":"@prisma/ci-info","_rev":"17-fd520ab76b0a33a1f188defecce8d4e7","name":"@prisma/ci-info","description":"Get details about the current Continuous Integration environment","dist-tags":{"latest":"2.1.2"},"versions":{"2.1.1":{"name":"@prisma/ci-info","version":"2.1.1","keywords":["ci","continuous","integration","test","detect"],"author":{"url":"https://twitter.com/wa7son","name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","_id":"@prisma/ci-info@2.1.1","maintainers":[{"name":"mattmueller","email":"mattmuelle@gmail.com"},{"name":"madebysid","email":"me@madebysid.com"},{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"divyenduz","email":"mail@divyendusingh.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"homepage":"https://github.com/watson/ci-info","bugs":{"url":"https://github.com/watson/ci-info/issues"},"dist":{"shasum":"555f15f3c8f744885b62b931aedcd248d34a10fa","tarball":"https://registry.npmjs.org/@prisma/ci-info/-/ci-info-2.1.1.tgz","fileCount":6,"integrity":"sha512-gC5mZl+rl3Fd1u7s9PJAc+vX3XdEsisxmfjvDASDj6koyHiWAblDh5bM1yR3WBogfG5kabKdXapjOApmjKxAmw==","signatures":[{"sig":"MEYCIQC+PRbpH8jCqbaKiHdez5Dvv6bLY9tqORASAGwBP9rkUwIhAOh2/RtQUBk2bc0H8Rz4lOhT27cRwatOi4PBHaDvQVb1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJzIBCRA9TVsSAnZWagAA0KUP/iLYCFI/mqeS5nC7sk9I\n/+V7uS7DS42gnAg8+a65b6YcrP736u2H4srGH5ccJN1F8aSQrHm81ANmPPSL\n9D8JXZAC1EVGBHX3gxDLn7VHn2ty8WeDWcwMuFWIyEBoEo399b0yrrBf7Pnp\nJJbki2Hs1h9Jj5KmqdfAjGQ7rOlHKT6iI1i+ctUWqHPjx8oDOJ/58B+vg+hA\nGy+MG0O8h1sVxjtnV3L5d/et/9rvDe/1VVbbRNYsuqYjWpyOAXcSdGaq7nlz\n6fICMRnO8Drg58rH696ENG4KYAFxOcyDHGGH/oBPtrsKvpYMm/PMZVFghAsR\ngzsRD7J6AwGTJKF8iUWaHlDBP3r7JKNGZ31Q4mr4s9G8xj5l8/VeIBNF83dv\n6qXNAb14EZCYHOTEgfZfXPUKB96jhIfN9GPCUUsC28r9u0IuTubyZmMhx4XS\nVyq/gi7hA3G4JAwabfPnzkETkZoiFEu36SFhDUPnrGRrhEu72+tebUu4Szki\nIrDw1esS2L59Ersam++ZpLWP3sIvz2JDdb4D/vTCKILgvRSUjkLvdE6/Dlt1\nxJuslnzNtnI9iKaZ14abr8ODQ119qpgmf5/rh04GQp1/po7bS4kGAvYUQjeZ\n7PHM9qdglrJi+5Hvsc6MOgMyZtL4+TDwc8b5t0XlM3FzZ8MdNRAbjO1+pHdr\ni0w4\r\n=+kXk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"15b5e396ce9de0f455b4ccc609d483df614f8187","scripts":{"test":"standard --fix && standard && node test.js"},"_npmUser":{"name":"mattmueller","email":"mattmuelle@gmail.com"},"deprecated":"Deprecated: you can now use https://www.npmjs.com/package/ci-info","repository":{"url":"git+https://github.com/watson/ci-info.git","type":"git"},"_npmVersion":"6.13.4","coordinates":[55.778231,12.593179],"description":"Get details about the current Continuous Integration environment","directories":{},"_nodeVersion":"13.5.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.9.1","standard":"^12.0.1","clear-module":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ci-info_2.1.1_1579627009136_0.23792724811587074","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"@prisma/ci-info","version":"2.1.2","keywords":["ci","continuous","integration","test","detect"],"author":{"url":"https://twitter.com/wa7son","name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","_id":"@prisma/ci-info@2.1.2","maintainers":[{"name":"carmenberndt","email":"berndt@prisma.io"},{"name":"divyenduz","email":"mail@divyendusingh.com"},{"name":"jolg42","email":"joel.galeran+npm@gmail.com"},{"name":"madebysid","email":"me@madebysid.com"},{"name":"mattmueller","email":"mattmuelle@gmail.com"},{"name":"ryands17","email":"dsouzaryan11@gmail.com"},{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"homepage":"https://github.com/watson/ci-info","bugs":{"url":"https://github.com/watson/ci-info/issues"},"dist":{"shasum":"3da64f54584bde0aaf4b42f298a6c63f025aeb3f","tarball":"https://registry.npmjs.org/@prisma/ci-info/-/ci-info-2.1.2.tgz","fileCount":7,"integrity":"sha512-RhAHY+wp6Nqu89Tp3zfUVkpGfqk4TfngeOWaMGgmhP7mB2ASDtOl8dkwxHmI8eN4edo+luyjPmbJBC4kST321A==","signatures":[{"sig":"MEUCIQCMK4USVmCTTCTYOHfAR39bpdtH55hXH/oIHdK3tZ1a8AIgLpY/+2fHJ0JZ7VvHe++2T3866HpXuiHwHVIQijTgM5U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFr8cCRA9TVsSAnZWagAAEeEP/01KbXgNtPB5gsuvn1v4\noUig/iib+mfTk+eCOsJnNFm90b3HVphiqn1+93cImkzNKvIJqO7VRLLgQy/R\nRLt2Hu92LB7XR1wYxf7DAyGhez4mfN1A4ArSYCGPJi5gy+pNnbH+ISe8wZ0m\nDzOKs4PUnrZVKjM014HO7BVusXwzfL6FkKK0BoCpuRH2sC8VvJiJmMtvUfV/\nM8Org9BOX8RXwl4YZt79HgVUQxCRAXDtfy4+pD84eqpwNvYtF2gRK/XO0OzZ\ntd9PtQoX73DcAd8FguaYaUzb4ujuy2ZvadgzZudEMyE6ndTeJJpS4r6thl9l\nkp6bj/soQkZsHTbpthTJ9pmEW8/jp1ybw7qd+evyZJb0kN55rYQiInVbPcyT\nT8hU4LpReymavO54ctmEi2875j4ZCmV+iswO8qjj2iMJmmI4wHwRKtLOVwc/\nOKgSxSgrGDA45wALLHA4bC4rPaIOu4W4xvMj7JQJDE/uqNVBjLKoCJI6QiqS\njP3OeL0uxVxRCbtib9e+4U67bm+Sqfz5T+dvZcazeKJBKVV/K9dD8onZ6Bwk\nn3ogS7JbmAnpxR8l1638c+IK0aeHEITnMf1bSnCB1ABgJUX0lRi6TvGeTxEl\nJbU9gWCEHjhfegSKIRVxM1OLI0sHsVXqSh+rnsvyEhgb3pwso+3HT5VegvaJ\n8jGL\r\n=PqdE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"bb66533d0d00ffcaa11c554ad0bd9b12a9c96f2e","scripts":{"test":"standard --fix && standard && node test.js"},"_npmUser":{"name":"mattmueller","email":"mattmuelle@gmail.com"},"deprecated":"Deprecated: you can now use https://www.npmjs.com/package/ci-info","repository":{"url":"git+https://github.com/watson/ci-info.git","type":"git"},"_npmVersion":"6.13.6","coordinates":[55.778231,12.593179],"description":"Get details about the current Continuous Integration environment","directories":{},"_nodeVersion":"12.16.1","_hasShrinkwrap":false,"devDependencies":{"tape":"^4.9.1","standard":"^12.0.1","clear-module":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ci-info_2.1.2_1595326236230_0.6715045026188171","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-01-21T17:16:48.920Z","modified":"2024-06-28T00:32:10.286Z","2.1.1":"2020-01-21T17:16:49.349Z","2.1.2":"2020-07-21T10:10:36.320Z"},"maintainers":[],"author":{"url":"https://twitter.com/wa7son","name":"Thomas Watson Steen","email":"w@tson.dk"},"repository":{"url":"git+https://github.com/watson/ci-info.git","type":"git"},"keywords":["ci","continuous","integration","test","detect"],"license":"MIT","homepage":"https://github.com/watson/ci-info","bugs":{"url":"https://github.com/watson/ci-info/issues"},"readme":"# ci-info\n\nGet details about the current Continuous Integration environment.\n\nPlease [open an\nissue](https://github.com/watson/ci-info/issues/new?template=ci-server-not-detected.md)\nif your CI server isn't properly detected :)\n\n[![npm](https://img.shields.io/npm/v/ci-info.svg)](https://www.npmjs.com/package/ci-info)\n[![Build status](https://travis-ci.org/watson/ci-info.svg?branch=master)](https://travis-ci.org/watson/ci-info)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n## Installation\n\n```bash\nnpm install @prisma/ci-info --save\n```\n\n## Usage\n\n```js\nvar ci = require('ci-info')\n\nif (ci.isCI) {\n  console.log('The name of the CI server is:', ci.name)\n} else {\n  console.log('This program is not running on a CI server')\n}\n```\n\n## Supported CI tools\n\nOfficially supported CI servers:\n\n| Name                                                                            | Constant             | isPR |\n| ------------------------------------------------------------------------------- | -------------------- | ---- |\n| [AWS CodeBuild](https://aws.amazon.com/codebuild/)                              | `ci.CODEBUILD`       | 🚫   |\n| [AppVeyor](http://www.appveyor.com)                                             | `ci.APPVEYOR`        | ✅   |\n| [Azure Pipelines](https://azure.microsoft.com/en-us/services/devops/pipelines/) | `ci.AZURE_PIPELINES` | ✅   |\n| [Bamboo](https://www.atlassian.com/software/bamboo) by Atlassian                | `ci.BAMBOO`          | 🚫   |\n| [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)         | `ci.BITBUCKET`       | ✅   |\n| [Bitrise](https://www.bitrise.io/)                                              | `ci.BITRISE`         | ✅   |\n| [Buddy](https://buddy.works/)                                                   | `ci.BUDDY`           | ✅   |\n| [Buildkite](https://buildkite.com)                                              | `ci.BUILDKITE`       | ✅   |\n| [CircleCI](http://circleci.com)                                                 | `ci.CIRCLE`          | ✅   |\n| [Cirrus CI](https://cirrus-ci.org)                                              | `ci.CIRRUS`          | ✅   |\n| [Codeship](https://codeship.com)                                                | `ci.CODESHIP`        | 🚫   |\n| [Drone](https://drone.io)                                                       | `ci.DRONE`           | ✅   |\n| [dsari](https://github.com/rfinnie/dsari)                                       | `ci.DSARI`           | 🚫   |\n| [GitHub Actions](https://github.com/features/actions/)                          | `ci.GITHUB_ACTIONS`  | ✅   |\n| [GitLab CI](https://about.gitlab.com/gitlab-ci/)                                | `ci.GITLAB`          | 🚫   |\n| [GoCD](https://www.go.cd/)                                                      | `ci.GOCD`            | 🚫   |\n| [Hudson](http://hudson-ci.org)                                                  | `ci.HUDSON`          | 🚫   |\n| [Jenkins CI](https://jenkins-ci.org)                                            | `ci.JENKINS`         | ✅   |\n| [Magnum CI](https://magnum-ci.com)                                              | `ci.MAGNUM`          | 🚫   |\n| [Netlify CI](https://www.netlify.com/)                                          | `ci.NETLIFY`         | ✅   |\n| [Zeit Now](https://www.zeit.co/now)                                             | `ci.ZEIT_NOW`        | ✅   |\n| [Nevercode](http://nevercode.io/)                                               | `ci.NEVERCODE`       | ✅   |\n| [Sail CI](https://sail.ci/)                                                     | `ci.SAIL`            | ✅   |\n| [Semaphore](https://semaphoreci.com)                                            | `ci.SEMAPHORE`       | ✅   |\n| [Shippable](https://www.shippable.com/)                                         | `ci.SHIPPABLE`       | ✅   |\n| [Solano CI](https://www.solanolabs.com/)                                        | `ci.SOLANO`          | ✅   |\n| [Strider CD](https://strider-cd.github.io/)                                     | `ci.STRIDER`         | 🚫   |\n| [TaskCluster](http://docs.taskcluster.net)                                      | `ci.TASKCLUSTER`     | 🚫   |\n| [TeamCity](https://www.jetbrains.com/teamcity/) by JetBrains                    | `ci.TEAMCITY`        | 🚫   |\n| [Travis CI](http://travis-ci.org)                                               | `ci.TRAVIS`          | ✅   |\n\n## API\n\n### `ci.name`\n\nReturns a string containing name of the CI server the code is running on.\nIf CI server is not detected, it returns `null`.\n\nDon't depend on the value of this string not to change for a specific\nvendor. If you find your self writing `ci.name === 'Travis CI'`, you\nmost likely want to use `ci.TRAVIS` instead.\n\n### `ci.isCI`\n\nReturns a boolean. Will be `true` if the code is running on a CI server,\notherwise `false`.\n\nSome CI servers not listed here might still trigger the `ci.isCI`\nboolean to be set to `true` if they use certain vendor neutral\nenvironment variables. In those cases `ci.name` will be `null` and no\nvendor specific boolean will be set to `true`.\n\n### `ci.isPR`\n\nReturns a boolean if PR detection is supported for the current CI server. Will\nbe `true` if a PR is being tested, otherwise `false`. If PR detection is\nnot supported for the current CI server, the value will be `null`.\n\n### `ci.<VENDOR-CONSTANT>`\n\nA vendor specific boolean constant is exposed for each support CI\nvendor. A constant will be `true` if the code is determined to run on\nthe given CI server, otherwise `false`.\n\nExamples of vendor constants are `ci.TRAVIS` or `ci.APPVEYOR`. For a\ncomplete list, see the support table above.\n\nDeprecated vendor constants that will be removed in the next major\nrelease:\n\n- `ci.TDDIUM` (Solano CI) This have been renamed `ci.SOLANO`\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}