2018-05-23 8:26 GMT+02:00 Diane Trout <[email protected]>: > Hi, > > I was mucking around with building npm 6.0.1 and filtering out more > things in node_modules that I can find close enough versions in Debian. > > I thought you all might be interested in I found only two source is > missing lintian errors. (Though there's still 57 directories in the > root node_modules directory) > > E: npm source: source-is-missing node_modules/columnify/columnify.js > line length is 267 characters (>256) > E: npm source: source-is-missing node_modules/unique-filename/coverage/ > line length is 17568 characters (>512) > > I didn't find any .min.js files after the filtering and I also quickly > skimmed all the js files with: > > find node_modules -name '*.js' | xargs head | less > > I didn't see anything other than coverage/prettify.js that was > minified. It turned out that columnify.js appears to be readable, but > has some long comments. > > The upstream repository for unique-filename doesn't have the coverage > directory in unique-filename > > npm > https://github.com/npm/npm/tree/latest/node_modules/unique-filename > > unique-filename repository > https://github.com/npm/unique-filename > > I need to sleep now, but it might be interesting to try npm with the > node_modules/unique-filename/coverage directory removed. > > I have built npm using node-tar from experimental, and basic commands > like npm list, npm search, npm show appear to work. I want to try > rebuilding bokehjs after I strip out the strangely placed coverage > directory. >
Many thanks for your work. Note that recent versions of npm, including 6.0.1 failed to install many modules, displaying ERR_STREAM_WRITE_AFTER_END. [email protected] will fix this and is announced to be released in a few days. Jérémy
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
