diff options
author | Kat Marchán <kzm@zkat.tech> | 2018-08-21 01:41:01 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-08-21 02:17:50 +0300 |
commit | 577144cc87b8875206680629c0464e80ee49fbc6 (patch) | |
tree | 0c8221de92802372e3b9ce537b9fb9ebf5a6dc32 /node_modules | |
parent | 3fea3166eb4f43f574fcfd9ee71a171feea2bc29 (diff) |
ci-info@1.3.1
PR-URL: https://github.com/npm/cli/pull/33
Credit: @Sibiraj-S
Reviewed-By: @zkat
Diffstat (limited to 'node_modules')
-rw-r--r-- | node_modules/ci-info/LICENSE | 2 | ||||
-rw-r--r-- | node_modules/ci-info/README.md | 17 | ||||
-rw-r--r-- | node_modules/ci-info/index.js | 33 | ||||
-rw-r--r-- | node_modules/ci-info/package.json | 38 |
4 files changed, 54 insertions, 36 deletions
diff --git a/node_modules/ci-info/LICENSE b/node_modules/ci-info/LICENSE index 4a59c9417..67846832e 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 2c6cccf2b..8e91c3164 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 e716e34b3..48a298230 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 51a3ed5d2..7f5c4434a 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" } |