In client and lib-testing, rather than referencing imports like ../../../lib/preProcessing/preProcessors/csv, install npm i ../lib and then reference import {} from 'lib'.
This will make the code more modular, and allow modules to be built independently. At the moment, they depend on each other too much.
Change all packages to type: module in package JSON, and use ESModules instead of commonjs. This will probably take some time to get it to work with TypeScript.
Make
lib
a package that can be installed.In
client
andlib-testing
, rather than referencing imports like../../../lib/preProcessing/preProcessors/csv
, installnpm i ../lib
and then referenceimport {} from 'lib'
.This will make the code more modular, and allow modules to be built independently. At the moment, they depend on each other too much.