From 39160166d865b37da18aa6358de9966486046969 Mon Sep 17 00:00:00 2001 From: vsevolod arutyunov <v.arutyunov@tinkoff.ru> Date: Fri, 22 Sep 2023 14:04:22 +0300 Subject: [PATCH] fix: coverage bandges --- libs/audio/README.md | 2 +- libs/canvas/README.md | 2 +- libs/common/README.md | 2 +- libs/geolocation/README.md | 2 +- libs/intersection-observer/README.md | 1 + libs/midi/README.md | 2 +- libs/mutation-observer/README.md | 2 +- libs/payment-request/README.md | 1 + libs/permissions/README.md | 1 + libs/permissions/karma.conf.js | 2 +- libs/resize-observer/README.md | 2 +- libs/speech/README.md | 1 + libs/storage/README.md | 2 +- libs/universal/README.md | 2 +- libs/view-transition/README.md | 2 +- libs/workers/README.md | 2 +- 16 files changed, 16 insertions(+), 12 deletions(-) diff --git a/libs/audio/README.md b/libs/audio/README.md index bc7685ac4..4824d958b 100644 --- a/libs/audio/README.md +++ b/libs/audio/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/audio.svg)](https://npmjs.com/package/@ng-web-apis/audio) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/audio)](https://bundlephobia.com/result?p=@ng-web-apis/audio) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/audio)](https://coveralls.io/github/ng-web-apis/audio?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=audio)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/audio) This is a library for declarative use of [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) with Angular 7+. It is a complete conversion to declarative Angular directives, if you find any inconsistencies or diff --git a/libs/canvas/README.md b/libs/canvas/README.md index 9390d2299..804712736 100644 --- a/libs/canvas/README.md +++ b/libs/canvas/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/canvas.svg)](https://npmjs.com/package/@ng-web-apis/canvas) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/canvas)](https://bundlephobia.com/result?p=@ng-web-apis/canvas) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/canvas)](https://coveralls.io/github/ng-web-apis/canvas?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=canvas)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/canvas) This is a library for declarative use of [Canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) with Angular. diff --git a/libs/common/README.md b/libs/common/README.md index be321a777..f7ce62935 100644 --- a/libs/common/README.md +++ b/libs/common/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/common.svg)](https://npmjs.com/package/@ng-web-apis/common) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/common)](https://bundlephobia.com/result?p=@ng-web-apis/common) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/common)](https://coveralls.io/github/ng-web-apis/common?branch=main) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=common)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/common) A set of common utils for consuming Web APIs with Angular diff --git a/libs/geolocation/README.md b/libs/geolocation/README.md index 6ed24e36f..cefee0424 100644 --- a/libs/geolocation/README.md +++ b/libs/geolocation/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/geolocation.svg)](https://npmjs.com/package/@ng-web-apis/geolocation) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/geolocation) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/geolocation)](https://coveralls.io/github/ng-web-apis/geolocation?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=geolocation)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/geolocation) This is an `Observable` based abstraction over [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API) to use with Angular diff --git a/libs/intersection-observer/README.md b/libs/intersection-observer/README.md index f392c93e8..7f929f189 100644 --- a/libs/intersection-observer/README.md +++ b/libs/intersection-observer/README.md @@ -2,6 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/intersection-observer.svg)](https://npmjs.com/package/@ng-web-apis/intersection-observer) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/intersection-observer)](https://bundlephobia.com/result?p=@ng-web-apis/intersection-observer) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=intersection-observer)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/intersection-observer) This is a library for declarative use of [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) with Angular. diff --git a/libs/midi/README.md b/libs/midi/README.md index 2586935a1..5dc6aad23 100644 --- a/libs/midi/README.md +++ b/libs/midi/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/midi.svg)](https://npmjs.com/package/@ng-web-apis/midi) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/midi)](https://bundlephobia.com/result?p=@ng-web-apis/midi) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/midi)](https://coveralls.io/github/ng-web-apis/midi?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=midi)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/midi) This library contains abstractions and helpful utils to use [Web MIDI API](https://www.w3.org/TR/webmidi) idiomatically with Angular. diff --git a/libs/mutation-observer/README.md b/libs/mutation-observer/README.md index 732b3f052..3aa529b64 100644 --- a/libs/mutation-observer/README.md +++ b/libs/mutation-observer/README.md @@ -6,7 +6,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/mutation-observer.svg)](https://npmjs.com/package/@ng-web-apis/mutation-observer) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/mutation-observer)](https://bundlephobia.com/result?p=@ng-web-apis/mutation-observer) [![Travis (.com)](https://img.shields.io/travis/com/ng-web-apis/mutation-observer)](https://travis-ci.com/ng-web-apis/mutation-observer) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/mutation-observer)](https://coveralls.io/github/ng-web-apis/mutation-observer?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=mutation-observer)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/mutation-observer) [![angular-open-source-starter](https://img.shields.io/badge/made%20with-angular--open--source--starter-d81676?logo=angular)](https://github.com/TinkoffCreditSystems/angular-open-source-starter) This is a library for declarative use of diff --git a/libs/payment-request/README.md b/libs/payment-request/README.md index 74982d580..40e22b895 100644 --- a/libs/payment-request/README.md +++ b/libs/payment-request/README.md @@ -2,6 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/payment-request.svg)](https://npmjs.com/package/@ng-web-apis/payment-request) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/payment-request)](https://bundlephobia.com/result?p=@ng-web-apis/payment-request) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=payment-request)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/payment-request) Angular does not have any abstractions over [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API). This library provides you diff --git a/libs/permissions/README.md b/libs/permissions/README.md index 1496e101b..0875d8874 100644 --- a/libs/permissions/README.md +++ b/libs/permissions/README.md @@ -2,6 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/permissions.svg)](https://npmjs.com/package/@ng-web-apis/permissions) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/permissions)](https://bundlephobia.com/result?p=@ng-web-apis/permissions) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=permissions)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/permissions) This is a library to use [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API) with Angular. diff --git a/libs/permissions/karma.conf.js b/libs/permissions/karma.conf.js index 85c040202..89973b6dd 100644 --- a/libs/permissions/karma.conf.js +++ b/libs/permissions/karma.conf.js @@ -19,7 +19,7 @@ module.exports = function (config) { suppressAll: true, // removes the duplicated traces }, coverageIstanbulReporter: { - dir: require('path').join(__dirname, '../../coverage/intersection-observer'), + dir: require('path').join(__dirname, '../../coverage/permissions'), reports: ['html', 'lcovonly'], fixWebpackSourcePaths: true, }, diff --git a/libs/resize-observer/README.md b/libs/resize-observer/README.md index 96c2d6836..aafad9ae2 100644 --- a/libs/resize-observer/README.md +++ b/libs/resize-observer/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/resize-observer.svg)](https://npmjs.com/package/@ng-web-apis/resize-observer) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/resize-observer)](https://bundlephobia.com/result?p=@ng-web-apis/resize-observer) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/resize-observer)](https://coveralls.io/github/ng-web-apis/resize-observer?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=resize-observer)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/resize-observer) This is a library for declarative use of [Resize Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Resize_Observer_API) with Angular. diff --git a/libs/speech/README.md b/libs/speech/README.md index dff02bf4f..abda7eb2d 100644 --- a/libs/speech/README.md +++ b/libs/speech/README.md @@ -2,6 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/speech.svg)](https://npmjs.com/package/@ng-web-apis/speech) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/speech)](https://bundlephobia.com/result?p=@ng-web-apis/speech) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=speech)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/speech) This is a library to use [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API) with Angular. diff --git a/libs/storage/README.md b/libs/storage/README.md index 5d8d47f77..be7309640 100644 --- a/libs/storage/README.md +++ b/libs/storage/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/storage.svg)](https://npmjs.com/package/@ng-web-apis/storage) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/storage)](https://bundlephobia.com/result?p=@ng-web-apis/storage) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/storage)](https://coveralls.io/github/ng-web-apis/storage?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=storage)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/storage) This is a library to use [Web Storage API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API) with Angular. diff --git a/libs/universal/README.md b/libs/universal/README.md index fc1a7cd84..0cc95bfb5 100644 --- a/libs/universal/README.md +++ b/libs/universal/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/universal.svg)](https://npmjs.com/package/@ng-web-apis/universal) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/universal)](https://bundlephobia.com/result?p=@ng-web-apis/universal) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/universal)](https://coveralls.io/github/ng-web-apis/universal?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=universal)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/universal) A set of fallbacks to seamlessly use [@ng-web-apis/common](https://github.com/taiga-family/ng-web-apis/tree/main/libs/common) in diff --git a/libs/view-transition/README.md b/libs/view-transition/README.md index fb15d512c..c327708f0 100644 --- a/libs/view-transition/README.md +++ b/libs/view-transition/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/view-transition.svg)](https://npmjs.com/package/@ng-web-apis/view-transition) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/view-transition) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/view-transition)](https://coveralls.io/github/ng-web-apis/view-transition?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=view-transition)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/view-transition) This service is an abstraction over [view transition API](https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API) for Angular diff --git a/libs/workers/README.md b/libs/workers/README.md index dabf235d8..0897d2ce0 100644 --- a/libs/workers/README.md +++ b/libs/workers/README.md @@ -2,7 +2,7 @@ [![npm version](https://img.shields.io/npm/v/@ng-web-apis/workers.svg)](https://npmjs.com/package/@ng-web-apis/workers) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@ng-web-apis/workers)](https://bundlephobia.com/result?p=@ng-web-apis/workers) -[![Coveralls github](https://img.shields.io/coveralls/github/ng-web-apis/workers)](https://coveralls.io/github/ng-web-apis/workers?branch=master) +[![codecov](https://codecov.io/github/taiga-family/ng-web-apis/graph/badge.svg?flag=workers)](https://codecov.io/github/taiga-family/ng-web-apis/tree/main/libs/workers) This is a library for comfortable use of [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) with Angular.