1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-04-19 08:06:40 +02:00
Bogdan Bodnar 8ec0392852 Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!106
2020-03-26 16:29:27 +01:00
2019-09-30 11:26:06 +02:00
2020-01-09 11:25:29 +01:00
2020-03-25 21:17:12 +01:00
2019-11-13 10:11:11 +00:00
2020-02-20 17:19:07 +01:00
2020-01-09 16:33:25 +01:00
2020-01-09 11:25:29 +01:00
2020-03-25 21:26:59 +01:00
2020-03-25 21:26:59 +01:00

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

  1. Crete a merge request to dev branch with version bumped
  2. When merging add [skip ci] to commit message to prevent publishing unnecessary version
  3. Create a merge request from dev to master branch
  4. 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:

  1. Setting react-router-dom as peerDependencies and devDependencies in package.json.
  2. Adding the following rules to externals in webpack.conf.js of the plugin:
externals: {
    ...
    "react-router-dom": "ReactRouterDOM",
}
Description
Foris JS library is a set of components and utils for reForis and plugins.
Readme 20 MiB
Languages
JavaScript 97.4%
Makefile 1.4%
CSS 0.8%
Shell 0.4%