údržba
This commit is contained in:
		
							
								
								
									
										24
									
								
								CyLukTs/lukan/node_modules/is-ci/CHANGELOG.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								CyLukTs/lukan/node_modules/is-ci/CHANGELOG.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
# Changelog
 | 
			
		||||
 | 
			
		||||
## v3.0.1
 | 
			
		||||
 | 
			
		||||
- remove `.github` folder from published files ([dd15229](https://github.com/watson/is-ci/commit/dd15229))
 | 
			
		||||
 | 
			
		||||
## v3.0.0
 | 
			
		||||
 | 
			
		||||
Breaking changes:
 | 
			
		||||
 | 
			
		||||
- update to `ci-info` v3. This drops support for EOL node versions 6, 13
 | 
			
		||||
 | 
			
		||||
## v2.0.0
 | 
			
		||||
 | 
			
		||||
Breaking changes:
 | 
			
		||||
 | 
			
		||||
- Drop support for Node.js end-of-life versions: 0.10, 0.12, 4, 5, 7,
 | 
			
		||||
  and 9
 | 
			
		||||
 | 
			
		||||
Other changes:
 | 
			
		||||
 | 
			
		||||
See [ci-info
 | 
			
		||||
changelog](https://github.com/watson/ci-info/blob/master/CHANGELOG.md#v200)
 | 
			
		||||
for a list of newly supported CI servers.
 | 
			
		||||
							
								
								
									
										21
									
								
								CyLukTs/lukan/node_modules/is-ci/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								CyLukTs/lukan/node_modules/is-ci/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
The MIT License (MIT)
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2016-2021 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
 | 
			
		||||
in the Software without restriction, including without limitation the rights
 | 
			
		||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
furnished to do so, subject to the following conditions:
 | 
			
		||||
 | 
			
		||||
The above copyright notice and this permission notice shall be included in all
 | 
			
		||||
copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | 
			
		||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
			
		||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 | 
			
		||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 | 
			
		||||
SOFTWARE.
 | 
			
		||||
							
								
								
									
										50
									
								
								CyLukTs/lukan/node_modules/is-ci/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								CyLukTs/lukan/node_modules/is-ci/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
# is-ci
 | 
			
		||||
 | 
			
		||||
Returns `true` if the current environment is a Continuous Integration
 | 
			
		||||
server.
 | 
			
		||||
 | 
			
		||||
Please [open an issue](https://github.com/watson/is-ci/issues) if your
 | 
			
		||||
CI server isn't properly detected :)
 | 
			
		||||
 | 
			
		||||
[](https://www.npmjs.com/package/is-ci)
 | 
			
		||||
[](https://github.com/watson/is-ci/actions)
 | 
			
		||||
[](https://github.com/feross/standard)
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
npm install is-ci --save
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Programmatic Usage
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
const isCI = require('is-ci')
 | 
			
		||||
 | 
			
		||||
if (isCI) {
 | 
			
		||||
  console.log('The code is running on a CI server')
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## CLI Usage
 | 
			
		||||
 | 
			
		||||
For CLI usage you need to have the `is-ci` executable in your `PATH`.
 | 
			
		||||
There's a few ways to do that:
 | 
			
		||||
 | 
			
		||||
- Either install the module globally using `npm install is-ci -g`
 | 
			
		||||
- Or add the module as a dependency to your app in which case it can be
 | 
			
		||||
  used inside your package.json scripts as is
 | 
			
		||||
- Or provide the full path to the executable, e.g.
 | 
			
		||||
  `./node_modules/.bin/is-ci`
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
is-ci && echo "This is a CI server"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Supported CI tools
 | 
			
		||||
 | 
			
		||||
Refer to [ci-info](https://github.com/watson/ci-info#supported-ci-tools) docs for all supported CI's
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
[MIT](LICENSE)
 | 
			
		||||
							
								
								
									
										4
									
								
								CyLukTs/lukan/node_modules/is-ci/bin.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								CyLukTs/lukan/node_modules/is-ci/bin.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
#!/usr/bin/env node
 | 
			
		||||
'use strict'
 | 
			
		||||
 | 
			
		||||
process.exit(require('./') ? 0 : 1)
 | 
			
		||||
							
								
								
									
										3
									
								
								CyLukTs/lukan/node_modules/is-ci/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								CyLukTs/lukan/node_modules/is-ci/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
'use strict'
 | 
			
		||||
 | 
			
		||||
module.exports = require('ci-info').isCI
 | 
			
		||||
							
								
								
									
										38
									
								
								CyLukTs/lukan/node_modules/is-ci/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								CyLukTs/lukan/node_modules/is-ci/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "is-ci",
 | 
			
		||||
  "version": "3.0.1",
 | 
			
		||||
  "description": "Detect if the current environment is a CI server",
 | 
			
		||||
  "bin": "bin.js",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "https://github.com/watson/is-ci.git"
 | 
			
		||||
  },
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "url": "https://github.com/watson/is-ci/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "homepage": "https://github.com/watson/is-ci",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "ci",
 | 
			
		||||
    "continuous",
 | 
			
		||||
    "integration",
 | 
			
		||||
    "test",
 | 
			
		||||
    "detect"
 | 
			
		||||
  ],
 | 
			
		||||
  "coordinates": [
 | 
			
		||||
    55.778272,
 | 
			
		||||
    12.593116
 | 
			
		||||
  ],
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "standard && node test.js"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "ci-info": "^3.2.0"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "clear-module": "^4.1.1",
 | 
			
		||||
    "standard": "^16.0.4"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user