Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
- Ensure you have Yarn installed.
- After cloning the repository, run
yarn install
in the root of the repository. - Run
yarn build:prod
to build project. - To start a development server, run
yarn start:generator
. - If you want to monitor changes, run
yarn watch:babel
.
Currently, the source is split up into a few categories:
-
examples: Drip-form examples
-
Drip-form generator example
-
-
packages: Drip-form npm package
-
RegisterAJV, imported
AJV
plugin -
Drip-form AJV formats plugin
-
Drip-form AJV keyword plugin
-
Drip-form antd theme
-
Drip-form generator
-
Drip-form hooks
-
Drip-form utils
-
-
sh or node script
-
Drip-form website
Drip-form follows semantic versioning
Drip-form use conventionalcommits to generate CHANGELOG。
See how a minor change to your commit message style can make you a better programmer.
The commit message should be structured as follows:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
<scope>
is optional. If your change is specific to one/two packages, consider adding the scope. Scopes should be brief but recognizable, e.g. form
, theme
, ajv
,generator
,hooks
,utils
The various types of commits:
feat
: a new API or behavior for the end user.fix
: a bug fix for the end user.docs
: a change to the website or other Markdown documents in our repo.refactor
: a change to production code that leads to no behavior difference, e.g. splitting files, renaming internal variables, improving code style...test
: adding missing tests, refactoring tests; no production code change.chore
: upgrading dependencies, releasing new versions... Chores that are regularly done for maintenance purposes.- ...
Also, we use commitizen. You can run yarn cz
or npm run cz
, you'll be prompted to fill out any required commit fields at commit time.
Do not get too stressed about PR titles, however. The maintainers will help you get them right, and we also have a PR label system that doesn't equate with the commit message types. Your code is more important than conventions!
We use husky and lint-staged. In pre-commit
, automatically run the eslint
and prettier
to lint code and format code.
This project follows GitHub's standard forking model. Please fork the project to submit pull requests.
Thanks goes to these wonderful people
People are giving themselves and their free time to contribute to open source projects in so many ways, so we believe everyone should be praised for their contributions (code or not).
Drip-form
follows all-contributors specification.
Write a comment on an issue or pull request to recognise their contribution.
@all-contributors please add @<username> for <contributions>
For example:
@all-contributors please add @mengshang918 for code ✨
For more information, please see all-contributors contributions
Add yourself to the contributor list
We use github action
and lerna
to auto release npm package.
The alpha
package is released every Friday
at 8 p.m
The latest
package is released every Monday
at 8 p.m