Skip to content

Split library into multiple #189

Description

@DysphoricUnicorn

Reasoning

The validators can all work without react, and the example components that most users will probably replace

Current Status

Pulling in formifly pulls in a lot of dependencies that are not needed in all cases where formifly could be useful.

Should-Be Status

Formifly is split into subcomponents that can be installed independently.

For this, we should split this library into two:

1: Formifly React (using this repository and npm package) - Ships all of the features to make formifly work as it is intended to be used, including example components.
2: Formifly validators - Only the validators code, so that it can also be used for server side validation. This libary should aim for 0 external dependencies

Acceptance Criteria

  • There is a validators library that can be installed without the react components
  • The main formifly package still works just as expected without any breaking changes
  • CI pipelines are set up to automate releases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions