Skip to content

Commit

Permalink
BUGFIX-RELEASE: update cgroup-metrics to get rid of codecov as produc…
Browse files Browse the repository at this point in the history
…tion dependency, fix codecov in build (#25)

* fix codecov

* update @adobe/cgroup-metrics to 3.0.1

* fix codecov missing the coverage data

* update to latest codecov 3.7.2 as 3.7.1 was completely broken

see codecov/codecov-node#185

* add codecov badge
  • Loading branch information
alexkli committed Jul 22, 2020
1 parent ed15755 commit eadddc5
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 19 deletions.
5 changes: 3 additions & 2 deletions README.md
@@ -1,9 +1,10 @@
# Adobe Asset Compute Worker SDK

[![Version](https://img.shields.io/npm/v/@adobe/asset-compute-sdk.svg)](https://npmjs.org/package/@adobe/asset-compute-sdk)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![codecov](https://codecov.io/gh/adobe/asset-compute-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/adobe/asset-compute-sdk)
[![Travis](https://travis-ci.com/adobe/asset-compute-sdk.svg?branch=master)](https://travis-ci.com/adobe/asset-compute-sdk)

# Adobe Asset Compute Worker SDK

This library is required for all custom workers for the Adobe Asset Compute Service. It provides an easy to use framework and takes care of common things like asset & rendition access, validation and type checks, event notification, error handling and more.

- [Installation](#installation)
Expand Down
43 changes: 29 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@adobe/asset-compute-commons": "^1.1.1",
"@adobe/cgroup-metrics": "^3.0.0",
"@adobe/cgroup-metrics": "^3.0.1",
"@adobe/httptransfer": "^1.0.1",
"@adobe/metrics-sampler": "^1.0.0",
"@adobe/node-fetch-retry": "^1.0.1",
Expand All @@ -34,7 +34,7 @@
"devDependencies": {
"@adobe/eslint-config-asset-compute": "^1.3.0",
"@semantic-release/git": "9.0.0",
"codecov": "^3.7.0",
"codecov": "^3.7.2",
"conventional-changelog-eslint": "3.0.8",
"envfile": "^5.2.0",
"expect.js": "^0.3.1",
Expand Down Expand Up @@ -62,10 +62,11 @@
"adobe"
],
"scripts": {
"test": "nyc mocha test --file test/logfile.setup.js --recursive --exit",
"test": "nyc -r=text -r=lcov mocha test --file test/logfile.setup.js --recursive --exit",
"posttest": "eslint ./ && license-checker --summary && ./node_modules/lockfile-lint/bin/lockfile-lint.js --path package-lock.json —type npm --allowed-hosts npm artifactory.corp.adobe.com --allowed-schemes \"https:\" \"file:\" --empty-hostname true",
"beautify": "eslint ./ --fix",
"unit-test": "nyc --reporter=html --reporter=text mocha test --recursive --exit -- -v",
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"semantic-release": "semantic-release"
}
}

0 comments on commit eadddc5

Please sign in to comment.