[Pkg-javascript-devel] Advice on packaging a terminal application that uses yarn and webpack

Julian Gilbey julian at d-and-j.net
Wed Apr 13 08:43:38 BST 2022


Hello,

I was looking into packaging spyder-terminal, a plugin for Spyder (a
Python IDE) that provides a shell terminal.  But it turns out that far
from being a Python application, it is essentially a wrapper around a
Javascript application!  I have had a quick look at the Debian
archive, wonder how much work would be required to package this.  Here
are the relevant commands to install the Javascript:

yarn install
npm i -D webpack
npm i webpack-cli html-webpack-plugin xterm xterm-addon-attach \
  xterm-addon-search xterm-addon-web-links xterm-addon-fit
npm run webpack

Looking through the archive, I see that we have a webpack package
(which presumably provides the node webpack-cli package).  We also
have node-xterm, but we don't appear to have html-webpack-plugin or
any of the four xterm-addon-* packages listed.

I'm also terrified that yarn.lock lists about 730 packages....

What would be needed to package spyder-terminal, then?

Any advice most gratefully received!

Best wishes,

   Julian



More information about the Pkg-javascript-devel mailing list