kopia lustrzana https://github.com/badgen/badgen.net
feat: migrate /codecov
rodzic
b4487415f8
commit
4b969c14c9
|
|
@ -38,7 +38,6 @@ export const liveBadgeList = [
|
|||
'travis',
|
||||
'circleci',
|
||||
'appveyor',
|
||||
'codecov',
|
||||
'codacy',
|
||||
'coveralls',
|
||||
'azure-pipelines',
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import npm from '../pages/api/npm'
|
|||
import bundlephobia from '../pages/api/bundlephobia'
|
||||
import packagephobia from '../pages/api/packagephobia'
|
||||
import codeclimate from '../pages/api/codeclimate'
|
||||
import codecov from '../pages/api/codecov'
|
||||
import chromeWebStore from '../pages/api/chrome-web-store'
|
||||
import hackage from '../pages/api/hackage'
|
||||
import pypi from '../pages/api/pypi'
|
||||
|
|
@ -18,6 +19,7 @@ export default {
|
|||
bundlephobia: bundlephobia.meta,
|
||||
packagephobia: packagephobia.meta,
|
||||
codeclimate: codeclimate.meta,
|
||||
codecov: codecov.meta,
|
||||
'chrome-web-store': chromeWebStore.meta,
|
||||
hackage: hackage.meta,
|
||||
pypi: pypi.meta,
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ const nextConfig = {
|
|||
'/bundlephobia',
|
||||
'/packagephobia',
|
||||
'/codeclimate',
|
||||
'/codecov',
|
||||
'/chrome-web-store',
|
||||
'/hackage',
|
||||
'/ppm',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import got from '../libs/got'
|
||||
import { coverage, coverageColor } from '../libs/utils'
|
||||
import { createBadgenHandler, PathArgs } from '../libs/create-badgen-handler'
|
||||
import got from '../../libs/got'
|
||||
import { coverage, coverageColor } from '../../libs/utils'
|
||||
import { createBadgenHandler, PathArgs } from '../../libs/create-badgen-handler-next'
|
||||
|
||||
export default createBadgenHandler({
|
||||
title: 'CodeCov',
|
||||
|
|
@ -30,10 +30,6 @@
|
|||
"source": "/codacy/:match*",
|
||||
"destination": "https://v2022.badgen.net/codacy/:match*"
|
||||
},
|
||||
{
|
||||
"source": "/codecov/:match*",
|
||||
"destination": "https://v2022.badgen.net/codecov/:match*"
|
||||
},
|
||||
{
|
||||
"source": "/coveralls/:match*",
|
||||
"destination": "https://v2022.badgen.net/coveralls/:match*"
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue