Set of utils and common React elements for reForis.
Each commit to dev
branch will result in publishing a new version of library
tagged beta
. Versions names are based on commit SHA, e.g.
[email protected]
.
- Crete a merge request to
dev
branch with version bumped - When merging add
[skip ci]
to commit message to prevent publishing unnecessary version - Create a merge request from
dev
tomaster
branch - New version should be published automatically
Because of <ForisForm />
component it's required to use exposed
ReactRouterDOM
object from react-router-dom
library. ReactRouterDOM
is
exposed by
reForis.
It can be done by following steps:
- Setting
react-router-dom
aspeerDependencies
anddevDependencies
inpackage.json
. - Adding the following rules to
externals
inwebpack.conf.js
of the plugin:
externals: {
...
"react-router-dom": "ReactRouterDOM",
}
Build or watch docs to get more info about library:
make docs
or
make docs-watch