[Pkg-javascript-devel] Joining the team / guidance on packaging nodejs libraries

Mathias Gibbens mathias at calenhad.com
Mon Sep 5 18:36:30 BST 2022


Hi,

  (Please CC me, as I'm not subscribed to this list.)

  I would like to join the JS Team so that JavaScript-related packages
I'm planning to work on can be team-maintained. I've reviewed the
policy pages linked to from [1] and submitted a join request on salsa.
At the moment I'm a DM, although I am currently working through the
application process to become a DD.

  My motivation is getting commentoplusplus packaged for Debian (ITP
#951557), which has some unpackaged nodejs dependencies.

  Over the weekend I started working on packaging the missing nodejs
dependencies using the `npm2deb` tool, and I would like to request
feedback/guidance on the work I've completed thus far. I don't have any
nodejs development experience, so I want to make sure I'm not doing
anything incorrect in creating these packages.

  I have the work for three nodejs packages under my user account on
salsa (will move over to the team's namespace after accepted into the
team) that I have tested and seem to work locally:

    * node-gulp-sass (https://salsa.debian.org/gibmat/node-gulp-sass)
      - Depends on node-gulp-postcss and node-gulp-tap which are not
currently packaged for Debian

    * node-gulp-postcss (https://salsa.debian.org/gibmat/node-gulp-postcss)
      - The package.json lists a required version of postcss-load-
config >= 3.0.0, but Debian only has 2.1.2. However, it seems to work
with the version in Debian (tests pass and I've been able to use the
resulting package to build commentoplusplus).

    * node-gulp-tap (https://salsa.debian.org/gibmat/node-gulp-tap)

  I did have a question about the preferred form for d/watch files. The
nodejs page [2] says to prefer checking the packages on npmjs.org, but
the `npm2deb` tool crafts a watchfile that looks at github -- except
for node-gulp-tap. But there is a comment in that file: "It is not
recommended use npmregistry". So, I guess I'm not sure what the
preferred source to check for updates is? :)

  Please send any comments/feedback my way, and I will incorporate it
into my packaging work.

  And while I haven't yet filed the ITPs, I'm planning to also package
node-gulp-clean-css, node-gulp-jsonminify and chartist.

Thanks!
Mathias

[1] -- https://wiki.debian.org/Javascript
[2] -- https://wiki.debian.org/Javascript/Nodejs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220905/85753ca2/attachment.sig>


More information about the Pkg-javascript-devel mailing list