[Pkg-javascript-devel] Bug#977690: Bug#977690: node-rollup-plugin-json: please embed additional rollup plugins

Xavier yadd at debian.org
Fri Dec 18 22:56:39 GMT 2020


Le 18/12/2020 à 23:41, Jonas Smedegaard a écrit :
> Package: node-rollup-plugin-json
> Version: 4.1.0+repack+~4.0.0-1
> Severity: wishlist
>
> I need these rollup plugins + dependencies not yet in Debian:
> 
>  rollup-plugin-cleanup
>  rollup-plugin-multi-entry
>  matched
>  js-cleanup
>  skip-regex
>  perf-regexes
> 
> They are all tiny, with seemingly similar dependencies and build-
> dependencies as node-rollup-plugin-json - and one of them is even
> included already with the source package ;-)
> 
> Please consider embedding them with node-rollup-plugin-json.

Hi,

it's easy to embed @rollup/plugin-multi-entry (already present in source
tree. But not easy to follow changes: @rollup/plugin* use the same git
repo but with specific tags. That's why all @rollup/plugin* Debian
packages have the same debian/watch except the git-tag regex. Maybe a
better way to provide all @rollup/* with one source package (I didn't
found a good way, that's why I kept separated packages)

Actual example with @rollup/plugin-json:

version=4
opts=\
mode=git,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-rollup-pluginutils-$1.tar.gz/
\
 https://github.com/rollup/plugins.git refs/tags/json-v?([\d\.]+) group



More information about the Pkg-javascript-devel mailing list