[Pkg-javascript-devel] Fwd: Bug #977565: RFP: node-castv2 -- Chromecast CASTV2 protocol implementation
Pirate Praveen
praveen at onenetbeyond.org
Thu Dec 17 10:59:50 GMT 2020
On Wed, Dec 16, 2020 at 9:27 pm, Andrej Shadura <andrewsh at debian.org>
wrote:
> Hi all,
>
> I’m not very well-versed in Node packaging (or rather not at all),
> so it
> would be great if somebody could look at it. In particular, I’ve
> stumbled upon this:
>
> Warnings occurred:
> [error] @protobufjs/aspromise: dependency
> node- at protobufjs/aspromise
> not in debian
> [error] @protobufjs/base64: dependency node- at protobufjs/base64 not
> in
> debian
> [error] @protobufjs/codegen: dependency node- at protobufjs/codegen
> not
> in debian
> [error] @protobufjs/eventemitter: dependency
> node- at protobufjs/eventemitter not in debian
> [error] @protobufjs/fetch: dependency node- at protobufjs/fetch not in
> debian
> [error] @protobufjs/float: dependency node- at protobufjs/float not in
> debian
> [error] @protobufjs/inquire: dependency node- at protobufjs/inquire
> not
> in debian
> [error] @protobufjs/path: dependency node- at protobufjs/path not in
> debian
> [error] @protobufjs/pool: dependency node- at protobufjs/pool not in
> debian
> [error] @protobufjs/utf8: dependency node- at protobufjs/utf8 not in
> debian
> [error] @types/long: dependency node- at types/long not in debian
> [error] @types/node: dependency node- at types/node not in debian
> [error] long: dependency node-long not in debian
>
> It would appear at least some of those ship with the package itself,
> but
> I’ve not idea how to tell the tooling there are in fact there.
>
If you know these are part of the source, you can ignore this warning
and ship all the modules in a single node-protobufjs package. See
node-babel or node-vue for example.
See https://wiki.debian.org/Javascript/GroupSourcesTutorial
$ apt-file find @types/node
node-typescript-types: /usr/share/nodejs/@types/node/README.md
For @types/long, we prefer to embed in in node-long if already present.
Since node-long is not packaged, I think we may be able to add it to
node-typescript-types. Xavier/yadd has been working on adding type
definitions so he may have a better idea than me.
More information about the Pkg-javascript-devel
mailing list