Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 875 Bytes

File metadata and controls

19 lines (17 loc) · 875 Bytes

Contributing a fingerprint

  1. Create packages/fingerprints/src/registry/<category>/<slug>.yaml. Categories: see schemas/categories.json. Schema: schemas/fingerprint.schema.json.
  2. Capture a fixture from a site that uses the technology: bun run capture <url> <slug>
  3. Edit fixtures/<slug>/<name>.expected.json so detects lists every technology that bundle contains.
  4. bun test — every fingerprint runs against every fixture; unexpected detections are false positives and fail the build.
  5. Open a pull request. CI runs schema validation, regex lint, compile, and the full suite.

Rules:

  • One technology per file; filename equals slug.
  • Header and meta keys lowercase.
  • Prefer high-precision patterns; a fingerprint that matches unrelated sites will be rejected by the fixture suite.
  • Version captures use version: <group index>.