Skip to content

indianaPoly/clickvoidx

Repository files navigation

clickvoidx

clickvoidx is a Bun-based monorepo for building a dead-click detector package for browser applications.

What this repository contains

  • packages/core: the TypeScript core package that captures clicks, observes response signals, and reports dead clicks.
  • docs/paper.txt: the original product/design note that defines the detector MVP.
  • docs/packages-core-api.en.md: English API and module guide.
  • docs/packages-core-api.ko.md: Korean API and module guide.
  • docs/release-process.en.md: English release and CI/CD guide.
  • docs/release-process.ko.md: Korean release and CI/CD guide.

Quick start

bun install
bun run check

Workspace scripts

bun run lint
bun run typecheck
bun run build
bun run test
bun run test:ci
bun run changeset:add
bun run version-packages
bun run release:dry-run
bun run example:react
bun run example:react:typecheck
bun run example:react:build

Package usage

import { createDeadClickDetector } from "@hyunrim03/clickvoidx";

const detector = createDeadClickDetector({
  onDeadClick(report) {
    console.log(report);
  },
  onHandled(click, signals) {
    console.log(click, signals);
  },
});

detector.start();

Tooling

  • Runtime / package manager: Bun
  • Commit guard: Husky pre-commit hook runs bun run lint
  • Language: TypeScript
  • Lint: Oxlint
  • Version tracking: Changesets
  • CI/CD: GitHub Actions
  • Registry publish: bun publish to npm

Runnable React example

  • Example app: examples/react-latest
  • Start locally:
bun install
bun run example:react

Release flow summary

  1. Create a changeset with bun run changeset:add.
  2. Open and merge a feature PR into main.
  3. The release workflow on main creates or updates a version PR.
  4. Merge the version PR.
  5. The release workflow runs again on main and publishes to npm only if lint, build, and test all pass.

To fully block direct pushes to main, enable GitHub branch protection and require pull requests plus the CI checks documented in docs/release-process.en.md.

About

Detect no-feedback clicks in web apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors