You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aleksandr Gumroian
96785f0774
|
1 week ago | |
---|---|---|
docs | 2 years ago | |
scripts | 2 years ago | |
src | 1 week ago | |
translations | 4 months ago | |
.eslintignore | 5 years ago | |
.eslintrc.js | 4 years ago | |
.gitignore | 1 year ago | |
.gitlab-ci.yml | 3 months ago | |
.prettierrc | 4 years ago | |
.weblate | 4 years ago | |
Makefile | 2 years ago | |
README.md | 4 years ago | |
babel.cfg | 4 years ago | |
babel.config.js | 4 years ago | |
jest.config.js | 4 years ago | |
package-lock.json | 3 months ago | |
package.json | 3 months ago | |
requirements.txt | 4 years ago | |
styleguide.config.js | 1 year ago |
README.md
foris-js
Set of utils and common React elements for reForis.
Publishing package
Beta versions
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.
foris@0.1.0-beta.d9073aa4
.
Preparing a release
- 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
Manually managed dependencies
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",
}
Docs
Build or watch docs to get more info about library:
make docs
or
make docs-watch