Skip to Content
DocsContributing

Contributing

The full guide is CONTRIBUTING.md.

Setup

Requirements: Node.js 24 (22.18 or later works) and pnpm 12.

git clone https://github.com/vialabs-net/quickben.git cd quickben corepack enable pnpm install pnpm lint typecheck test build

Commands

CommandWhat it does
pnpm buildBuild every package and this site.
pnpm lintESLint: typescript-eslint, sonarjs, import order.
pnpm typechecktsc in every package, including type tests and docs samples.
pnpm testVitest in every package.
pnpm test:coverageTests with coverage. Fails under 85 % lines.
pnpm formatPrettier.
pnpm changesetDescribe a change for the changelog.

Run one package with pnpm --filter @quickben/core test.

Pull requests

RuleDetail
BranchFrom trunk. Keep pull requests small.
CommitsConventional Commits : feat(core): …, fix(db-memory): …, docs: ….
ChangesetsAdd one when a published package changes.
CILint, typecheck, tests with coverage, build and the SonarCloud quality gate must pass.

This site

The site is apps/docs (Nextra). Pages are MDX files in apps/docs/content.

CommandWhat it does
pnpm --filter docs devRun the site on http://localhost:3000 .
pnpm --filter docs typecheckExtract every ts code block and typecheck it.
pnpm turbo build --filter=docsBuild the site and its dependencies.

Code blocks are checked against the workspace packages. Mark a block nocheck only for signatures and third-party APIs.

Conduct and security

Last updated on