kopia lustrzana https://github.com/badgen/badgen.net
rodzic
c835fbdeb7
commit
d4e3c15a48
|
@ -177,8 +177,6 @@ async function typesDefinition(pkg: string, tag = 'latest') {
|
|||
.then(res => res.statusCode === 200)
|
||||
.catch(e => false)
|
||||
|
||||
console.log(hasIndexDTSFile)
|
||||
|
||||
if (hasIndexDTSFile) {
|
||||
return {
|
||||
subject: 'types',
|
||||
|
|
Plik diff jest za duży
Load Diff
40
package.json
40
package.json
|
@ -22,15 +22,15 @@
|
|||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/integrations": "^5.11.1",
|
||||
"@sentry/node": "^5.11.1",
|
||||
"@sentry/integrations": "^5.15.0",
|
||||
"@sentry/node": "^5.15.0",
|
||||
"badgen": "^3.0.1",
|
||||
"badgen-icons": "^0.13.0",
|
||||
"byte-size": "^6.2.0",
|
||||
"cheerio": "^1.0.0-rc.3",
|
||||
"chrome-webstore": "^1.3.0",
|
||||
"date-fns": "^2.9.0",
|
||||
"got": "^10.3.0",
|
||||
"date-fns": "^2.11.0",
|
||||
"got": "^10.6.0",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
"measurement-protocol": "0.0.2",
|
||||
"micro": "^9.3.4",
|
||||
|
@ -38,36 +38,36 @@
|
|||
"my-way": "^2.0.0",
|
||||
"original-url": "^1.2.3",
|
||||
"react-debounce-render": "^5.0.0",
|
||||
"semver": "^7.1.1",
|
||||
"semver": "^7.1.3",
|
||||
"serve-handler": "^6.1.2",
|
||||
"serve-marked": "^2.0.2",
|
||||
"url-parse": "^1.4.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cheerio": "^0.22.15",
|
||||
"@types/fs-extra": "^8.0.1",
|
||||
"@types/cheerio": "^0.22.17",
|
||||
"@types/fs-extra": "^8.1.0",
|
||||
"@types/lodash.debounce": "^4.0.6",
|
||||
"@types/micro": "^7.3.3",
|
||||
"@types/node": "^12.12.25",
|
||||
"@types/react": "^16.9.17",
|
||||
"@types/react-dom": "^16.9.4",
|
||||
"@types/semver": "^6.2.0",
|
||||
"@types/node": "^12.12.30",
|
||||
"@types/react": "^16.9.25",
|
||||
"@types/react-dom": "^16.9.5",
|
||||
"@types/semver": "^6.2.1",
|
||||
"@types/supertest": "^2.0.8",
|
||||
"@types/url-parse": "^1.4.3",
|
||||
"@typescript-eslint/eslint-plugin": "^2.16.0",
|
||||
"@typescript-eslint/parser": "^2.16.0",
|
||||
"@typescript-eslint/eslint-plugin": "^2.25.0",
|
||||
"@typescript-eslint/parser": "^2.25.0",
|
||||
"@zeit/next-typescript": "^1.1.1",
|
||||
"csstype": "^2.6.8",
|
||||
"csstype": "^2.6.9",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-plugin-react": "^7.18.0",
|
||||
"eslint-plugin-react": "^7.19.0",
|
||||
"fs-extra": "^8.1.0",
|
||||
"next": "^9.2.0",
|
||||
"next": "^9.3.1",
|
||||
"nodemon": "^2.0.2",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"supertest": "^4.0.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"ts-node": "^8.8.1",
|
||||
"typescript": "^3.8.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": "12.x"
|
||||
|
|
|
@ -8,7 +8,7 @@ import examples from '../static/.meta/badges.json'
|
|||
|
||||
const Index = () => {
|
||||
const [tab, setTab] = useState('live')
|
||||
const [host, setHost] = useState()
|
||||
const [host, setHost] = useState('')
|
||||
const badges = examples[tab]
|
||||
|
||||
useEffect(() => {
|
||||
|
|
Ładowanie…
Reference in New Issue