<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 12 mai 2022 à 10:27, Philip Hands <<a href="mailto:phil@hands.com">phil@hands.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Jérémy Lal <<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>> writes:<br>
<br>
> Le jeu. 12 mai 2022 à 08:50, Philip Hands <<a href="mailto:phil@hands.com" target="_blank">phil@hands.com</a>> a écrit :<br>
><br>
>> Hi,<br>
>><br>
>> I maintain openQA, which recently gained a dependency on (the currently<br>
>> unpackaged) shepherd.js.<br>
>><br>
>> I therefore need to package that, and it seems that the right way to<br>
>> proceed is as part of the JS team, hence this request.<br>
>><br>
>> I've already requested to join the Salsa group, and had a good look at<br>
>> the wiki pages about this stuff -- is there anything else I need to do?<br>
>><br>
>> BTW If I need to ask newbie questions about packaging JS pacakges,<br>
>> where's the best place to do that: here, #debian-js, or somewhere else?<br>
>><br>
><br>
> shepherd.js depends on a lot of packages, some of them might need to be<br>
> bundled.<br>
> In any case, please don't bundle:<br>
> - tailwindcss<br>
> - svelte<br>
<br>
Oh, that wasn't the impression I got when I ran (as suggested here<br>
<a href="https://wiki.debian.org/Javascript/Tutorial#Starting_a_new_package" rel="noreferrer" target="_blank">https://wiki.debian.org/Javascript/Tutorial#Starting_a_new_package</a>):<br>
<br>
  pkgjs-depends shepherd.js<br>
<br>
which told me:<br>
<br>
DEPENDENCIES:<br>
  node-deepmerge (deepmerge)<br>
  node-popper2 (@popperjs/core)<br>
<br>
MISSING:<br>
shepherd.js<br>
 └── smoothscroll-polyfill (0.4.4)<br>
<br>
which I interpreted to mean that only `smoothscroll-polyfill` was<br>
missing -- is that wrong?<br></blockquote><div><br></div><div>Yes, it is wrong :)</div><div>package.json contains a build script that calls rollup, which in turn bundles</div><div>several of its devDependencies into a distributable bundle (using postcss and</div><div>several rollup plugins).</div><div>Mind that some devDependencies are only used to check source code (eslint, prettier...),</div><div>or for test suites (jest, chai, http-server...)</div><div><br></div><div>Jérémy</div></div></div>