Amazing, thanks all!

Comments and questions below....

On Sun, Dec 11, 2022 at 11:39:45PM +0530, Pirate Praveen wrote:
> On Sun, Dec 11 2022 at 05:45:04 PM +01:00:00 +01:00:00, Yadd
> <[email protected]> wrote:
> > More simple:
> > 
> > $ pkgjs-depends @mdi/font-build

I discovered this after my initial post, reading the really helpful
wiki pages!

> > # @mdi/[email protected]
> > # 12 missing npm module(s)
> > [...]
> > 
> > MISSING:
> > @mdi/[email protected]
> >  └── webfont (9.0.0)
> >      └── svgicons2svgfont (9.2.0)
> >          └── array.prototype.flatmap (1.2.4)
> >          └── geometry-interfaces (1.1.4)
> >          └── neatequal (1.0.0)
> >              └── varstream (0.3.2)
> >          └── string.fromcodepoint (0.2.1)
> >          └── svg-pathdata (5.0.5)
> > [...]

Now what's interesting here is that this is an older version of
webfont; the newest version has fewer dependencies (hence why my list,
obtained from browsing npmjs.com, had fewer dependencies).  But I'm
not sure how strict nodejs dependencies are.  From reading the wiki,
it seems to me that the Debian JavaScript practice (policy?) is to
package the newest versions of nodejs libraries and to patch where
necessary.  Am I right about that?

> > Maybe create just a node-webfont package with embedded dependencies

That does seem like a sensible idea - I hadn't thought of doing that
until I read the wiki (there's a theme here!).  I doubt that most of
the packages required by webfont would be needed by other packages.

> I have attempted to package this earlier, you can see the existing work here
> https://salsa.debian.org/js-team/node-webfont
> 
> You can try to continue from there.

Amazing, thanks, I'll take a look!

Best wishes,

   Julian

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to