From 935149ccc3a157a1ff03eadf2e818cb1b6b327e2 Mon Sep 17 00:00:00 2001 From: Rauno Viskus Date: Wed, 16 Feb 2022 22:26:25 +0200 Subject: [PATCH] chore: remove deprecated dependency of codecov (#906) --- .github/workflows/unit-test.yml | 8 ++++++-- .nycrc | 4 ++++ .../package.json | 2 -- .../node/opentelemetry-resource-detector-aws/package.json | 2 -- .../node/opentelemetry-resource-detector-gcp/package.json | 2 -- .../opentelemetry-resource-detector-github/package.json | 2 -- metapackages/auto-instrumentations-node/package.json | 2 -- metapackages/auto-instrumentations-web/package.json | 2 -- package.json | 3 --- .../package.json | 2 -- packages/opentelemetry-host-metrics/package.json | 2 -- packages/opentelemetry-id-generator-aws-xray/package.json | 2 -- plugins/node/instrumentation-tedious/package.json | 2 -- .../opentelemetry-instrumentation-aws-lambda/package.json | 2 -- .../opentelemetry-instrumentation-aws-sdk/package.json | 1 - .../opentelemetry-instrumentation-bunyan/package.json | 2 -- .../opentelemetry-instrumentation-cassandra/package.json | 2 -- .../opentelemetry-instrumentation-connect/package.json | 2 -- .../node/opentelemetry-instrumentation-dns/package.json | 2 -- .../opentelemetry-instrumentation-express/package.json | 2 -- .../opentelemetry-instrumentation-fastify/package.json | 2 -- .../package.json | 2 -- .../opentelemetry-instrumentation-graphql/package.json | 2 -- .../node/opentelemetry-instrumentation-hapi/package.json | 2 -- .../opentelemetry-instrumentation-ioredis/package.json | 2 -- .../node/opentelemetry-instrumentation-knex/package.json | 2 -- .../node/opentelemetry-instrumentation-koa/package.json | 2 -- .../opentelemetry-instrumentation-memcached/package.json | 2 -- .../opentelemetry-instrumentation-mongodb/package.json | 2 -- .../node/opentelemetry-instrumentation-mysql/package.json | 2 -- .../opentelemetry-instrumentation-mysql2/package.json | 2 -- .../package.json | 2 -- .../node/opentelemetry-instrumentation-net/package.json | 2 -- .../node/opentelemetry-instrumentation-pg/package.json | 2 -- .../node/opentelemetry-instrumentation-pino/package.json | 2 -- .../node/opentelemetry-instrumentation-redis/package.json | 2 -- .../opentelemetry-instrumentation-restify/package.json | 2 -- .../opentelemetry-instrumentation-router/package.json | 2 -- .../opentelemetry-instrumentation-winston/package.json | 2 -- .../package.json | 2 -- .../opentelemetry-instrumentation-long-task/package.json | 2 -- .../package.json | 2 -- plugins/web/opentelemetry-plugin-react-load/package.json | 2 -- .../opentelemetry-propagator-aws-xray/package.json | 2 -- .../package.json | 2 -- .../opentelemetry-propagator-ot-trace/package.json | 2 -- 46 files changed, 10 insertions(+), 90 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index b3260fc765b..7935ff79178 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -146,7 +146,9 @@ jobs: run: npm run test:ci:changed -- ${{ matrix.lerna-extra-args }} - name: Report Coverage if: matrix.node == '14' - run: npm run codecov:ci:changed + uses: codecov/codecov-action@v2 + with: + verbose: true browser-test: strategy: @@ -190,4 +192,6 @@ jobs: - name: Unit tests run: npm run test:browser - name: Report Coverage - run: npm run codecov:browser + uses: codecov/codecov-action@v2 + with: + verbose: true diff --git a/.nycrc b/.nycrc index 1034a3b8aec..2b5cc7ef30c 100644 --- a/.nycrc +++ b/.nycrc @@ -2,6 +2,10 @@ "extension": [ ".ts" ], + "include": [ + "src/**" + ], + "reporter": ["text", "json"], "exclude": [ "**/*.d.ts", "build/**/**/*.js", diff --git a/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json b/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json index e537289118d..c0405235d0c 100644 --- a/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json +++ b/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -49,7 +48,6 @@ "@types/mocha": "8.2.3", "@types/node": "16.11.21", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nock": "12.0.3", diff --git a/detectors/node/opentelemetry-resource-detector-aws/package.json b/detectors/node/opentelemetry-resource-detector-aws/package.json index 3ed6aedbf74..ebaca916d18 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/package.json +++ b/detectors/node/opentelemetry-resource-detector-aws/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -48,7 +47,6 @@ "@types/mocha": "8.2.3", "@types/node": "16.11.21", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nock": "12.0.3", diff --git a/detectors/node/opentelemetry-resource-detector-gcp/package.json b/detectors/node/opentelemetry-resource-detector-gcp/package.json index 698c1089717..50ae8a53048 100644 --- a/detectors/node/opentelemetry-resource-detector-gcp/package.json +++ b/detectors/node/opentelemetry-resource-detector-gcp/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -49,7 +48,6 @@ "@types/mocha": "8.2.3", "@types/node": "16.11.21", "@types/semver": "7.3.8", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nock": "12.0.3", diff --git a/detectors/node/opentelemetry-resource-detector-github/package.json b/detectors/node/opentelemetry-resource-detector-github/package.json index adc2021c05b..4fa46232869 100644 --- a/detectors/node/opentelemetry-resource-detector-github/package.json +++ b/detectors/node/opentelemetry-resource-detector-github/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -51,7 +50,6 @@ "@types/mocha": "8.2.3", "@types/node": "16.11.21", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/metapackages/auto-instrumentations-node/package.json b/metapackages/auto-instrumentations-node/package.json index 69ceba5474c..31afa2bad56 100644 --- a/metapackages/auto-instrumentations-node/package.json +++ b/metapackages/auto-instrumentations-node/package.json @@ -13,7 +13,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -35,7 +34,6 @@ "@types/mocha": "7.0.2", "@types/node": "16.11.21", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/metapackages/auto-instrumentations-web/package.json b/metapackages/auto-instrumentations-web/package.json index b9f8db730ba..bd409256186 100644 --- a/metapackages/auto-instrumentations-web/package.json +++ b/metapackages/auto-instrumentations-web/package.json @@ -14,7 +14,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", - "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "tsc --build tsconfig.json tsconfig.esm.json", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -39,7 +38,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1", diff --git a/package.json b/package.json index 6892aae5b3b..96eae248215 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,6 @@ "test:browser": "lerna run test:browser --concurrency 1", "bootstrap": "lerna bootstrap --no-ci", "bump": "lerna publish", - "codecov": "lerna run codecov", - "codecov:ci:changed": "lerna run codecov --since origin/main --parallel", - "codecov:browser": "lerna run codecov:browser", "changelog": "lerna-changelog", "lerna:link": "lerna link", "lint": "lerna run lint", diff --git a/packages/opentelemetry-browser-extension-autoinjection/package.json b/packages/opentelemetry-browser-extension-autoinjection/package.json index 810765ef649..6c184538eb2 100644 --- a/packages/opentelemetry-browser-extension-autoinjection/package.json +++ b/packages/opentelemetry-browser-extension-autoinjection/package.json @@ -4,7 +4,6 @@ "description": "A browser extension that injects opentelemetry tracers into any website", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "tsc --build tsconfig.json", "build": "npx webpack --mode=production", "build:mv2": "npx webpack --mode=production --env MV=2", @@ -37,7 +36,6 @@ "@types/sinon-chrome": "2.2.11", "@typescript-eslint/eslint-plugin": "5.8.1", "@typescript-eslint/parser": "5.8.1", - "codecov": "3.8.3", "colors": "1.4.0", "eslint": "8.7.0", "eslint-config-airbnb-base": "15.0.0", diff --git a/packages/opentelemetry-host-metrics/package.json b/packages/opentelemetry-host-metrics/package.json index 787d6198aeb..35ec944057b 100644 --- a/packages/opentelemetry-host-metrics/package.json +++ b/packages/opentelemetry-host-metrics/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -51,7 +50,6 @@ "@types/mocha": "8.2.3", "@types/node": "16.11.21", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/packages/opentelemetry-id-generator-aws-xray/package.json b/packages/opentelemetry-id-generator-aws-xray/package.json index ef131882c96..71b7edecbe5 100644 --- a/packages/opentelemetry-id-generator-aws-xray/package.json +++ b/packages/opentelemetry-id-generator-aws-xray/package.json @@ -21,7 +21,6 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts", "test:browser": "nyc karma start --single-run", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "version": "node ../../scripts/version-update.js", @@ -61,7 +60,6 @@ "@types/node": "16.11.21", "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1", diff --git a/plugins/node/instrumentation-tedious/package.json b/plugins/node/instrumentation-tedious/package.json index 43ed9ed1d87..5835a82b4d5 100644 --- a/plugins/node/instrumentation-tedious/package.json +++ b/plugins/node/instrumentation-tedious/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "compile": "npm run version:update && tsc -p .", "lint:fix": "eslint . --ext .ts --fix", "lint": "eslint . --ext .ts", @@ -54,7 +53,6 @@ "@opentelemetry/sdk-trace-base": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json b/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json index efcb8a1107f..7126f2d18b7 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json +++ b/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json @@ -11,7 +11,6 @@ "clean": "rimraf build/*", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-aws-lambda --include-dependencies", "prewatch": "npm run precompile", "prepare": "npm run compile", @@ -52,7 +51,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json b/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json index 67c650cc0b5..abfa55093bb 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json +++ b/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json @@ -30,7 +30,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", diff --git a/plugins/node/opentelemetry-instrumentation-bunyan/package.json b/plugins/node/opentelemetry-instrumentation-bunyan/package.json index 89c982d005e..bbd8050deed 100644 --- a/plugins/node/opentelemetry-instrumentation-bunyan/package.json +++ b/plugins/node/opentelemetry-instrumentation-bunyan/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -56,7 +55,6 @@ "@types/node": "16.11.21", "@types/sinon": "10.0.2", "bunyan": "1.8.15", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-cassandra/package.json b/plugins/node/opentelemetry-instrumentation-cassandra/package.json index b92d82e5660..1c77e63551c 100644 --- a/plugins/node/opentelemetry-instrumentation-cassandra/package.json +++ b/plugins/node/opentelemetry-instrumentation-cassandra/package.json @@ -11,7 +11,6 @@ "clean": "rimraf build/*", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-cassandra-driver --include-dependencies", "prewatch": "npm run precompile", "prepare": "npm run compile", @@ -57,7 +56,6 @@ "@types/semver": "7.3.8", "@types/sinon": "10.0.2", "cassandra-driver": "4.6.3", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-connect/package.json b/plugins/node/opentelemetry-instrumentation-connect/package.json index 79bbd931333..572ea6ecd72 100644 --- a/plugins/node/opentelemetry-instrumentation-connect/package.json +++ b/plugins/node/opentelemetry-instrumentation-connect/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -51,7 +50,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.2", "connect": "3.7.0", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-dns/package.json b/plugins/node/opentelemetry-instrumentation-dns/package.json index 073cf4db966..e078bae4e81 100644 --- a/plugins/node/opentelemetry-instrumentation-dns/package.json +++ b/plugins/node/opentelemetry-instrumentation-dns/package.json @@ -11,7 +11,6 @@ "clean": "rimraf build/*", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-dns --include-dependencies", "prewatch": "npm run precompile", "prepare": "npm run compile", @@ -55,7 +54,6 @@ "@types/semver": "7.3.8", "@types/shimmer": "1.0.2", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-express/package.json b/plugins/node/opentelemetry-instrumentation-express/package.json index 2fd8400804e..f8d1851fb43 100644 --- a/plugins/node/opentelemetry-instrumentation-express/package.json +++ b/plugins/node/opentelemetry-instrumentation-express/package.json @@ -8,7 +8,6 @@ "scripts": { "test-all-versions": "tav", "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -54,7 +53,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "express": "4.17.1", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-fastify/package.json b/plugins/node/opentelemetry-instrumentation-fastify/package.json index 68a8599345b..94404ca7845 100644 --- a/plugins/node/opentelemetry-instrumentation-fastify/package.json +++ b/plugins/node/opentelemetry-instrumentation-fastify/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -53,7 +52,6 @@ "@types/express": "4.17.13", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "fastify-express": "0.3.3", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-generic-pool/package.json b/plugins/node/opentelemetry-instrumentation-generic-pool/package.json index 3843d3dee8f..88f3d3231b3 100644 --- a/plugins/node/opentelemetry-instrumentation-generic-pool/package.json +++ b/plugins/node/opentelemetry-instrumentation-generic-pool/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.ts'", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -53,7 +52,6 @@ "@types/mocha": "7.0.2", "@types/node": "16.11.21", "@types/semver": "7.3.8", - "codecov": "3.8.3", "generic-pool": "3.8.2", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-graphql/package.json b/plugins/node/opentelemetry-instrumentation-graphql/package.json index 643cb1f54b7..a8da7f644ae 100644 --- a/plugins/node/opentelemetry-instrumentation-graphql/package.json +++ b/plugins/node/opentelemetry-instrumentation-graphql/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -52,7 +51,6 @@ "@opentelemetry/sdk-trace-base": "1.0.1", "@types/mocha": "8.2.3", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-hapi/package.json b/plugins/node/opentelemetry-instrumentation-hapi/package.json index a10eaa65d27..b1526ad3f3d 100644 --- a/plugins/node/opentelemetry-instrumentation-hapi/package.json +++ b/plugins/node/opentelemetry-instrumentation-hapi/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "test": "nyc ts-mocha -p tsconfig.json --config .mocharc.js", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -53,7 +52,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-ioredis/package.json b/plugins/node/opentelemetry-instrumentation-ioredis/package.json index a9850a2a09a..60fa8959f0a 100644 --- a/plugins/node/opentelemetry-instrumentation-ioredis/package.json +++ b/plugins/node/opentelemetry-instrumentation-ioredis/package.json @@ -19,7 +19,6 @@ "prewatch": "npm run precompile", "version:update": "node ../../../scripts/version-update.js", "compile": "npm run version:update && tsc -p .", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "prepare": "npm run compile" }, "keywords": [ @@ -59,7 +58,6 @@ "@types/mocha": "7.0.2", "@types/sinon": "10.0.9", "@types/node": "16.11.21", - "codecov": "3.8.3", "cross-env": "7.0.3", "gts": "3.1.0", "ioredis": "4.27.7", diff --git a/plugins/node/opentelemetry-instrumentation-knex/package.json b/plugins/node/opentelemetry-instrumentation-knex/package.json index 50c558d3fac..8d68399d169 100644 --- a/plugins/node/opentelemetry-instrumentation-knex/package.json +++ b/plugins/node/opentelemetry-instrumentation-knex/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.ts'", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -52,7 +51,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "knex": "0.95.9", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-koa/package.json b/plugins/node/opentelemetry-instrumentation-koa/package.json index c2d0dd50f9c..4a05e501f02 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/package.json +++ b/plugins/node/opentelemetry-instrumentation-koa/package.json @@ -8,7 +8,6 @@ "scripts": { "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.ts'", "test-all-versions": "tav", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -56,7 +55,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "koa": "2.13.1", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-memcached/package.json b/plugins/node/opentelemetry-instrumentation-memcached/package.json index efc3b32537c..d2dc0bc61af 100644 --- a/plugins/node/opentelemetry-instrumentation-memcached/package.json +++ b/plugins/node/opentelemetry-instrumentation-memcached/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -55,7 +54,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "cross-env": "7.0.3", "gts": "3.1.0", "memcached": "2.2.2", diff --git a/plugins/node/opentelemetry-instrumentation-mongodb/package.json b/plugins/node/opentelemetry-instrumentation-mongodb/package.json index 8e564040f05..fb8b4e6c19b 100644 --- a/plugins/node/opentelemetry-instrumentation-mongodb/package.json +++ b/plugins/node/opentelemetry-instrumentation-mongodb/package.json @@ -10,7 +10,6 @@ "test": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'", "test-new-versions": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**mongodb-v4.test.ts'", "test-all-versions": "tav", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "npm run test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -57,7 +56,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "mongodb": "3.6.11", diff --git a/plugins/node/opentelemetry-instrumentation-mysql/package.json b/plugins/node/opentelemetry-instrumentation-mysql/package.json index cd4a11f5a48..7fd2f69bbbb 100644 --- a/plugins/node/opentelemetry-instrumentation-mysql/package.json +++ b/plugins/node/opentelemetry-instrumentation-mysql/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint:fix": "eslint . --ext .ts --fix", "lint": "eslint . --ext .ts", @@ -52,7 +51,6 @@ "@opentelemetry/sdk-trace-base": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "mysql": "2.18.1", diff --git a/plugins/node/opentelemetry-instrumentation-mysql2/package.json b/plugins/node/opentelemetry-instrumentation-mysql2/package.json index 8e68d0783f9..ce516a699dd 100644 --- a/plugins/node/opentelemetry-instrumentation-mysql2/package.json +++ b/plugins/node/opentelemetry-instrumentation-mysql2/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "lint:fix": "eslint . --ext .ts --fix", "lint": "eslint . --ext .ts", @@ -54,7 +53,6 @@ "@opentelemetry/sdk-trace-base": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "mysql2": "2.3.0", diff --git a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json index dc163cf424f..43dd5173298 100644 --- a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json +++ b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "clean": "rimraf build/*", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "compile": "npm run version:update && tsc -p .", "compile:watch": "tsc -w", "lint": "eslint . --ext .ts", @@ -62,7 +61,6 @@ "@types/node": "16.11.21", "@types/semver": "7.3.8", "@types/vinyl-fs": "2.4.12", - "codecov": "3.8.3", "cross-env": "7.0.3", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-net/package.json b/plugins/node/opentelemetry-instrumentation-net/package.json index b7ad423abe7..9120baf9500 100644 --- a/plugins/node/opentelemetry-instrumentation-net/package.json +++ b/plugins/node/opentelemetry-instrumentation-net/package.json @@ -11,7 +11,6 @@ "clean": "rimraf build/*", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-net --include-dependencies", "prewatch": "npm run precompile", "prepare": "npm run compile", @@ -53,7 +52,6 @@ "@types/mocha": "7.0.2", "@types/node": "16.11.21", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-pg/package.json b/plugins/node/opentelemetry-instrumentation-pg/package.json index 5ee71e579ee..94333e09a85 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/package.json +++ b/plugins/node/opentelemetry-instrumentation-pg/package.json @@ -8,7 +8,6 @@ "scripts": { "clean": "rimraf build/*", "compile": "npm run version:update && tsc -p .", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-pg --include-dependencies", @@ -61,7 +60,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "cross-env": "7.0.3", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-pino/package.json b/plugins/node/opentelemetry-instrumentation-pino/package.json index 6687fc4e96c..8c823a3f20e 100644 --- a/plugins/node/opentelemetry-instrumentation-pino/package.json +++ b/plugins/node/opentelemetry-instrumentation-pino/package.json @@ -12,7 +12,6 @@ "clean": "rimraf build/*", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-pino --include-dependencies", "prewatch": "npm run precompile", "prepare": "npm run compile", @@ -56,7 +55,6 @@ "@types/node": "16.11.21", "@types/semver": "7.3.8", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-redis/package.json b/plugins/node/opentelemetry-instrumentation-redis/package.json index 9908c296374..eae843fed60 100644 --- a/plugins/node/opentelemetry-instrumentation-redis/package.json +++ b/plugins/node/opentelemetry-instrumentation-redis/package.json @@ -19,7 +19,6 @@ "prewatch": "npm run precompile", "version:update": "node ../../../scripts/version-update.js", "compile": "npm run version:update && tsc -p .", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "prepare": "npm run compile" }, "keywords": [ @@ -57,7 +56,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "cross-env": "7.0.3", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-restify/package.json b/plugins/node/opentelemetry-instrumentation-restify/package.json index b6168a86d32..277ebee0c56 100644 --- a/plugins/node/opentelemetry-instrumentation-restify/package.json +++ b/plugins/node/opentelemetry-instrumentation-restify/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.ts'", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -52,7 +51,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-router/package.json b/plugins/node/opentelemetry-instrumentation-router/package.json index 6a876cd1549..96afaef04a5 100644 --- a/plugins/node/opentelemetry-instrumentation-router/package.json +++ b/plugins/node/opentelemetry-instrumentation-router/package.json @@ -7,7 +7,6 @@ "repository": "open-telemetry/opentelemetry-js-contrib", "scripts": { "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.ts'", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "tdd": "yarn test -- --watch-extensions ts --watch", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", @@ -52,7 +51,6 @@ "@opentelemetry/sdk-trace-node": "1.0.1", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-winston/package.json b/plugins/node/opentelemetry-instrumentation-winston/package.json index c095b0e2116..72bce86e6d9 100644 --- a/plugins/node/opentelemetry-instrumentation-winston/package.json +++ b/plugins/node/opentelemetry-instrumentation-winston/package.json @@ -12,7 +12,6 @@ "clean": "rimraf build/*", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-winston --include-dependencies", "prewatch": "npm run precompile", "prepare": "npm run compile", @@ -55,7 +54,6 @@ "@types/mocha": "7.0.2", "@types/node": "16.11.21", "@types/sinon": "10.0.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/plugins/web/opentelemetry-instrumentation-document-load/package.json b/plugins/web/opentelemetry-instrumentation-document-load/package.json index 21c41ff2f21..773959daadf 100644 --- a/plugins/web/opentelemetry-instrumentation-document-load/package.json +++ b/plugins/web/opentelemetry-instrumentation-document-load/package.json @@ -10,7 +10,6 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-document-load --include-dependencies", "prewatch": "npm run precompile", "version:update": "node ../../../scripts/version-update.js", @@ -58,7 +57,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1", diff --git a/plugins/web/opentelemetry-instrumentation-long-task/package.json b/plugins/web/opentelemetry-instrumentation-long-task/package.json index 2d1ee4c52b3..dafa0a0093b 100644 --- a/plugins/web/opentelemetry-instrumentation-long-task/package.json +++ b/plugins/web/opentelemetry-instrumentation-long-task/package.json @@ -10,7 +10,6 @@ "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", - "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-user-interaction --include-dependencies", "prewatch": "npm run precompile", "version:update": "node ../../../scripts/version-update.js", @@ -57,7 +56,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1", diff --git a/plugins/web/opentelemetry-instrumentation-user-interaction/package.json b/plugins/web/opentelemetry-instrumentation-user-interaction/package.json index 6c9ec090926..cb764fc1e80 100644 --- a/plugins/web/opentelemetry-instrumentation-user-interaction/package.json +++ b/plugins/web/opentelemetry-instrumentation-user-interaction/package.json @@ -10,7 +10,6 @@ "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", - "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-user-interaction --include-dependencies", "prewatch": "npm run precompile", "version:update": "node ../../../scripts/version-update.js", @@ -59,7 +58,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1", diff --git a/plugins/web/opentelemetry-plugin-react-load/package.json b/plugins/web/opentelemetry-plugin-react-load/package.json index a76696d0441..ec12c5503a8 100644 --- a/plugins/web/opentelemetry-plugin-react-load/package.json +++ b/plugins/web/opentelemetry-plugin-react-load/package.json @@ -10,7 +10,6 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", - "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", "precompile": "tsc --version && lerna run version --scope @opentelemetry/plugin-react-load --include-dependencies", "prewatch": "npm run precompile", "version:update": "node ../../../scripts/version-update.js", @@ -60,7 +59,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1", diff --git a/propagators/opentelemetry-propagator-aws-xray/package.json b/propagators/opentelemetry-propagator-aws-xray/package.json index 3db608617f6..2fddeadb381 100644 --- a/propagators/opentelemetry-propagator-aws-xray/package.json +++ b/propagators/opentelemetry-propagator-aws-xray/package.json @@ -13,7 +13,6 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts", "test:browser": "nyc karma start --single-run", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "version": "node ../../scripts/version-update.js", @@ -54,7 +53,6 @@ "@types/mocha": "8.2.3", "@types/node": "16.11.21", "@types/webpack-env": "1.16.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1", diff --git a/propagators/opentelemetry-propagator-grpc-census-binary/package.json b/propagators/opentelemetry-propagator-grpc-census-binary/package.json index 664ab3820f2..5cda1c6ceb1 100644 --- a/propagators/opentelemetry-propagator-grpc-census-binary/package.json +++ b/propagators/opentelemetry-propagator-grpc-census-binary/package.json @@ -9,7 +9,6 @@ "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'", "tdd": "npm run tdd:node", "tdd:node": "npm run test -- --watch-extensions ts --watch", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "clean": "rimraf build/*", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", @@ -50,7 +49,6 @@ "@opentelemetry/api": "1.0.2", "@types/mocha": "7.0.2", "@types/node": "16.11.21", - "codecov": "3.8.3", "grpc": "1.24.11", "gts": "3.1.0", "mocha": "7.2.0", diff --git a/propagators/opentelemetry-propagator-ot-trace/package.json b/propagators/opentelemetry-propagator-ot-trace/package.json index 505744c9e73..1a9302cdb60 100644 --- a/propagators/opentelemetry-propagator-ot-trace/package.json +++ b/propagators/opentelemetry-propagator-ot-trace/package.json @@ -13,7 +13,6 @@ "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json", "test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts", "test:browser": "nyc karma start --single-run", - "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "version": "node ../../scripts/version-update.js", @@ -55,7 +54,6 @@ "@types/mocha": "8.2.3", "@types/node": "16.11.21", "@types/webpack-env": "1.16.2", - "codecov": "3.8.3", "colors": "1.4.0", "gts": "3.1.0", "istanbul-instrumenter-loader": "3.0.1",