From 3951ca7b23a42bdb3b6c247b2056ed8a6c20aeb6 Mon Sep 17 00:00:00 2001 From: Gar Date: Tue, 4 Oct 2022 10:47:09 -0700 Subject: [PATCH] deps: @npmcli/ci-detect@3.0.0 --- node_modules/@npmcli/ci-detect/lib/index.js | 1 + node_modules/@npmcli/ci-detect/package.json | 35 +++++++++++---------- package-lock.json | 11 ++++--- package.json | 2 +- workspaces/libnpmexec/package.json | 2 +- 5 files changed, 28 insertions(+), 23 deletions(-) diff --git a/node_modules/@npmcli/ci-detect/lib/index.js b/node_modules/@npmcli/ci-detect/lib/index.js index 8be8fe2e6d03b..34755c7f166c3 100644 --- a/node_modules/@npmcli/ci-detect/lib/index.js +++ b/node_modules/@npmcli/ci-detect/lib/index.js @@ -45,6 +45,7 @@ module.exports = () => : process.env.TRAVIS ? 'travis-ci' // aws CodeBuild/CodePipeline : process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild' + : process.env.CI === 'woodpecker' ? 'woodpecker' : process.env.CI === 'true' || process.env.CI === '1' ? 'custom' // Google Cloud Build - it sets almost nothing : process.env.BUILDER_OUTPUT ? 'builder' diff --git a/node_modules/@npmcli/ci-detect/package.json b/node_modules/@npmcli/ci-detect/package.json index c1cf9dc889371..eaf1a3a286429 100644 --- a/node_modules/@npmcli/ci-detect/package.json +++ b/node_modules/@npmcli/ci-detect/package.json @@ -1,41 +1,44 @@ { "name": "@npmcli/ci-detect", - "version": "2.0.0", + "version": "3.0.0", "description": "Detect what kind of CI environment the program is in", "author": "GitHub Inc.", "license": "ISC", "main": "./lib", "scripts": { "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "prepublishOnly": "git push origin --follow-tags", - "lint": "eslint '**/*.js'", - "postlint": "npm-template-check", - "template-copy": "npm-template-copy --force", + "lint": "eslint \"**/*.js\"", + "postlint": "template-oss-check", "lintfix": "npm run lint -- --fix", "snap": "tap", - "posttest": "npm run lint" + "posttest": "npm run lint", + "template-oss-apply": "template-oss-apply --force" }, "tap": { - "check-coverage": true + "check-coverage": true, + "nyc-arg": [ + "--exclude", + "tap-snapshots/**" + ] }, "devDependencies": { - "@npmcli/template-oss": "^2.7.1", - "tap": "^15.1.6" + "@npmcli/eslint-config": "^3.0.1", + "@npmcli/template-oss": "4.4.4", + "tap": "^16.0.1" }, "files": [ - "bin", - "lib" + "bin/", + "lib/" ], "repository": { "type": "git", - "url": "git+https://github.com/npm/ci-detect.git" + "url": "https://github.com/npm/ci-detect.git" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "templateOSS": { - "version": "2.7.1" + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", + "version": "4.4.4" } } diff --git a/package-lock.json b/package-lock.json index d1ce45af626da..e0309554fb515 100644 --- a/package-lock.json +++ b/package-lock.json @@ -92,7 +92,7 @@ "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^6.0.0-pre.3", - "@npmcli/ci-detect": "^2.0.0", + "@npmcli/ci-detect": "^3.0.0", "@npmcli/config": "^4.2.1", "@npmcli/fs": "^2.1.0", "@npmcli/map-workspaces": "^2.0.3", @@ -2138,11 +2138,12 @@ "link": true }, "node_modules/@npmcli/ci-detect": { - "version": "2.0.0", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-3.0.0.tgz", + "integrity": "sha512-d6eGMbZ2j6n2b1KpGNbTsKNpCe3NU7xe7stzeXu6BJyLbMZ/FGHnSuwozcHEckGRKF06RO+Z8FpHg7nAbBmuUw==", "inBundle": true, - "license": "ISC", "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/config": { @@ -13930,7 +13931,7 @@ "license": "ISC", "dependencies": { "@npmcli/arborist": "^6.0.0-pre.3", - "@npmcli/ci-detect": "^2.0.0", + "@npmcli/ci-detect": "^3.0.0", "@npmcli/fs": "^2.1.1", "@npmcli/run-script": "^4.2.0", "chalk": "^4.1.0", diff --git a/package.json b/package.json index 4b3255b55c42f..175bb743df70c 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^6.0.0-pre.3", - "@npmcli/ci-detect": "^2.0.0", + "@npmcli/ci-detect": "^3.0.0", "@npmcli/config": "^4.2.1", "@npmcli/fs": "^2.1.0", "@npmcli/map-workspaces": "^2.0.3", diff --git a/workspaces/libnpmexec/package.json b/workspaces/libnpmexec/package.json index 73224ff6f7afd..7d00c0517f64c 100644 --- a/workspaces/libnpmexec/package.json +++ b/workspaces/libnpmexec/package.json @@ -59,7 +59,7 @@ }, "dependencies": { "@npmcli/arborist": "^6.0.0-pre.3", - "@npmcli/ci-detect": "^2.0.0", + "@npmcli/ci-detect": "^3.0.0", "@npmcli/fs": "^2.1.1", "@npmcli/run-script": "^4.2.0", "chalk": "^4.1.0",