The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
The pupil lib is abandoned and 11 years out of date. Because it's no unpublished from npm we have inlined it in the validation shared-lib. Furthermore we made some changes to the source so it's a custom medic implementation. Because it's so old dependabot is reporting 12 errors.
Describe the improvement you'd like
Ensure there's enough testing coverage to guarantee backwards compatibility
Move the pupil src into a regular directory and give up on any pretense that it's an npm dependency and delete unnecessary artifacts (package-lock.json, readme.md, dist, etc)
Describe the issue
The pupil lib is abandoned and 11 years out of date. Because it's no unpublished from npm we have inlined it in the validation shared-lib. Furthermore we made some changes to the source so it's a custom medic implementation. Because it's so old dependabot is reporting 12 errors.
Describe the improvement you'd like
extra_validations
into pupil to reduce complexity - this may also solve https://github.com/medic/cht-core/issues/8806Describe alternatives you've considered
Related