Commit graph

107 commits

Author SHA1 Message Date
dependabot[bot]
64d6dfe960
Bump @typescript-eslint/parser from 5.43.0 to 5.44.0 (#40) 2022-11-24 20:42:06 +01:00
Lars Strojny
a3ac5edee8
Configure dependabot for github actions 2022-11-24 20:40:44 +01:00
Lars Strojny
c7967e2200
Daily dependabot with more lenient limits 2022-11-24 20:40:03 +01:00
dependabot[bot]
5c59fa3816
Bump prettier from 2.7.1 to 2.8.0 (#39) 2022-11-24 20:37:32 +01:00
dependabot[bot]
7e52448bfe
Bump @typescript-eslint/eslint-plugin from 5.43.0 to 5.44.0 (#38) 2022-11-24 20:37:22 +01:00
Lars Strojny
f36112ff9c
Release 0.0.15 2022-11-24 20:26:14 +01:00
Lars Strojny
8a0061428d
Move conditions to the top 2022-11-24 20:21:10 +01:00
Lars Strojny
f30dfe0cee
Use constant instead of magic number 2022-11-24 20:18:48 +01:00
Lars Strojny
e5b3a90fae
Use string concatenation instead 2022-11-24 19:59:03 +01:00
Lars Strojny
d25207923c
Fix symbol name conflict 2022-11-24 19:58:07 +01:00
Lars Strojny
f45df5d422
Clean up prefix handling 2022-11-24 19:53:03 +01:00
Lars Strojny
65304798de
Memoized renderering (#37)
Pre-render metrics on discovery once and then reuse rendered response.
2022-11-24 19:35:02 +01:00
Lars Strojny
565f423dd9
Extract stringReverse() function 2022-11-24 19:24:00 +01:00
Lars Strojny
ccca32d7b2
Exclude dist folder from tests search paths 2022-11-24 19:23:40 +01:00
Lars Strojny
fa687f635f
Add quality gate status 2022-11-23 15:05:20 +01:00
dependabot[bot]
3282a084a4
Bump fastify from 4.10.0 to 4.10.2 (#35) 2022-11-23 15:03:46 +01:00
Lars Strojny
df81a1206a
Rename workflow and input workflow 2022-11-23 14:59:22 +01:00
Lars Strojny
1d3452cdb0
Separate SonarCloud step to safely run it on PRs 2022-11-23 14:53:13 +01:00
Lars Strojny
7c7673f1c2
Fix code smells (#36)
Fix code smells detected by SonarCloud
2022-11-23 14:30:23 +01:00
Lars Strojny
97de2f0905
Set up SonarCloud static analysis 2022-11-23 11:42:44 +01:00
Lars Strojny
ddc85f5359 Release 0.0.14 2022-11-21 03:08:04 +01:00
Lars Strojny
600a5bae61 Remove jq 2022-11-21 03:06:10 +01:00
Lars Strojny
b7364927df Add a few interesting badges 2022-11-21 03:00:34 +01:00
dependabot[bot]
cd08a3ecf6
Bump eslint from 8.27.0 to 8.28.0 (#33) 2022-11-21 02:49:01 +01:00
Lars Strojny
8f2d80a7fb
Unpin and upgrade jest-mock (#32)
Previously failed because of a type error deep in node_modules, let’s
try again.
2022-11-18 13:23:37 +01:00
dependabot[bot]
f70de293a5
Bump hap-nodejs from 0.10.4 to 0.11.0 (#31) 2022-11-18 13:11:43 +01:00
dependabot[bot]
e791b690aa
Bump typescript from 4.8.4 to 4.9.3 (#30) 2022-11-18 12:41:55 +01:00
dependabot[bot]
cc81f5868e
Bump @typescript-eslint/parser from 5.42.1 to 5.43.0 (#28) 2022-11-18 09:46:07 +01:00
dependabot[bot]
3e5006dd5d
Bump @typescript-eslint/eslint-plugin from 5.42.1 to 5.43.0 (#29) 2022-11-18 09:45:53 +01:00
dependabot[bot]
c24a9731c1
Bump fastify from 4.9.2 to 4.10.0 (#27) 2022-11-18 09:43:00 +01:00
Lars Strojny
fc1bf8b334 Release 0.0.13 2022-11-17 13:20:16 +01:00
Lars Strojny
6f7686ba34
Auto-generate configuration documentation in README (#26)
Auto-generate the documentation of the configuration options in
`README.md` from `config.schema.json`.
2022-11-17 13:19:22 +01:00
Lars Strojny
261fa74ac9
Add configuration option for the metric server interface (#25)
Add a configuration option `interface` to allow configuring where the
HTTP metric server should bind to.
2022-11-17 13:15:07 +01:00
Lars Strojny
04706f69d5 Release 0.0.12 2022-11-16 23:29:53 +01:00
Lars Strojny
2e8f2d0579 Clean build on release 2022-11-16 23:28:48 +01:00
Lars Strojny
9127408d23 Ignore release script 2022-11-16 23:26:32 +01:00
Lars Strojny
b8a4c2c9e6 Release 0.0.11 2022-11-16 22:50:48 +01:00
Lars Strojny
ce8876793d
Fall back to IPv4 if EAFNOSUPPORT (#24)
If listening to `::` fails, try `0.0.0.0` instead. Addresses #22
2022-11-16 22:47:41 +01:00
Lars Strojny
f8007b55ca
Add experimental support for basic auth and TLS (#23)
Allows restricting access to the monitoring endpoint using basic auth
and configure TLS certificates.
2022-11-16 22:19:08 +01:00
Lars Strojny
edf4e605e5
Cache expensive CI steps (#21)
Speed-up pipeline by caching eslint, prettier, TypeScript, node_modules
2022-11-14 02:43:27 +01:00
Lars Strojny
57e8a4d831 Reverse lint/tests exclusion on CI, better job name labels 2022-11-14 02:02:07 +01:00
Lars Strojny
479fbe5727 Refactor internal APIs 2022-11-14 01:20:53 +01:00
Lars Strojny
4fad222b82 Format insecure.conf path in README 2022-11-13 13:40:10 +01:00
Lars Strojny
34be5bbca2 Implement consistent request logging 2022-11-13 13:34:33 +01:00
Lars Strojny
8102144b85 Explicit type imports 2022-11-13 13:34:09 +01:00
Lars Strojny
83f64d3999 Release 0.0.10 2022-11-13 11:14:15 +01:00
Lars Strojny
b74721ee76
Handle null values in characteristics (#20)
Apparently `characteristic.value` can also be null. Let’s handle it
properly. Fixes #19
2022-11-13 11:13:13 +01:00
Lars Strojny
249e4cf10c Ignore local release script 2022-11-10 13:54:12 +01:00
Lars Strojny
1828c4836a Release 0.0.9 2022-11-10 13:46:23 +01:00
Lars Strojny
fd113c1868 Run npm test in CI mode for releases 2022-11-10 13:43:23 +01:00