Contributing Guide
General
- Make sure you have read and understand the Goals section to be aligned with project goals.
- Before submitting a PR please comment in the relevant issue (or create a new one if it doesn't exist yet) to discuss all the requirements (this will prevent rejecting the PR and wasting your work).
- All workflow scripts (prettier, linter, tests) must pass successfully (it is run automatically on CI and will fail on github checks).
Edit README_SOURCE.md to generate an updated README.md
Don't edit README.md directly - it is generated automatically from README_SOURCE.md using an automated script.
- Use
sh ./generate-readme.shscript to generate updatedREADME.md(this will inject code examples using type-checked source files from the/playgroundfolder) - So to make changes in code examples edit source files in
/playgroundfolder
Source code inject directives:
# Inject code block with highlighter
::codeblock='playground/src/components/fc-counter.tsx'::
# Inject code block with highlighter and expander
::expander='playground/src/components/fc-counter.usage.tsx'::