Skip to content

Commit fb13bda

Browse files
authored
deps: @npmcli/[email protected] (#4403)
1 parent 54cda96 commit fb13bda

File tree

5 files changed

+36
-17
lines changed

5 files changed

+36
-17
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = () =>
1313
: process.env.DSARI ? 'dsari'
1414
: process.env.GITHUB_ACTION ? 'github-actions'
1515
: process.env.TDDIUM ? 'tddium'
16+
: process.env.SCREWDRIVER ? 'screwdriver'
1617
: process.env.STRIDER ? 'strider'
1718
: process.env.TASKCLUSTER_ROOT_URL ? 'taskcluster'
1819
: process.env.JENKINS_URL ? 'jenkins'
Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,41 @@
11
{
22
"name": "@npmcli/ci-detect",
3-
"version": "1.4.0",
3+
"version": "2.0.0",
44
"description": "Detect what kind of CI environment the program is in",
5-
"author": "Isaac Z. Schlueter <[email protected]> (https://izs.me)",
5+
"author": "GitHub Inc.",
66
"license": "ISC",
7+
"main": "./lib",
78
"scripts": {
89
"test": "tap",
910
"preversion": "npm test",
1011
"postversion": "npm publish",
11-
"prepublishOnly": "git push origin --follow-tags"
12+
"prepublishOnly": "git push origin --follow-tags",
13+
"lint": "eslint '**/*.js'",
14+
"postlint": "npm-template-check",
15+
"template-copy": "npm-template-copy --force",
16+
"lintfix": "npm run lint -- --fix",
17+
"snap": "tap",
18+
"posttest": "npm run lint"
1219
},
1320
"tap": {
1421
"check-coverage": true
1522
},
1623
"devDependencies": {
17-
"tap": "^14.10.2"
24+
"@npmcli/template-oss": "^2.7.1",
25+
"tap": "^15.1.6"
1826
},
1927
"files": [
20-
"index.js"
28+
"bin",
29+
"lib"
2130
],
2231
"repository": {
2332
"type": "git",
2433
"url": "git+https://github.com/npm/ci-detect.git"
34+
},
35+
"engines": {
36+
"node": "^12.13.0 || ^14.15.0 || >=16"
37+
},
38+
"templateOSS": {
39+
"version": "2.7.1"
2540
}
2641
}

package-lock.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"dependencies": {
8989
"@isaacs/string-locale-compare": "^1.1.0",
9090
"@npmcli/arborist": "^4.3.1",
91-
"@npmcli/ci-detect": "^1.4.0",
91+
"@npmcli/ci-detect": "^2.0.0",
9292
"@npmcli/config": "^3.0.0",
9393
"@npmcli/map-workspaces": "^2.0.0",
9494
"@npmcli/package-json": "^1.0.1",
@@ -806,10 +806,13 @@
806806
"link": true
807807
},
808808
"node_modules/@npmcli/ci-detect": {
809-
"version": "1.4.0",
810-
"resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz",
811-
"integrity": "sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q==",
812-
"inBundle": true
809+
"version": "2.0.0",
810+
"resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-2.0.0.tgz",
811+
"integrity": "sha512-8yQtQ9ArHh/TzdUDKQwEvwCgpDuhSWTDAbiKMl3854PcT+Dk4UmWaiawuFTLy9n5twzXOBXVflWe+90/ffXQrA==",
812+
"inBundle": true,
813+
"engines": {
814+
"node": "^12.13.0 || ^14.15.0 || >=16"
815+
}
813816
},
814817
"node_modules/@npmcli/config": {
815818
"version": "3.0.0",
@@ -10634,7 +10637,7 @@
1063410637
"license": "ISC",
1063510638
"dependencies": {
1063610639
"@npmcli/arborist": "^4.0.0",
10637-
"@npmcli/ci-detect": "^1.3.0",
10640+
"@npmcli/ci-detect": "^2.0.0",
1063810641
"@npmcli/run-script": "^2.0.0",
1063910642
"chalk": "^4.1.0",
1064010643
"mkdirp-infer-owner": "^2.0.0",
@@ -11492,9 +11495,9 @@
1149211495
}
1149311496
},
1149411497
"@npmcli/ci-detect": {
11495-
"version": "1.4.0",
11496-
"resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz",
11497-
"integrity": "sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q=="
11498+
"version": "2.0.0",
11499+
"resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-2.0.0.tgz",
11500+
"integrity": "sha512-8yQtQ9ArHh/TzdUDKQwEvwCgpDuhSWTDAbiKMl3854PcT+Dk4UmWaiawuFTLy9n5twzXOBXVflWe+90/ffXQrA=="
1149811501
},
1149911502
"@npmcli/config": {
1150011503
"version": "3.0.0",
@@ -14463,7 +14466,7 @@
1446314466
"version": "file:workspaces/libnpmexec",
1446414467
"requires": {
1446514468
"@npmcli/arborist": "^4.0.0",
14466-
"@npmcli/ci-detect": "^1.3.0",
14469+
"@npmcli/ci-detect": "^2.0.0",
1446714470
"@npmcli/run-script": "^2.0.0",
1446814471
"@npmcli/template-oss": "^2.4.2",
1446914472
"bin-links": "^3.0.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"dependencies": {
5757
"@isaacs/string-locale-compare": "^1.1.0",
5858
"@npmcli/arborist": "^4.3.1",
59-
"@npmcli/ci-detect": "^1.4.0",
59+
"@npmcli/ci-detect": "^2.0.0",
6060
"@npmcli/config": "^3.0.0",
6161
"@npmcli/map-workspaces": "^2.0.0",
6262
"@npmcli/package-json": "^1.0.1",

workspaces/libnpmexec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"dependencies": {
5353
"@npmcli/arborist": "^4.0.0",
54-
"@npmcli/ci-detect": "^1.3.0",
54+
"@npmcli/ci-detect": "^2.0.0",
5555
"@npmcli/run-script": "^2.0.0",
5656
"chalk": "^4.1.0",
5757
"mkdirp-infer-owner": "^2.0.0",

0 commit comments

Comments
 (0)