[Pkg-javascript-devel] Bug#942361: Bug#942361: Bug#942361: I think .d.ts files should be included by default

Pirate Praveen praveen at onenetbeyond.org
Tue Oct 15 09:24:59 BST 2019



On Tue, Oct 15, 2019 at 13:35, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> 
> 
> On Tue, Oct 15, 2019 at 13:27, Pirate Praveen 
> <praveen at onenetbeyond.org> wrote:
>> 
>> 
>> On Tue, Oct 15, 2019 at 13:23, Pirate Praveen 
>> <praveen at onenetbeyond.org> wrote:
>>> Even though package.json#files mentions dist, I think .d.ts was 
>>> filtered out.
>> 
>> I found the problem, package.json#scripts had a cp command too to 
>> copy d.ts, which I missed. Though original request to check typings 
>> field is still valid I think.
> 
> Also just noticed we were not using pkg-js-tools with 
> node-rollup-pluginutils.

As mentioned in the pkg-js list, types field does not work, so we 
should probably not install package.json#types but show a lintian 
warning, patch it and report upstream to use package.json#typings 
instead.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191015/354ea46d/attachment.html>


More information about the Pkg-javascript-devel mailing list