Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.28 KB

CONTRIBUTING.md

File metadata and controls

29 lines (23 loc) · 1.28 KB

Contributing Guide

General

  1. Make sure you have read and understand the Goals section to be aligned with project goals.
  2. 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).
  3. All workflow scripts (prettier, linter, tests) must pass successfully (it is run automatically on CI and will fail on github checks).

PR Checklist

  • generate a new README.md from README_SOURCE.md using command:
sh ./generate-readme.sh

# or if you don't like bash, simply use node.js
# node ./generate-readme.js

README.md and README_SOURCE.md

Don't edit README.md directly - it is generated automatically from README_SOURCE.md using script.

  • Use sh ./generate-readme.sh script to generate updated README.md (this will inject code examples using type-checked source files from the /playground folder)
  • So to make changes in code examples edit source files in /playground folder

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'::