Contributing
Choose a small first contribution, then set up your checkout and run the checks for your pull request.
Where to help
Try the starter
Follow Getting Started in a clean directory. If a step fails, record the Node and package versions, the command, and the smallest example that reproduces it.
Open Getting StartedTest a third-party component
Find a Web Component whose server-rendered or hydrated behavior differs from the existing Native, Lit, FAST, and Stencil fixtures. Use the fixture probes to make the difference reproducible.
Open the interoperability fixturesFix a documentation example
Choose an example that fails or a claim that has drifted. Verify it against the checkout and include the result with your correction.
Browse the documentation sourceDevelopment setup
git clone https://github.com/open-element/openelement.git
cd openelement
pnpm install --frozen-lockfile
pnpm exec vp run checkUse the Node version in .node-version and the pnpm version in package.json. The commands clone the repository, enter it, install dependencies, and run the repository checks.
Read the repository setup and development guideBefore a pull request
- Run pnpm exec vp run check and the tests for the packages you changed.
- Use a Conventional Commit prefix and sign off each commit with git commit -s.
- Link the issue when one exists and include the commands you ran and their results.
- When to write an architecture decision record (ADR)
Before adding a feature, check what HTML, CSS, and browser APIs already provide. Reuse existing dependencies before adding custom code.