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

Philip Hands phil at hands.com
Thu May 12 09:51:24 BST 2022


Jérémy Lal <kapouer at melix.org> writes:

> 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...)

Hmm, I suspect that this task is not currently within my competence, I'm
afraid.

I'm vaguely aware that package.json is used as some sort of
specification for packages in javascript-land.

rollup is presumably some sort of build tool?

How can one tell that something is only used for build-time stuff?

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220512/b6bc84c6/attachment.sig>


More information about the Pkg-javascript-devel mailing list