[From nobody Mon Sep 21 22:27:07 2026
Received: (at submit) by bugs.debian.org; 21 Sep 2026 14:54:35 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.6 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,
 HAS_PACKAGE,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,
 RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 71; hammy, 150; neutral, 141; spammy,
 0. spammytokens: hammytokens:0.000-+--H*Ad:N*Bug,
 0.000-+--HTo:N*Debian, 0.000-+--forky, 0.000-+--HTo:N*System,
 0.000-+--HTo:N*Bug
Return-path: &lt;SRS0=qbjw=HN=melix.org=kapouer@bounces.m4x.org&gt;
Received: from mx1.polytechnique.org ([129.104.30.34]:56402)
 by buxtehude.debian.org with esmtps
 (TLS1.2:ECDHE_SECP521R1__RSA_SHA512__AES_256_GCM:256) (Exim 4.96)
 (envelope-from &lt;SRS0=qbjw=HN=melix.org=kapouer@bounces.m4x.org&gt;)
 id 1x8fPe-00EHbQ-1U for submit@bugs.debian.org;
 Mon, 21 Sep 2026 14:54:35 +0000
Received: from lal (92-184-98-249.mobile.fr.orangecustomers.net
 [92.184.98.249])
 (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by ssl.polytechnique.org (Postfix) with ESMTPSA id 83B751A452;
 Mon, 21 Sep 2026 16:54:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=melix.org; s=svoboda;
 t=1790002468; bh=oB02RJVp3DxMUNpXXbM1QoCU5ckg2Dor5zfWQPdppIo=;
 h=From:To:Subject:Message-ID:Date:From;
 b=MPpjh4S1BhjRRo1nJl2gIuPkNKL3JzSuCq5X5VAGTr43xqbRYzRSZrb3WsNCrW+RG
 Rv4dkIt0Q54cwG5bnWx5+29xMuZRwn56g+Y2HlBVHWe/HrX95nVQtn3QzGpRDbm8CN
 MzCtWBqxIkajDGxdjVCuQyjETuK0iQBtONqVZYII+mros4t27cw6NU/gWoRyYLnu4G
 FeiA1nh+NhmOrFNnAw0Zt7X8zO6+TfhSIEh+9ezFCujH3GqmPr1N109u6Oc7jvMWTh
 TZNLWlsOBYPOI3fWp37L3KnqsNs3BHySHQgGgg/QYH9q+hERn9UjxXDl515cTS8qhi
 JNgj4mlWu4lRVpux2wvRTrBY/c+F48dALfjuExKEvR95QXuIYDkygi5/ha7tfM8M8x
 2pdaCXOoJCP+LWeF500E32nZgFxxE93xyv/zomMuLtQ/B27uakVtFMcI7XvpvT3NZR
 n0tjsMRogDuDx03UYbXWNDPdcyq+Aw9QumJwXZwppW4JRzMkAARLHUbyFwiNyj8goX
 aV1orWC6TM/iad8EntOz8qU5VZGSH2cVEb0EWjh5oUa2cGpaAwrc2pd+Wb0a7zFIu+
 Bz3f2auK+nfv6KyRULIO4uQJ+JRhIKqw1LqVGdGVS06Sq7O7VO7MDxtIsnr0+g8vI0
 38lYVyT4nPSfGDZcu6ezgn4w=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=melix.org; s=svoboda;
 t=1790002464; bh=oB02RJVp3DxMUNpXXbM1QoCU5ckg2Dor5zfWQPdppIo=;
 h=From:To:Subject:Message-ID:Date:From;
 b=M+TNiFaazsXAhEwLp/QB2IyliBpZsxRzHfSzREbPFZFNHOonkhE6rrgIvYdiYl5YP
 PomzEdiTSkIYuD8y44DVA+O2VcK93bkvNSNEJ/OhZoPztvZQQocGpMoR5MiDl+i5yn
 4+Vlf7Af3FBLcAGrzyJDm5gzCgAFmwp+pRC22bxg8xJIUzOUQOTINghZlw8JlcGaym
 Cg3AutHbt+XLGygSGCG7yilV6I/Ga4JyiZLJIMjiIxFRzhKQjRyxZvSmQX+AGo+Nw1
 whMoZERNzGQw6slATv0X0TciDYxGm+d6dRoYgZ093lSRFzLUyMpVV7ot/EnK6vzV7+
 O4jqavuthhzWjUL+YiL40nF9nhBJtuAQQZ6EiSCvmHXhJR+m/u4bfY5Wgq9jHSAtPf
 OzwSpHNO+IWvpGvrD6jmHmZ4svN1hPv5qzsUB662BDiCNpo2Z/RdKipskyjx8gDJFr
 uA0OJqyQWto1qzCfM4E5HHEifVfGSptFLtxoUp4vWtBdzM9zeEfp5jzwsoZhvQIUf+
 puTAATt8tnKeXxzF2JX1/QquzhDsbnx/3lOrWNMjz971UO0Uqach9LdqXnRe+rKzJv
 vSeeHt+27C6O4jWcX/GTc/XI6XGRaI6pZcQ6RmIETZeQFZlA7OPKtLxTpVSeBNUOA5
 oUtLgNc5+K9QMHeT3glW9AI8=
Received: by lal (Postfix, from userid 1000)
 id DA9D02809EB; Mon, 21 Sep 2026 16:54:23 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: =?utf-8?b?SsOpcsOpbXkgTGFs?= &lt;kapouer@melix.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: pkg-js-tools: package.json#files is partially ignored ?
Message-ID: &lt;179000246385.826571.12758171781542069481.reportbug@lal.local&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Mon, 21 Sep 2026 16:54:23 +0200
X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Mon Sep 21
 16:54:25 2026 +0200 (CEST))
X-Org-Mail: jeremy.lal.1997@polytechnique.org
Delivered-To: submit@bugs.debian.org

Package: pkg-js-tools
Version: 0.17.11
Severity: normal

In https://salsa.debian.org/js-team/node-react-remove-scroll,

package.json#files has

```json
  &quot;files&quot;: [
    &quot;dist&quot;,
    &quot;UI&quot;,
    &quot;sidecar&quot;
  ],
```

but these seem to not be installed, or not all installed.

To get the files properly installed, I need to set debian/nodejs/install

```
dist/
UI/
sidecar/
package.json
```

Otherwise, only
./usr/share/nodejs/react-remove-scroll/dist/es5/index.js
./usr/share/nodejs/react-remove-scroll/package.json

are installed, where it should be

UI/
UI/UI.d.ts
UI/packagedisdist/es2015/
dist/es2015/Combination.d.ts
dist/es2015/Combination.js
dist/es2015/SideEffect.d.ts
dist/es2015/SideEffect.js
dist/es2015/UI.d.ts
dist/es2015/UI.js
dist/es2015/aggresiveCapture.d.ts
dist/es2015/aggresiveCapture.js
dist/es2015/handleScroll.d.ts
dist/es2015/handleScroll.js
dist/es2015/index.d.ts
dist/es2015/index.js
dist/es2015/medium.d.ts
dist/es2015/medium.js
dist/es2015/package.json
dist/es2015/pinchAndZoom.d.ts
dist/es2015/pinchAndZoom.js
dist/es2015/sidecar.d.ts
dist/es2015/sidecar.js
dist/es2015/types.d.ts
dist/es2015/typesdist/es5/
dist/es5/Combination.d.ts
dist/es5/Combination.js
dist/es5/SideEffect.d.ts
dist/es5/SideEffect.js
dist/es5/UI.d.ts
dist/es5/UI.js
dist/es5/aggresiveCapture.d.ts
dist/es5/aggresiveCapture.js
dist/es5/handleScroll.d.ts
dist/es5/handleScroll.js
dist/es5/index.d.ts
dist/es5/index.js
dist/es5/medium.d.ts
dist/es5/medium.js
dist/es5/pinchAndZoom.d.ts
dist/es5/pinchAndZoom.js
dist/es5/sidecar.d.ts
dist/es5/sidecar.js
dist/es5/types.d.ts
dist/es5/types.js
package.json


Thanks for considering.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.6+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pkg-js-tools depends on:
ii  dh-nodejs     0.17.11
ii  libdpkg-perl  1.23.11
ii  libwww-perl   6.83-1

Versions of packages pkg-js-tools recommends:
ii  apt-file                                          3.4
ii  devscripts                                        2.26.12
ii  libcache-cache-perl                               1.08-3
ii  libprogress-any-output-termprogressbarcolor-perl  0.249-1
ii  node-semver                                       7.7.4+~cs9.7.4-2
ii  nodejs                                            24.21.0+dfsg+~cs24.13.4-1
ii  npm                                               12.0.2+ds1-2

Versions of packages pkg-js-tools suggests:
ii  autodep8          0.31
ii  git-buildpackage  0.9.43
ii  lintian           2.141.0

-- no debconf information
]