git clone https://github.com/webdeveric/utils.git
cd utils
corepack enable
pnpm install --frozen-lockfileThis project uses the Node version in .node-version.
Run fnm use or nvm use to ensure you're using the correct Node.js version.
Run tests in watch mode
pnpm testRun tests and generate a coverage report.
pnpm coverageThese all run in CI and must pass before a PR can be merged.
pnpm lint
pnpm typecheck
pnpm spellcheckRun pnpm format to apply Prettier formatting. A pre-commit hook auto-fixes lint/format/spelling issues on staged files, so most of this happens for you on commit.
pnpm buildCommit messages should follow conventional commits.
Releases are created automatically and the version bump is determined from the commit messages.
If you want to add a large feature or breaking change, please open an issue first so it can be discussed.
To report a security vulnerability, see SECURITY.md instead of opening a public issue.