Skip to content

Commit 8b072dc

Browse files
authored
deps: @npmcli/ci-detect@3.0.0 (#5639)
1 parent 1ebbb44 commit 8b072dc

File tree

5 files changed

+28
-23
lines changed

5 files changed

+28
-23
lines changed

node_modules/@npmcli/ci-detect/lib/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ module.exports = () =>
4545
: process.env.TRAVIS ? 'travis-ci'
4646
// aws CodeBuild/CodePipeline
4747
: process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'
48+
: process.env.CI === 'woodpecker' ? 'woodpecker'
4849
: process.env.CI === 'true' || process.env.CI === '1' ? 'custom'
4950
// Google Cloud Build - it sets almost nothing
5051
: process.env.BUILDER_OUTPUT ? 'builder'
+19-16
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,44 @@
11
{
22
"name": "@npmcli/ci-detect",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"description": "Detect what kind of CI environment the program is in",
55
"author": "GitHub Inc.",
66
"license": "ISC",
77
"main": "./lib",
88
"scripts": {
99
"test": "tap",
10-
"preversion": "npm test",
11-
"postversion": "npm publish",
12-
"prepublishOnly": "git push origin --follow-tags",
13-
"lint": "eslint '**/*.js'",
14-
"postlint": "npm-template-check",
15-
"template-copy": "npm-template-copy --force",
10+
"lint": "eslint \"**/*.js\"",
11+
"postlint": "template-oss-check",
1612
"lintfix": "npm run lint -- --fix",
1713
"snap": "tap",
18-
"posttest": "npm run lint"
14+
"posttest": "npm run lint",
15+
"template-oss-apply": "template-oss-apply --force"
1916
},
2017
"tap": {
21-
"check-coverage": true
18+
"check-coverage": true,
19+
"nyc-arg": [
20+
"--exclude",
21+
"tap-snapshots/**"
22+
]
2223
},
2324
"devDependencies": {
24-
"@npmcli/template-oss": "^2.7.1",
25-
"tap": "^15.1.6"
25+
"@npmcli/eslint-config": "^3.0.1",
26+
"@npmcli/template-oss": "4.4.4",
27+
"tap": "^16.0.1"
2628
},
2729
"files": [
28-
"bin",
29-
"lib"
30+
"bin/",
31+
"lib/"
3032
],
3133
"repository": {
3234
"type": "git",
33-
"url": "git+https://github.com/npm/ci-detect.git"
35+
"url": "https://github.com/npm/ci-detect.git"
3436
},
3537
"engines": {
36-
"node": "^12.13.0 || ^14.15.0 || >=16"
38+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
3739
},
3840
"templateOSS": {
39-
"version": "2.7.1"
41+
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
42+
"version": "4.4.4"
4043
}
4144
}

package-lock.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"dependencies": {
9393
"@isaacs/string-locale-compare": "^1.1.0",
9494
"@npmcli/arborist": "^6.0.0-pre.3",
95-
"@npmcli/ci-detect": "^2.0.0",
95+
"@npmcli/ci-detect": "^3.0.0",
9696
"@npmcli/config": "^4.2.1",
9797
"@npmcli/fs": "^2.1.0",
9898
"@npmcli/map-workspaces": "^2.0.3",
@@ -2138,11 +2138,12 @@
21382138
"link": true
21392139
},
21402140
"node_modules/@npmcli/ci-detect": {
2141-
"version": "2.0.0",
2141+
"version": "3.0.0",
2142+
"resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-3.0.0.tgz",
2143+
"integrity": "sha512-d6eGMbZ2j6n2b1KpGNbTsKNpCe3NU7xe7stzeXu6BJyLbMZ/FGHnSuwozcHEckGRKF06RO+Z8FpHg7nAbBmuUw==",
21422144
"inBundle": true,
2143-
"license": "ISC",
21442145
"engines": {
2145-
"node": "^12.13.0 || ^14.15.0 || >=16"
2146+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
21462147
}
21472148
},
21482149
"node_modules/@npmcli/config": {
@@ -13930,7 +13931,7 @@
1393013931
"license": "ISC",
1393113932
"dependencies": {
1393213933
"@npmcli/arborist": "^6.0.0-pre.3",
13933-
"@npmcli/ci-detect": "^2.0.0",
13934+
"@npmcli/ci-detect": "^3.0.0",
1393413935
"@npmcli/fs": "^2.1.1",
1393513936
"@npmcli/run-script": "^4.2.0",
1393613937
"chalk": "^4.1.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"dependencies": {
5858
"@isaacs/string-locale-compare": "^1.1.0",
5959
"@npmcli/arborist": "^6.0.0-pre.3",
60-
"@npmcli/ci-detect": "^2.0.0",
60+
"@npmcli/ci-detect": "^3.0.0",
6161
"@npmcli/config": "^4.2.1",
6262
"@npmcli/fs": "^2.1.0",
6363
"@npmcli/map-workspaces": "^2.0.3",

workspaces/libnpmexec/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"dependencies": {
6161
"@npmcli/arborist": "^6.0.0-pre.3",
62-
"@npmcli/ci-detect": "^2.0.0",
62+
"@npmcli/ci-detect": "^3.0.0",
6363
"@npmcli/fs": "^2.1.1",
6464
"@npmcli/run-script": "^4.2.0",
6565
"chalk": "^4.1.0",

0 commit comments

Comments
 (0)