diff --git a/node_modules/ci-info/CHANGELOG.md b/node_modules/ci-info/CHANGELOG.md new file mode 100644 index 0000000000000..0e9f5422963b1 --- /dev/null +++ b/node_modules/ci-info/CHANGELOG.md @@ -0,0 +1,45 @@ +# Changelog + +## v1.4.0 + +* feat: add Cirrus CI detection ([#13](https://github.com/watson/ci-info/pull/13)) +* feat: add Shippable CI detection ([#14](https://github.com/watson/ci-info/pull/14)) + +## v1.3.1 + +* chore: reduce npm package size by not including `.github` folder content ([#11](https://github.com/watson/ci-info/pull/11)) + +## v1.3.0 + +* feat: add support for Strider CD +* chore: deprecate vendor constant `TDDIUM` in favor of `SOLANO` +* docs: add missing vendor constant to docs + +## v1.2.0 + +* feat: detect solano-ci ([#9](https://github.com/watson/ci-info/pull/9)) + +## v1.1.3 + +* fix: fix spelling of Hunson in `ci.name` + +## v1.1.2 + +* fix: no more false positive matches for Jenkins + +## v1.1.1 + +* docs: sort lists of CI servers in README.md +* docs: add missing AWS CodeBuild to the docs + +## v1.1.0 + +* feat: add AWS CodeBuild to CI detection ([#2](https://github.com/watson/ci-info/pull/2)) + +## v1.0.1 + +* chore: reduce npm package size by using an `.npmignore` file ([#3](https://github.com/watson/ci-info/pull/3)) + +## v1.0.0 + +* Initial release diff --git a/node_modules/ci-info/README.md b/node_modules/ci-info/README.md index 8e91c3164c8cf..a76fd2e16365e 100644 --- a/node_modules/ci-info/README.md +++ b/node_modules/ci-info/README.md @@ -12,7 +12,7 @@ if your CI server isn't properly detected :) ## Installation -``` +```bash npm install ci-info --save ``` @@ -38,6 +38,7 @@ Officially supported CI servers: - [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines) - [Buildkite](https://buildkite.com) - [CircleCI](http://circleci.com) +- [Cirrus CI](https://cirrus-ci.org) - [Codeship](https://codeship.com) - [Drone](https://drone.io) - [GitLab CI](https://about.gitlab.com/gitlab-ci/) @@ -46,6 +47,7 @@ Officially supported CI servers: - [Jenkins CI](https://jenkins-ci.org) - [Magnum CI](https://magnum-ci.com) - [Semaphore](https://semaphoreci.com) +- [Shippable](https://www.shippable.com/) - [Solano CI](https://www.solanolabs.com/) - [Strider CD](https://strider-cd.github.io/) - [TaskCluster](http://docs.taskcluster.net) @@ -85,6 +87,7 @@ Otherwise `false`. - `ci.BITBUCKET` - `ci.BUILDKITE` - `ci.CIRCLE` +- `ci.CIRRUS` - `ci.CODEBUILD` - `ci.CODESHIP` - `ci.DRONE` @@ -93,8 +96,9 @@ Otherwise `false`. - `ci.HUDSON` - `ci.JENKINS` - `ci.MAGNUM` -- `ci.SOLANO` - `ci.SEMAPHORE` +- `ci.SHIPPABLE` +- `ci.SOLANO` - `ci.STRIDER` - `ci.TASKCLUSTER` - `ci.TEAMCITY` diff --git a/node_modules/ci-info/index.js b/node_modules/ci-info/index.js index 48a2982305caf..74750a7c06091 100644 --- a/node_modules/ci-info/index.js +++ b/node_modules/ci-info/index.js @@ -9,6 +9,7 @@ var vendors = [ ['BITBUCKET', 'Bitbucket Pipelines', 'BITBUCKET_COMMIT'], ['BUILDKITE', 'Buildkite', 'BUILDKITE'], ['CIRCLE', 'CircleCI', 'CIRCLECI'], + ['CIRRUS', 'Cirrus CI', 'CIRRUS_CI'], ['CODEBUILD', 'AWS CodeBuild', 'CODEBUILD_BUILD_ARN'], ['CODESHIP', 'Codeship', {CI_NAME: 'codeship'}], ['DRONE', 'Drone', 'DRONE'], @@ -18,6 +19,7 @@ var vendors = [ ['JENKINS', 'Jenkins', 'JENKINS_URL', 'BUILD_ID'], ['MAGNUM', 'Magnum CI', 'MAGNUM'], ['SEMAPHORE', 'Semaphore', 'SEMAPHORE'], + ['SHIPPABLE', 'Shippable', 'SHIPPABLE'], ['SOLANO', 'Solano CI', 'TDDIUM'], ['STRIDER', 'Strider CD', 'STRIDER'], ['TASKCLUSTER', 'TaskCluster', 'TASK_ID', 'RUN_ID'], @@ -27,6 +29,11 @@ var vendors = [ ['TRAVIS', 'Travis CI', 'TRAVIS'] ] +// Used for testinging only +Object.defineProperty(exports, '_vendors', { + value: vendors.map(function (v) { return v[0] }) +}) + exports.name = null vendors.forEach(function (vendor) { @@ -43,8 +50,8 @@ vendors.forEach(function (vendor) { }) exports.isCI = !!( - env.CI || // Travis CI, CircleCI, Gitlab CI, Appveyor, CodeShip - env.CONTINUOUS_INTEGRATION || // Travis CI + env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip + env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI env.BUILD_NUMBER || // Jenkins, TeamCity exports.name || false diff --git a/node_modules/ci-info/package.json b/node_modules/ci-info/package.json index 7f5c4434a3591..6c1f1cadab084 100644 --- a/node_modules/ci-info/package.json +++ b/node_modules/ci-info/package.json @@ -1,33 +1,29 @@ { - "_args": [ - [ - "ci-info@1.3.1", - "/Users/sibiraj/Documents/cli" - ] - ], - "_from": "ci-info@1.3.1", - "_id": "ci-info@1.3.1", + "_from": "ci-info@1.4.0", + "_id": "ci-info@1.4.0", "_inBundle": false, - "_integrity": "sha512-l4wK/SFEN8VVTQ9RO1I5yzIL2vw1w6My29qA6Gwaec80QeHxfXbruuUWqn1knyMoJn/X5kav3zVY1TlRHSKeIA==", + "_integrity": "sha512-Oqmw2pVfCl8sCL+1QgMywPfdxPJPkC51y4usw0iiE2S9qnEOAqXy8bwl1CpMpnoU39g4iKJTz6QZj+28FvOnjQ==", "_location": "/ci-info", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, - "raw": "ci-info@1.3.1", + "raw": "ci-info@1.4.0", "name": "ci-info", "escapedName": "ci-info", - "rawSpec": "1.3.1", + "rawSpec": "1.4.0", "saveSpec": null, - "fetchSpec": "1.3.1" + "fetchSpec": "1.4.0" }, "_requiredBy": [ + "#USER", "/", "/is-ci" ], - "_resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.3.1.tgz", - "_spec": "1.3.1", - "_where": ".", + "_resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.4.0.tgz", + "_shasum": "4841d53cad49f11b827b648ebde27a6e189b412f", + "_spec": "ci-info@1.4.0", + "_where": "/Users/zkat/Documents/code/work/npm", "author": { "name": "Thomas Watson Steen", "email": "w@tson.dk", @@ -36,11 +32,13 @@ "bugs": { "url": "https://github.com/watson/ci-info/issues" }, + "bundleDependencies": false, "coordinates": [ - 55.777514, - 12.592202 + 55.0113914, + 14.9747494 ], "dependencies": {}, + "deprecated": false, "description": "Get details about the current Continuous Integration environment", "devDependencies": { "clear-require": "^1.0.1", @@ -64,5 +62,5 @@ "scripts": { "test": "standard && node test.js" }, - "version": "1.3.1" + "version": "1.4.0" } diff --git a/package-lock.json b/package-lock.json index 016ff136343cc..a794a37d735a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -471,9 +471,9 @@ "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=" }, "ci-info": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.3.1.tgz", - "integrity": "sha512-l4wK/SFEN8VVTQ9RO1I5yzIL2vw1w6My29qA6Gwaec80QeHxfXbruuUWqn1knyMoJn/X5kav3zVY1TlRHSKeIA==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.4.0.tgz", + "integrity": "sha512-Oqmw2pVfCl8sCL+1QgMywPfdxPJPkC51y4usw0iiE2S9qnEOAqXy8bwl1CpMpnoU39g4iKJTz6QZj+28FvOnjQ==" }, "cidr-regex": { "version": "2.0.9", diff --git a/package.json b/package.json index 2df5343ce6617..1b1a671b58192 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "cacache": "^11.2.0", "call-limit": "~1.1.0", "chownr": "~1.0.1", - "ci-info": "^1.3.1", + "ci-info": "^1.4.0", "cli-columns": "^3.1.2", "cli-table3": "^0.5.0", "cmd-shim": "~2.0.2",