[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#914296: ITP: node-path-parse -- Node.js path.parse() ponyfill



Le 2018-11-22 03:54, Pirate Praveen a écrit :
I suggest you embed it inside (same for other simple dependencies)
node-istanbuljs. See
https://wiki.debian.org/Javascript/Nodejs/Npm2Deb#Embedding_some_modules

Thanks, I will do that.

One question about this process though.

In this case, the package node-path-parse is a dependency of node-istanbul on the install stage, but not on the build stage.

So my idea is to copy node-path-parse to node-istanbuljs/debian/components and append to the file debian/node-istanbul-lib-report.install the new component:

debian/components/node-path-parse/package.json usr/lib/nodejs/path-parse/
debian/components/node-path-parse/index.js usr/lib/nodejs/path-parse/

There is no need for a build script.

Do you agree?


Reply to: