diff --git a/node_modules/ci-info/LICENSE b/node_modules/ci-info/LICENSE index 4a59c94175c2a..67846832ecc30 100644 --- a/node_modules/ci-info/LICENSE +++ b/node_modules/ci-info/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016-2017 Thomas Watson Steen +Copyright (c) 2016-2018 Thomas Watson Steen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/node_modules/ci-info/README.md b/node_modules/ci-info/README.md index 2c6cccf2be953..8e91c3164c8cf 100644 --- a/node_modules/ci-info/README.md +++ b/node_modules/ci-info/README.md @@ -2,9 +2,11 @@ Get details about the current Continuous Integration environment. -Please [open an issue](https://github.com/watson/ci-info/issues) if your -CI server isn't properly detected :) +Please [open an +issue](https://github.com/watson/ci-info/issues/new?template=ci-server-not-detected.md) +if your CI server isn't properly detected :) +[![npm](https://img.shields.io/npm/v/ci-info.svg)](https://www.npmjs.com/package/ci-info) [![Build status](https://travis-ci.org/watson/ci-info.svg?branch=master)](https://travis-ci.org/watson/ci-info) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) @@ -44,6 +46,8 @@ Officially supported CI servers: - [Jenkins CI](https://jenkins-ci.org) - [Magnum CI](https://magnum-ci.com) - [Semaphore](https://semaphoreci.com) +- [Solano CI](https://www.solanolabs.com/) +- [Strider CD](https://strider-cd.github.io/) - [TaskCluster](http://docs.taskcluster.net) - [Team Foundation Server](https://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx) by Microsoft - [TeamCity](https://www.jetbrains.com/teamcity/) by JetBrains @@ -89,12 +93,19 @@ Otherwise `false`. - `ci.HUDSON` - `ci.JENKINS` - `ci.MAGNUM` +- `ci.SOLANO` - `ci.SEMAPHORE` +- `ci.STRIDER` - `ci.TASKCLUSTER` - `ci.TEAMCITY` - `ci.TFS` (Team Foundation Server) - `ci.TRAVIS` +Deprecated vendor constants that will be removed in the next major +release: + +- `ci.TDDIUM` (Solano CI) This have been renamed `ci.SOLANO` + ## License -MIT +[MIT](LICENSE) diff --git a/node_modules/ci-info/index.js b/node_modules/ci-info/index.js index e716e34b31680..48a2982305caf 100644 --- a/node_modules/ci-info/index.js +++ b/node_modules/ci-info/index.js @@ -4,24 +4,27 @@ var env = process.env var vendors = [ // Constant, Name, Envs - ['TRAVIS', 'Travis CI', 'TRAVIS'], - ['CIRCLE', 'CircleCI', 'CIRCLECI'], - ['GITLAB', 'GitLab CI', 'GITLAB_CI'], ['APPVEYOR', 'AppVeyor', 'APPVEYOR'], + ['BAMBOO', 'Bamboo', 'bamboo_planKey'], + ['BITBUCKET', 'Bitbucket Pipelines', 'BITBUCKET_COMMIT'], + ['BUILDKITE', 'Buildkite', 'BUILDKITE'], + ['CIRCLE', 'CircleCI', 'CIRCLECI'], + ['CODEBUILD', 'AWS CodeBuild', 'CODEBUILD_BUILD_ARN'], ['CODESHIP', 'Codeship', {CI_NAME: 'codeship'}], ['DRONE', 'Drone', 'DRONE'], + ['GITLAB', 'GitLab CI', 'GITLAB_CI'], + ['GOCD', 'GoCD', 'GO_PIPELINE_LABEL'], + ['HUDSON', 'Hudson', 'HUDSON_URL'], + ['JENKINS', 'Jenkins', 'JENKINS_URL', 'BUILD_ID'], ['MAGNUM', 'Magnum CI', 'MAGNUM'], ['SEMAPHORE', 'Semaphore', 'SEMAPHORE'], - ['JENKINS', 'Jenkins', 'JENKINS_URL', 'BUILD_ID'], - ['BAMBOO', 'Bamboo', 'bamboo_planKey'], - ['TFS', 'Team Foundation Server', 'TF_BUILD'], - ['TEAMCITY', 'TeamCity', 'TEAMCITY_VERSION'], - ['BUILDKITE', 'Buildkite', 'BUILDKITE'], - ['HUDSON', 'Hudson', 'HUDSON_URL'], + ['SOLANO', 'Solano CI', 'TDDIUM'], + ['STRIDER', 'Strider CD', 'STRIDER'], ['TASKCLUSTER', 'TaskCluster', 'TASK_ID', 'RUN_ID'], - ['GOCD', 'GoCD', 'GO_PIPELINE_LABEL'], - ['BITBUCKET', 'Bitbucket Pipelines', 'BITBUCKET_COMMIT'], - ['CODEBUILD', 'AWS CodeBuild', 'CODEBUILD_BUILD_ARN'] + ['TDDIUM', 'Solano CI', 'TDDIUM'], // Deprecated + ['TEAMCITY', 'TeamCity', 'TEAMCITY_VERSION'], + ['TFS', 'Team Foundation Server', 'TF_BUILD'], + ['TRAVIS', 'Travis CI', 'TRAVIS'] ] exports.name = null @@ -40,9 +43,9 @@ vendors.forEach(function (vendor) { }) exports.isCI = !!( - env.CI || // Travis CI, CircleCI, Gitlab CI, Appveyor, CodeShip - env.CONTINUOUS_INTEGRATION || // Travis CI - env.BUILD_NUMBER || // Jenkins, TeamCity + env.CI || // Travis CI, CircleCI, Gitlab CI, Appveyor, CodeShip + env.CONTINUOUS_INTEGRATION || // Travis 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 51a3ed5d22918..7f5c4434a3591 100644 --- a/node_modules/ci-info/package.json +++ b/node_modules/ci-info/package.json @@ -1,27 +1,33 @@ { - "_from": "ci-info@^1.0.0", - "_id": "ci-info@1.1.3", + "_args": [ + [ + "ci-info@1.3.1", + "/Users/sibiraj/Documents/cli" + ] + ], + "_from": "ci-info@1.3.1", + "_id": "ci-info@1.3.1", "_inBundle": false, - "_integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==", + "_integrity": "sha512-l4wK/SFEN8VVTQ9RO1I5yzIL2vw1w6My29qA6Gwaec80QeHxfXbruuUWqn1knyMoJn/X5kav3zVY1TlRHSKeIA==", "_location": "/ci-info", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "ci-info@^1.0.0", + "raw": "ci-info@1.3.1", "name": "ci-info", "escapedName": "ci-info", - "rawSpec": "^1.0.0", + "rawSpec": "1.3.1", "saveSpec": null, - "fetchSpec": "^1.0.0" + "fetchSpec": "1.3.1" }, "_requiredBy": [ + "/", "/is-ci" ], - "_resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", - "_shasum": "710193264bb05c77b8c90d02f5aaf22216a667b2", - "_spec": "ci-info@^1.0.0", - "_where": "/Users/rebecca/code/npm/node_modules/is-ci", + "_resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.3.1.tgz", + "_spec": "1.3.1", + "_where": ".", "author": { "name": "Thomas Watson Steen", "email": "w@tson.dk", @@ -30,17 +36,15 @@ "bugs": { "url": "https://github.com/watson/ci-info/issues" }, - "bundleDependencies": false, "coordinates": [ - 55.777613, - 12.589943 + 55.777514, + 12.592202 ], "dependencies": {}, - "deprecated": false, "description": "Get details about the current Continuous Integration environment", "devDependencies": { "clear-require": "^1.0.1", - "standard": "^10.0.3" + "standard": "^11.0.1" }, "homepage": "https://github.com/watson/ci-info", "keywords": [ @@ -60,5 +64,5 @@ "scripts": { "test": "standard && node test.js" }, - "version": "1.1.3" + "version": "1.3.1" } diff --git a/package-lock.json b/package-lock.json index 21b74bd4ca6f2..016ff136343cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -471,9 +471,9 @@ "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=" }, "ci-info": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", - "integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.3.1.tgz", + "integrity": "sha512-l4wK/SFEN8VVTQ9RO1I5yzIL2vw1w6My29qA6Gwaec80QeHxfXbruuUWqn1knyMoJn/X5kav3zVY1TlRHSKeIA==" }, "cidr-regex": { "version": "2.0.9", diff --git a/package.json b/package.json index a2e97e7a60802..2df5343ce6617 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "cacache": "^11.2.0", "call-limit": "~1.1.0", "chownr": "~1.0.1", + "ci-info": "^1.3.1", "cli-columns": "^3.1.2", "cli-table3": "^0.5.0", "cmd-shim": "~2.0.2", @@ -154,6 +155,7 @@ "bluebird", "bin-links", "chownr", + "ci-info", "cmd-shim", "columnify", "config-chain",