You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Tools could be updated apart from the core.
The text was updated successfully, but these errors were encountered:
da1nerd
changed the title
Re-architect
Re-Architect loading tools into tC core
Feb 27, 2018
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:
The text was updated successfully, but these errors were encountered: