Dependencies of tools created for tC core such as wordAlignment or translationWords are not being installed. The current tools only work by accident because tC core happens to use the same dependencies. We need to redesign how tools are loaded into the core so that tools don't crash if using other libraries.
There are two approaches which could be taken in steps for simplicity.
add a script in package.json to install the tool dependencies. This would be fairly easy.
Move the tools out of the core and load them from an external location on the file system.
The final step would provide additional benefits:
Easy for developers to create and add new tools.
Tools could be piped through webpack to entirely remove the concern for dependencies.
Dependencies of tools created for tC core such as wordAlignment or translationWords are not being installed. The current tools only work by accident because tC core happens to use the same dependencies. We need to redesign how tools are loaded into the core so that tools don't crash if using other libraries.
There are two approaches which could be taken in steps for simplicity.
The final step would provide additional benefits: