zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
38 stars 42 forks source link

Link tn3270-ng2 build to tsterm #957

Open 1000TurquoisePogs opened 1 year ago

1000TurquoisePogs commented 1 year ago

Add https://github.com/TSTerminal/TSTerm as a devDependency in the tn3270-ng2/webClient/package.json so that the code is pulled into node_modules for the webpack build.

References like this import https://github.com/zowe/tn3270-ng2/blob/v2.x/staging/webClient/src/app/app.component.ts#L11 about the 3270.js file need to be replaced with the TSTerm file. I'm not sure whether those imports can directly point to content in node_modules or if we need to do a webpack copy (https://github.com/zowe/tn3270-ng2/blob/v2.x/staging/webClient/webpack.config.js#L30-L36) to get it into the lib folder?