[Pkg-javascript-devel] request to join the JS team

Jérémy Lal kapouer at melix.org
Thu May 12 09:34:32 BST 2022


Le jeu. 12 mai 2022 à 10:27, Philip Hands <phil at hands.com> a écrit :

> Jérémy Lal <kapouer at melix.org> writes:
>
> > Le jeu. 12 mai 2022 à 08:50, Philip Hands <phil at hands.com> a écrit :
> >
> >> Hi,
> >>
> >> I maintain openQA, which recently gained a dependency on (the currently
> >> unpackaged) shepherd.js.
> >>
> >> I therefore need to package that, and it seems that the right way to
> >> proceed is as part of the JS team, hence this request.
> >>
> >> I've already requested to join the Salsa group, and had a good look at
> >> the wiki pages about this stuff -- is there anything else I need to do?
> >>
> >> BTW If I need to ask newbie questions about packaging JS pacakges,
> >> where's the best place to do that: here, #debian-js, or somewhere else?
> >>
> >
> > shepherd.js depends on a lot of packages, some of them might need to be
> > bundled.
> > In any case, please don't bundle:
> > - tailwindcss
> > - svelte
>
> Oh, that wasn't the impression I got when I ran (as suggested here
> https://wiki.debian.org/Javascript/Tutorial#Starting_a_new_package):
>
>   pkgjs-depends shepherd.js
>
> which told me:
>
> DEPENDENCIES:
>   node-deepmerge (deepmerge)
>   node-popper2 (@popperjs/core)
>
> MISSING:
> shepherd.js
>  └── smoothscroll-polyfill (0.4.4)
>
> which I interpreted to mean that only `smoothscroll-polyfill` was
> missing -- is that wrong?
>

Yes, it is wrong :)
package.json contains a build script that calls rollup, which in turn
bundles
several of its devDependencies into a distributable bundle (using postcss
and
several rollup plugins).
Mind that some devDependencies are only used to check source code (eslint,
prettier...),
or for test suites (jest, chai, http-server...)

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220512/90424857/attachment.htm>


More information about the Pkg-javascript-devel mailing list