mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
One family. Font stacks name Zen and fall back to the native faces, tokens name the role rather than a face, and the packages that used to supply a face now point at @hanzo/font. Self-hosted @font-face blocks are removed rather than renamed: rewriting the family in one would leave a src pointing at a file this repo no longer ships. @hanzo/font carries the binaries and declares the faces, so the local copies go with the declaration that used them. Comments naming a face we no longer use are deleted, not reworded.
Insights's copy of RRWeb
this is open because we believe in open source, and we want to be able to contribute back to upstream rrweb and refer back to this when we do
but please don't use it yourself
all changes will be only focussed on insights and we won't make any effort to support anybody else using this
if you say "i started using this, you changed it, and now my thing broke" we will say "we told you not to use it"
The upstream rrweb is here https://github.com/rrweb-io/rrweb
Hello internal Insights folk
We build this and publish it to NPM so that we can use it in insights-js
If you want to contribute a change back to upstream rrweb then you need to open a person fork and contribute from there
How to use it...
pnpm installto, erm, installpnpm build:allto get a stable base builtpnpm devto get auto building of changed things while making changespnpm testto run the testspnpm test:updateto update snapshots if necessary
Releasing
Add a bump patch, bump minor, or bump major label to your PR before merging. The version bump and npm publish are automated on merge.
FAQ
- does this mean you're planning on stopping using RRWEB?
- no
- can I use this repo?
- unless you are contributing changes for insights, no
- should I sponsor rrweb?
- absolutely, yes. we do, you should too, it's great