[Pkg-javascript-devel] WIP new pkg-js-tools tool

Xavier yadd at debian.org
Thu Mar 12 15:28:53 GMT 2020


Le 12/03/2020 à 16:27, Xavier a écrit :
> Hi all,
> 
> I wrote a new pkg-js-tools tool: pkgjs-ls. It produces the same result
> as `npm ls` but searches also in global nodejs paths. NB: node-semver is
> recommended to have a better display.
> 
> Not yet published but available here:
> https://salsa.debian.org/js-team/pkg-js-tools/-/blob/master/tools/pkgjs-ls
> 
> Test and comment welcome
> 
> Cheers,
> Xavier

Usable also after a `dh_auto_configure --buildsystem=nodejs` when you
use uscan components.

> 
> Example:
> 
> $ ../pkg-js-tools/tools/pkgjs-ls
> ├─┬ local @gulp-sourcemaps/identity-map at 1.0.2
> │ ├── acorn at 5.5.3
> │ ├── css at 2.1.0 Required ^2.2.1
> │ ├── normalize-path at 3.0.0 Required ^2.1.1
> │ ├── source-map at 0.6.1
> │ └── through2 at 3.0.1 Required ^2.0.3
> ├─┬ local @gulp-sourcemaps/map-sources at 1.0.0
> │ ├── normalize-path at 3.0.0 Required ^2.0.1
> │ └── through2 at 3.0.1 Required ^2.0.3
> ├── acorn at 5.5.3
> ├── local bootstrap at 3.3.7
> ├── convert-source-map at 1.6.0
> ├── css at 2.1.0
> ├── debug-fabulous at 1.1.0
> ├── detect-newline at 2.1.0
> ├── graceful-fs at 4.2.3
> ├─┬ local gulp-if at 2.0.2
> │ ├─┬ local gulp-match at 1.1.0
> │ │ └── minimatch at 3.0.4
> │ ├─┬ local ternary-stream at 2.1.1
> │ │ ├── duplexify at 4.1.1 Required ^3.5.0
> │ │ ├── local fork-stream at 0.0.4
> │ │ ├── merge-stream at 2.0.0 Required ^1.0.0
> │ │ └── through2 at 3.0.1 Required ^2.0.1
> │ └── through2 at 3.0.1 Required ^2.0.1
> ├─┬ local gulp-less at 3.5.0
> │ ├─┬ local accord at 0.28.0
> │ │ ├── convert-source-map at 1.6.0
> │ │ ├── glob at 7.1.6
> │ │ ├── local indx at 0.2.3
> │ │ ├── lodash.clone at 4.17.15
> │ │ ├── lodash.defaults at 4.17.15
> │ │ ├── lodash.flatten at 4.17.15
> │ │ ├── lodash.merge at 4.17.15
> │ │ ├── lodash.partialright at 4.17.15
> │ │ ├── lodash.pick at 4.17.15
> │ │ ├── lodash.uniq at 4.17.15
> │ │ ├── resolve at 1.15.1
> │ │ ├── semver at 7.1.3 Required ^5.3.0
> │ │ ├── uglify-js at 3.6.3 Required ^2.8.22
> │ │ └── when at 3.7.8
> │ ├─┬ local less at 2.7.3
> │ │ ├── errno at 0.1.7
> │ │ ├── graceful-fs at 4.2.3
> │ │ ├── local image-size@
> │ │ ├── mime at 2.4.4
> │ │ ├── mkdirp at 0.5.1
> │ │ ├── promise at 8.0.1
> │ │ ├── request at 2.88.1
> │ │ └── source-map at 0.6.1
> │ ├── object-assign at 4.1.1
> │ ├── plugin-error at 1.0.1 Required ^0.1.2
> │ ├── replace-ext at 1.0.0
> │ ├── through2 at 3.0.1 Required ^2.0.0
> │ └── vinyl-sourcemaps-apply at 0.2.1
> ├── local hook-std at 0.2.0
> ├── source-map at 0.6.1
> ├── local strip-bom-string at 1.0.0
> ├── through2 at 3.0.1 Required 2.X
> └─┬ local vinyl at 2.2.0
>   ├── clone at 2.1.2
>   ├── clone-buffer at 1.0.0
>   ├── clone-stats at 1.0.0
>   ├── cloneable-readable at 2.0.1 Required ^1.0.0
>   ├── remove-trailing-separator at 1.0.1
>   └── replace-ext at 1.0.0
> 



More information about the Pkg-javascript-devel mailing list