Contributing
Winenv welcomes code, tests, documentation, translations, issue triage, and carefully designed profile examples. The full repository policy lives in CONTRIBUTING.md.
Before contributing
Section titled “Before contributing”- Search existing issues and documentation.
- Use the matching issue form for a bug, feature, documentation problem, or question.
- Keep security vulnerabilities private through GitHub’s advisory form.
- For a material design change, agree on the user problem and boundaries before investing in implementation.
Local validation
Section titled “Local validation”Documentation-only contributions work on Windows, macOS, and Linux. Install the toolchain pinned in .node-version and package.json using the repository setup guide, then run:
pnpm install --frozen-lockfilepnpm test:docspnpm docs:buildRuntime changes additionally need the PowerShell checks described in the repository guide. Documentation changes do not require installing Winenv or preparing a Windows PC. See Maintaining documentation for link, translation, and browser checks.
Architecture and provider changes must follow RFC 0001. Keep win.ps1 as a thin compatibility entry point and place implementation functions in the matching internal module.
Pull request expectations
Section titled “Pull request expectations”- One coherent problem per pull request
- Tests for changed behavior
- English and Simplified Chinese updated together for user-facing changes
- Explicit security, compatibility, and migration implications
- Conventional Commit title
- No personal profiles, credentials, downloaded installers, generated site output, manual
VERSION, or manualCHANGELOG.mdchanges
Reviews evaluate correctness, user experience, trust boundaries, backward compatibility, maintenance cost, tests, and translation completeness—not merely whether the code runs.
