Wykres commitów

8 Commity (5ad28dad43a56956e9b9f54ebfc90a88148151b2)

Autor SHA1 Wiadomość Data
Dario Vladović 5ad28dad43
chore: add `.editorconfig` (#446)
Fix whitespace & missing newline issues.
2020-11-08 10:39:19 +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 / d4e3c15a48
chore: bump deps (#367)
* chore: bump deps
* fix: ts error
2020-03-24 23:47:24 +08:00
晋晓炜 Amio / c835fbdeb7
badge(npm): recognize index.d.ts for types (resolve #355) (#366)
* badge(npm): recognize index.d.ts for types (resolve #355)
* badge(npm): fix type detection
2020-03-24 23:11:38 +08:00
晋晓炜 Amio / 75a2cabbbf
badge(npm): always follow versionColor (#347) 2020-01-28 13:13:44 +08:00
晋晓炜 Amio / 957c2128f6
chore: use npm api for "latest" tag (#345)
* chore: use npm api for "latest" tag (#292)
* fix: npm api not works with scoped package
2020-01-27 15:37:56 +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 / 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