* fix(runkit): new runkit example
https://runkit.com/amio/satisfaction endpoint stoped working due
to getsatisfaction.com shutdown
* feat(runkit): owner/notebook endpoints
Support both:
1. legacy `/runkit/:endpoint-id/:path*` URL patterns
2. new `/runkit/:owner/:notebook/:path*` URL patterns
Update documentation & examples to use new pattern.
* docs(runkit): update examples
* fix(codacy): support new default branch naming convention
* chore(codacy): document codacy example
* fix(codacy): fix examples using branch param
* fix(codacy): stop preprocessing branch name
Documentation doesn't say anything about branch name preprocessing
and shields doesn't do it either:
https://github.com/badges/shields/blob/d3a7afd/services/codacy/codacy-coverage.service.js#L59
* 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
* 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.
* fix: close#350
Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>
* use toLowerCase for st.context
Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>
* 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