kopia lustrzana https://github.com/badgen/badgen.net
feat: migrate /jsdelivr
rodzic
6d991b2a38
commit
86cf8edaa3
|
@ -37,7 +37,6 @@ export const liveBadgeList = [
|
|||
'deepscan',
|
||||
'uptime-robot',
|
||||
'badgesize',
|
||||
'jsdelivr',
|
||||
// social
|
||||
'devrant',
|
||||
'reddit',
|
||||
|
|
|
@ -8,6 +8,7 @@ import npm from '../pages/api/npm'
|
|||
import pub from '../pages/api/pub'
|
||||
import crates from '../pages/api/crates'
|
||||
import docker from '../pages/api/docker'
|
||||
import jsdelivr from '../pages/api/jsdelivr'
|
||||
import bundlephobia from '../pages/api/bundlephobia'
|
||||
import packagephobia from '../pages/api/packagephobia'
|
||||
import codeclimate from '../pages/api/codeclimate'
|
||||
|
@ -45,6 +46,7 @@ export default {
|
|||
hackage: hackage.meta,
|
||||
pypi: pypi.meta,
|
||||
winget: winget.meta,
|
||||
jsdelivr: jsdelivr.meta,
|
||||
bundlephobia: bundlephobia.meta,
|
||||
packagephobia: packagephobia.meta,
|
||||
codeclimate: codeclimate.meta,
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
||||
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
|
||||
|
|
|
@ -51,6 +51,7 @@ const nextConfig = {
|
|||
'/coveralls',
|
||||
'/travis',
|
||||
'/circleci',
|
||||
'/jsdelivr',
|
||||
'/xo',
|
||||
// social network
|
||||
'/discord',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import millify from 'millify'
|
||||
import got from '../libs/got'
|
||||
import { versionColor } from '../libs/utils'
|
||||
import { createBadgenHandler, PathArgs } from '../libs/create-badgen-handler'
|
||||
import got from '../../libs/got'
|
||||
import { versionColor } from '../../libs/utils'
|
||||
import { createBadgenHandler, PathArgs } from '../../libs/create-badgen-handler'
|
||||
|
||||
export default createBadgenHandler({
|
||||
title: 'jsDelivr',
|
Ładowanie…
Reference in New Issue