@npmcli/ci-detect
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -27,3 +27,8 @@ module.exports = () => | ||
: process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket' | ||
: process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines' | ||
: process.env.NOW_BUILDER ? 'now' | ||
: process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github' | ||
: process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab' | ||
: process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket' | ||
: process.env.VERCEL_URL ? 'vercel' | ||
: process.env.MAGNUM ? 'magnum' | ||
@@ -34,2 +39,3 @@ : process.env.NEVERCODE ? 'nevercode' | ||
: process.env.SHIPPABLE ? 'shippable' | ||
: process.env.TEAMCITY_VERSION ? 'teamcity' | ||
// codeship and a few others | ||
@@ -36,0 +42,0 @@ : process.env.CI_NAME ? process.env.CI_NAME |
{ | ||
"name": "@npmcli/ci-detect", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Detect what kind of CI environment the program is in", | ||
@@ -5,0 +5,0 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)", |
@@ -39,2 +39,3 @@ # @npmcli/ci-detect | ||
* `'azure-pipelines'` Azure Pipelines | ||
* `'bitbucket-pipelines'` Bitbucket Pipelines | ||
* `'bitrise'` Bitrise | ||
@@ -55,2 +56,7 @@ * `'buddy'` Buddy | ||
* `'codeship'` CodeShip | ||
* `'teamcity'` TeamCity | ||
* `'vercel'` Vercel | ||
* `'vercel-github'` Vercel GitHub | ||
* `'vercel-gitlab'` Vercel Gitlab | ||
* `'vercel-bitbucket'` Vercel Bitbucket | ||
* Anything that sets the `CI_NAME` environment variable will return the | ||
@@ -57,0 +63,0 @@ value as the result. (This is how CodeShip is detected.) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6603
50
87
1