[Pkg-javascript-devel] Bug#1004670: Bug#1004670: pkg-js-tools: restrictive regex for d/nodejs/component_links
Yadd
yadd at debian.org
Mon Jan 31 14:42:51 GMT 2022
Control: tags -1 + wontfix
On 31/01/2022 15:37, Gordon Ball wrote:
> Package: pkg-js-tools
> Version: 0.11.7
> Severity: normal
> X-Debbugs-Cc: gordon at chronitis.net
>
> Lines in the file `debian/nodejs/component_links` are checked for the
> regex `/^([\w\-\.\/]+)\s+([\w\-\.\/]+)$/` and otherwise reported as
> malformed.
>
> This means that components named in the typescript style (@foo/bar)
> can't be used with this file.
Hi,
don't confuse component name and module name. Component name should
follow this regex else dpkg will fail. Try
add-node-component @foo/bar
component will be named "foo-bar" but dh-sequence-nodejs will install it
in /.../nodejs/@foo/bar
Cheers,
Yadd
More information about the Pkg-javascript-devel
mailing list