nuxt / telemetry

Nuxt Telemetry
MIT License
207 stars 23 forks source link

feat: expose hooks for extensibility #111

Closed antfu closed 1 year ago

antfu commented 1 year ago

For Nuxt DevTools to logs it's own events. I am not sure if there is a way to prevent arbitrary modules from hooking into it tho.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 85.71% and project coverage change: +0.51% :tada:

Comparison is base (46e9f25) 82.24% compared to head (d3d79fa) 82.76%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #111 +/- ## ========================================== + Coverage 82.24% 82.76% +0.51% ========================================== Files 19 19 Lines 614 615 +1 Branches 71 71 ========================================== + Hits 505 509 +4 + Misses 109 105 -4 - Partials 0 1 +1 ``` | [Files Changed](https://app.codecov.io/gh/nuxt/telemetry/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt) | Coverage Δ | | |---|---|---| | [src/telemetry.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL3RlbGVtZXRyeS50cw==) | `75.00% <80.00%> (+3.12%)` | :arrow_up: | | [src/module.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL21vZHVsZS50cw==) | `95.65% <100.00%> (+0.03%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

atinux commented 1 year ago

Good for me too, I let you merge and release @danielroe