[Pkg-javascript-devel] Bug#974218: node-requirejs: Please embed typescript definitions

Xavier Guimard yadd at debian.org
Wed Nov 11 13:34:33 GMT 2020


Package: node-requirejs
Version: 2.3.6-2
Severity: important
X-Debbugs-Cc: pkg-javascript-devel at lists.alioth.debian.org

Hi,

to avoid version conflicts, JS team decided to remove typescript
definitions (node-typescript-types) and embed them directly in the
relevant packages.

node-requirejs isn't under JS Team umbrella, so we can't do it for
@types/requirejs. But we need to synchronize this work (needs to
repack node-typescript-types and add a "Breaks" in your package).
Could you do it or give us its maintenance?

Adding such types is easy with pkg-js-tools:

 $ add-node-component @types/requirejs

If your package uses pkg-js-tools auto installer, don't forget to add
this:

 $ mkdir debian/nodejs
 $ echo '*' >debian/nodejs/root_modules

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list