Dario Vladović
a37cceb2e5
badge: Add CTAN service ( #455 )
2020-12-16 20:22:02 +08:00
Dario Vladović
edd4551b0d
chore: add size util ( #457 )
2020-12-16 20:20:45 +08:00
Dario Vladović
5ad28dad43
chore: add `.editorconfig` ( #446 )
...
Fix whitespace & missing newline issues.
2020-11-08 10:39:19 +08:00
lhalbert
4952a0f22f
feat(docker): Add image layers handler ( #442 )
...
* feat(docker): Add image layers handler
* Remove unnecessary BadgenError import
* Add metadataHandler and refactor code
* Separate the layers and metadata handlers
Separate the layers and metadata handlers and remove 'metadata' from the layers path.
* revert subject/label to static descriptive text
* Move manifest error checking logic into libs\docker.ts
Move manifest error checking logic into libs\docker.ts to clean up api\docker.ts
* Replace 'throw new BadenError' with grey error badge
Replace 'throw new BadenError' with grey error badge
2020-10-28 10:41:13 +08:00
Amio Jin
56e7a9a9f9
chore: remove dependabot from badge list ( #433 )
2020-10-07 20:41:13 +08:00
Nikita Karamov
27e69bf81d
badge(liberapay): add badges for Liberapay ( #425 )
2020-08-23 18:39:46 +08:00
Alexandru Naiman
f07fad5e80
badge(gitlab): adding some badges for GitLab ( #422 )
...
* wip: added some badges
* - some final touches
* small fix
* - corrected wrong error message
* fixes after code review
2020-08-20 11:22:44 +08:00
Deepak Bhardwaj
defdbb9dcd
feat: Added badge endpoint for Jenkins jobs ( #418 )
...
* feat: Added badge endpoint for Jenkins jobs
* fix: Removed unused variable
* Update api/jenkins.ts
Co-authored-by: Amio Jin <amio.cn@gmail.com>
Co-authored-by: Amio Jin <amio.cn@gmail.com>
2020-08-13 19:20:16 +08:00
Kyle Brown
370a4a87b6
feat: allow customn npm and github endpoints ( #412 )
...
* feat: allow customnpm and github endpoints
Allow specifying of custom endpoints for NPM
and Github. This is to allow usage in a
self-hosted enterprise environment.
These are configured by an override environment variable.
`NPM_URL="https://registry.npm.compnay.com "` - NPM
`GITHUB_URL="https://github.company.com/api/v3 "` - Github v3
`GITHUB_URL_GRAPHQL="https://github.company.com/api/graphql " - Github
Graphql
* feat(npm): support all pkg data through npm reg
- Add option to disable use of unpkg for npm "info"
- Add ability to query scoped packages and tags through npm
- Update env var names
Note, this keeps existing logic unless DISABLE_UNPKG == true
* fix(npm): fix if logic, remove elses
* fix: address review comments
- Address review comments
- Query NPM with abbreviated metadata header support
- Support GITHUB_TOKENS
- Environment variable info in readme
- Only skip unpkg use if a custom registry is used.
2020-07-15 14:37:18 +08:00
晋晓炜 Amio /
4dd5bd2f0b
badge(memo): add memo badge ( #399 )
...
* chore: bump deps
* badge: add /memo badge (resolve #398 )
* chore: add help for memo badge
* chore: clean code
* fix: support html entities in url
2020-06-14 17:40:19 +08:00
Dario Vladović
6ee3665d03
badge: add deepscan.io support ( #404 )
2020-05-29 14:24:22 +08:00
Dario Vladović
d0b32d6ab6
badge: add snyk support ( #394 )
...
* chore: pass search params to badge handler
* badge: ass synk support
Extract data from Synk's badge.
* refactor: correct query type
* refactor: convert `targetFile` to path segment
2020-05-25 21:34:13 +08:00
Dario Vladović
1faa455354
badge: add Mastodon/Pleroma support ( #396 )
...
* badge: add mastodon/pleroma support
* badge(mastodon): avoid description overflow
2020-05-22 12:15:07 +08:00
Dario Vladović
55926c5fb3
badge: add winget support ( #392 )
...
* badge: add winget support
* refactor: introduce github rest/graphql client lib
2020-05-20 23:49:46 +08:00
Dario Vladović
55b5a3cb59
badge: add F-Droid support ( #390 )
...
Co-authored-by: Amio <amio.cn@gmail.com>
2020-05-20 18:19:43 +08:00
Dario Vladović
a337d4656d
badge: add tidelift subscription badge ( #391 )
2020-05-20 17:50:47 +08:00
Dario Vladović
40958d3368
badge: add pub (dart) ( #388 )
2020-05-20 17:02:26 +08:00
Dario Vladović
f3c7362d7c
badge: add scoop ( #387 )
...
Co-authored-by: Amio <amio.cn@gmail.com>
2020-05-18 12:47:07 +08:00
Dario Vladović
5b4b9b6148
badge: add opam service ( #386 )
...
* badge: add opam service
* Update api/opam.ts
Co-authored-by: Amio <amio.cn@gmail.com>
2020-05-17 00:17:49 +08:00
Dario Vladović
55a89ffcea
badge: add haxelib service ( #381 )
...
* Add haxelib service
Fetch library information from https://lib.haxe.org using
`haxe-rpc-client`.
* Add latest version downloads badge
* Handle nonexistent projects gracefully
2020-05-08 23:30:53 +08:00
Steven
5a8e5cdc77
chore: rename ZEIT to Vercel ( #379 )
2020-04-26 21:29:13 +08:00
晋晓炜 Amio /
537598c7ec
chore: upgrade measurement-protocol to 0.1.1 ( #377 )
...
* chore: upgrade measurement-protocol to 0.1.1
* fix: update measurement-protocol invocation
2020-04-19 23:45:12 +08:00
Jarek Brzozowski
f155c2c254
feat(badge): add maven support ( #371 )
...
* maven support
* badge-list update
Co-authored-by: 晋晓炜 Amio / <amio.cn@gmail.com>
2020-04-05 20:36:46 +08:00
Jarek Brzozowski
ceb6ff5d09
feat(badge): add cocoapods support ( #370 )
...
* cocoapods support
* badge-list update
2020-04-05 20:15:02 +08:00
晋晓炜 Amio /
c098961ef0
chore: replace universal-analytics with measurement-protocol ( #346 )
2020-01-28 12:33:22 +08:00
晋晓炜 Amio /
6501d2e58c
chore: rollback to universal-analytics ( #344 )
...
* chore: update measurement util
* chore: add universal-analytics back
2020-01-26 23:41:20 +08:00
晋晓炜 Amio /
2dcf51eef3
chore: update got from 9.6.0 to 10.3.0 ( #341 )
...
* wip: upgrade got to 10
* chore: update got to 10
* fix: azure-pipelines error
* chore: update npm badge examples
2020-01-26 15:43:40 +08:00
晋晓炜 Amio /
b8558b1bfa
chore: replace universal-analytics with measurement-protocol.ts ( #339 )
2020-01-20 00:03:29 +08:00
晋晓炜 Amio /
f2e179e827
feat: add a cache option ( #338 )
...
* feat: add query param `cache`
* chore: bump dependencies
* chore: bump semver to 7.1.1
* chore: set default cdn cache to 6hrs
* chore: better wording
2020-01-19 00:08:00 +08:00
amio
fd3b1d0aff
chore: add log for metrics
2020-01-11 23:19:53 +08:00
晋晓炜 Amio /
bfa4d1bb16
chore: limit CDN cache to 5 mins ( #335 )
...
* fix: missing cheerio
* chore: set cdn cache to 5 min
* chore: eslint --fix
* chore: add github action config
2020-01-11 15:46:47 +08:00
晋晓炜 Amio /
7b167a519e
chore: bump deps & cleanup ( #323 )
...
* chore: bump dev deps
* chore: bump deps
* chore: cleanup
2019-11-21 13:53:03 +08:00
amio
eaa1bf87da
fix: auto choose style base on hostname
2019-11-21 00:35:05 +08:00
晋晓炜 Amio /
b008408591
chore: migrate to Now v2 ( #320 )
...
* feat: new doc generator (stage 1)
* feat: migrate badges to now v2 (stage 2)
* chore: update build & deploy config (stage 3)
* chore: address review comments
* chore: cleanup files
* fix: now deployment config
* fix: ts config
* chore: remove topbar
* chore: update routes config
2019-11-18 23:52:07 +08:00
amio
57ebe21e25
fix: typescript error
2019-11-16 13:42:31 +08:00
amio
db759b1fb1
fix: support float in `scale` arg ( #319 )
2019-11-05 10:51:42 +08:00
amio
0b55955576
feat: add create-badgen-handler.ts
2019-10-29 00:19:11 +08:00
amio
a748779c56
docs: add "Powered by ZEIT Now" #314
2019-10-26 10:39:29 +08:00
amio
836fb781f2
fix: try catch block
2019-10-25 22:18:55 +08:00
amio
2a32b967a1
fix: type annotation
2019-10-05 10:46:39 +08:00
amio
08af45e2fe
refactor: jsx => tsx
2019-10-04 20:45:52 +08:00
amio
9fd61382f9
polish: improve typing
2019-10-04 17:50:20 +08:00
amio
4996986ef9
fix: prevent miss spelled scale arg
2019-10-04 17:41:16 +08:00
amio
ce08e2308d
chore: bump dependencies
2019-10-04 17:35:32 +08:00
amio
9d55854d22
feat: support `scale` arg ( resolve #309 )
2019-10-04 17:27:30 +08:00
amio
34d153d105
fix: versionCompare util (type)
2019-09-01 21:53:41 +08:00
amio
d167f8185a
fix: versionCompare util
2019-09-01 21:21:52 +08:00
Amio
86ee22143e
style: make eslint happy
2019-08-30 11:22:22 +08:00
amio
ad19f1054a
fix version-compare type error
2019-07-18 16:55:25 +08:00
Brian Faust
2615fb8ef3
fix: check if icon is undefined before trying to set it
2019-07-18 10:01:37 +03:00