#930268 node-typescript should add debian's nodejs library paths to tsc

#930268#5
Date:
2019-06-09 14:16:04 UTC
From:
To:
package: node-typescript
version: 3.4.5-1
severity: important

Now every package that uses tsc is having to add symlink for system
modules to local node_modules directory. See node-xterm for an example,
https://salsa.debian.org/js-team/node-xterm/blob/59935974572560cee71ca6fcb28661a6e67ac052/debian/rules#L10

Primary use of node-typescript is building other debian packages and it
should be adapted to that purpose (like grunt and gulp).

#930268#8
Date:
2019-07-08 14:35:56 UTC
From:
To:
Hello,

Bug #930268 in node-typescript reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-typescript/commit/5f0227be9710bff56f99d36741beb5e0f522b23b

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/930268

#930268#15
Date:
2019-07-08 15:23:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-typescript, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 930268@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Puydt <jpuydt@debian.org> (supplier of updated node-typescript package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 08 Jul 2019 12:00:58 +0200
Source: node-typescript
Binary: node-typescript
Architecture: source all
Version: 3.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Julien Puydt <jpuydt@debian.org>
Description:
 node-typescript - TypeScript is a language for application scale JavaScript develop
Closes: 930268
Changes:
 node-typescript (3.5.2-1) unstable; urgency=medium
 .
   * New upstream release.
   * Add patch to find system-installed libs (Closes: #930268).
   * Bump std-ver to 4.4.0.
   * Update lintian overrides for the tests.
Checksums-Sha1:
 e4969c4874957ced577a6992bef1dd16ccd25376 2053 node-typescript_3.5.2-1.dsc
 0973c37259b871362768a5c3adaf36131ee36518 25982357 node-typescript_3.5.2.orig.tar.gz
 554a613c5fa51716ac8ada9a8582a2fac30bf947 7052 node-typescript_3.5.2-1.debian.tar.xz
 25b73a72ff9d7c92f2efd21a2eeb326a5bbda066 2551424 node-typescript_3.5.2-1_all.deb
 1a63f46de347d9be77bc4c240ab89c7484f3863c 6078 node-typescript_3.5.2-1_amd64.buildinfo
Checksums-Sha256:
 7f429e7d4c6118c492fb3c64688a7ab42344e67d29f1b89216a8e0e8c5b87304 2053 node-typescript_3.5.2-1.dsc
 405ed1e3bcc86614060017c41882ce6a18c84a6577dcdaa7be44191af753e82f 25982357 node-typescript_3.5.2.orig.tar.gz
 64f8035d5c79cc013e350d431c8696e7af91e6f20ef27a0fb81c9283e277da66 7052 node-typescript_3.5.2-1.debian.tar.xz
 fd6c66aacd26a20fa2a373c7f67bc3610ff20a36ced52077caab3dc364a2e599 2551424 node-typescript_3.5.2-1_all.deb
 91782ec2c5d5df60bac15a190e651d1c51dc4a0d1063ca97980c96272423744e 6078 node-typescript_3.5.2-1_amd64.buildinfo
Files:
 de3d737123100e308bc92a9a692e72ee 2053 javascript optional node-typescript_3.5.2-1.dsc
 3edba1a16586f04c09d2669d9fce1a3d 25982357 javascript optional node-typescript_3.5.2.orig.tar.gz
 1a96f50d288490e7a03c97dc04d3f202 7052 javascript optional node-typescript_3.5.2-1.debian.tar.xz
 40c76c8ed1fbe28cb7fbaeb88b68a867 2551424 javascript optional node-typescript_3.5.2-1_all.deb
 c25f4d47b7d4ecfdf5bf5e9cc6630c5b 6078 javascript optional node-typescript_3.5.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAl0jVKIZHGp1bGllbi5w
dXlkdEBsYXBvc3RlLm5ldAAKCRAExTvX/gMFUaooEACcRcgp4z2k1hzGknaI/guU
/CBp6OzLngfFZ+TZxcYkw5wdPA1lOKSVWOHk5h65sKInhyG3/OJ8k2W5aOHi0YQm
ssehzaCQFm4dBf4upCC4TAJG6xGXOMX5eqau6dueBuEpKC7sF+53bbwu4ZKG0bE5
jj9tF+YjTQns0Vs/NJK0MQlt+O+DE3S24QjieZZvrROGAkRsOTGZDITObmx34T/8
4ASZ0feuv4yyEbEFCLyQxQY93wU6NjLAjZbQqS3Lscxnt1cX6TxCLPrOQwAsW0SB
kqwd+rK6dp4w0ROhwPDL8xCe/Vq+L656UwZIztB6GTOBgCNfYCYKl6cFQ1QLDiW3
Q5amsTl+fhluNXPPRtKgycsoENpXIF54St6N/PTGKXnSAlf8crIxEOdPb9nspWQ/
LZ5a8QQXjs+vGffcnm3prp8Es2NiWETx3EEBUAj1rp8rabC9YTC4wL8+nogkbhTM
nVidRTW8BtDGjmLgX8Do0k0zZVLB/v2pkRk5VCWYS6o6Us3gBMrKdjgmllWdxPN/
0Tmvj4rpDoBVLuTo7asOY5kjHoALv2h7hN8x/TOa/1Zg98x7c/RawA5IAi29DWEv
oUCSQJJ8EEYwtzukGUDcEPrK11H4WwWjdzRBZPA1G0TqL80yOwaulxMhanrutEVH
O5+yFu074BBaHgdzdQ1UMQ==
=QyMb
-----END PGP SIGNATURE-----

#930268#28
Date:
2019-09-27 18:31:44 UTC
From:
To:
While trying to run tsc in node-rollup master-0.56 branch,

src/watch/chokidar.ts:7:34 - error TS2580: Cannot find name 'process'.
Do you need to install type definitions for node? Try `npm i @types/node`.

7  chokidar = relative('chokidar', process.cwd());

$ ls -l /usr/lib/nodejs/@types/node/ -d
drwxr-xr-x 3 root root 4096 Sep 27 23:52 /usr/lib/nodejs/@types/node/

#930268#33
Date:
2019-09-28 07:08:18 UTC
From:
To:
Hi,

yes, I had to drop the patch
https://salsa.debian.org/js-team/node-typescript/commit/5f0227be9710bff56f99d36741beb5e0f522b23b

because it wasn't working correctly ; I don't remember exactly what the
problem was.

I'll try to see if I can come up with something better, but if you have
a clue, let me know...

Thanks!

JP

#930268#38
Date:
2019-09-29 14:23:18 UTC
From:
To:
control: forwarded -1 https://github.com/microsoft/TypeScript/issues/33661
#930268#45
Date:
2022-02-07 07:35:51 UTC
From:
To:
This will also decrease lnks needed by typescript (#930268)
#930268#50
Date:
2025-12-13 18:16:15 UTC
From:
To:
Hi !

better late than never...

Most of this discussion seems to be settled, given current practices.

Shall it be closed ?