# Contributing to vn/ui Start with Node.js 22.14 or newer and the pnpm version pinned in package.json. Run `corepack enable pnpm`, `pnpm install --frozen-lockfile` and `pnpm dev`. The app serves on localhost:3000. ## Making a change 1. Pick one component or documented behavior. Describe the expected outcome and the smallest useful reproduction using synthetic data. 2. Edit the original files under packages/registry/src. Keep conversion and validation logic independent of React. Changes to shared helpers affect every installed component that imports them. 3. Update both documentation languages in apps/web and add regression coverage for changed behavior. Keep keyboard handling and accessible names intact. 4. Run `pnpm registry` to regenerate the installer payloads. Never edit the generated JSON directly. 5. Run `pnpm format:check`, `pnpm lint`, `pnpm typecheck`, `pnpm test`, `pnpm build`, `pnpm exec playwright install chromium firefox webkit` and `pnpm e2e`. Include the results and any remaining limitations in the pull request. ## Test a local installer archive Run `pnpm registry`, then run `npm pack` from `packages/cli`. Install the resulting archive as a dev dependency in a separate temporary React/TypeScript app. From that app, run `npx --no-install vnui init` and `npx --no-install vnui add phone-input`, then typecheck an import from the installed source. This workflow tests unpublished CLI changes; users of the public release should follow the [installation guide](https://vnui.vercel.app/docs/installation/). ## Data changes Cite the originating authority, effective date, reproducible upstream version and redistribution terms. Retain required notices in files copied to consumers. Use synthetic examples and keep personal information out of issues and test fixtures. ## Review Describe user-visible changes and include desktop and mobile captures for visual work. Contributions are covered by the project MIT license unless an existing, identified third-party license applies. Follow the code of conduct. Public deployment and npm publication are separate maintainer actions.