[Pkg-javascript-devel] node-types-* packages with versioning (node-typescript-types is deprecated)

Jonas Smedegaard dr at jones.dk
Mon Nov 30 23:51:00 GMT 2020


The package node-typescript-types is deprecated.

Please avoid (build-)depending on node-typescript-types. (Build-)depend 
on the specific node-types-* package(s) instead.

When including TypeScript type definitions with a package, make sure to 
provide corresponding virtual node-types-* package(s) and do so with 
versioning declared.  I recommend a version format of 
${VIRTUAL_PACKAGE_VERSION}~${SOURCE_PACKAGE_VERSION} to both a) leave 
room for eventually having a native package take over, and b) allow 
consumers to be picky about specific Debian releases of same package 
(e.g. to avoid a proken Debian patch for some revision).

An example of how to resolve and declare such versioned virtual packages 
is here: https://salsa.debian.org/js-team/node-uuid/-/commit/85a6729


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201201/fad8a4a7/attachment.sig>


More information about the Pkg-javascript-devel mailing list