Re: [Pkg-javascript-devel] Help needed to package juniper
Hi Paolo, > to know how upstream builds it, look at package.json in scripts.build key > > It says: > NODE_ENV=production webpack --display-chunks && rm -rf dist/*.juniper.min.js" > > so you'll need webpack. > > You'd then proceed to webpack.config.js to see what plugins/tools it will pull > > See: https://wiki.debian.org/Javascript/Nodejs?highlight=%28webpack%29 Thanks for the helpful hint. I made some progress but now I get: ERROR in ./src/index.js Module not found: Error: Can't resolve '@jupyterlab/outputarea' in '/home/andreas/debian-maintain/salsa/js-team/juniper/src' @ ./src/index.js 5:0-69 ERROR in ./src/index.js Module not found: Error: Can't resolve '@jupyterlab/rendermime' in '/home/andreas/debian-maintain/salsa/js-team/juniper/src' @ ./src/index.js 6:0-87 ERROR in ./src/index.js Module not found: Error: Can't resolve '@jupyterlab/services' in '/home/andreas/debian-maintain/salsa/js-team/juniper/src' @ ./src/index.js 4:0-64 ERROR in ./src/index.js Module not found: Error: Can't resolve '@phosphor/widgets' in '/home/andreas/debian-maintain/salsa/js-team/juniper/src' @ ./src/index.js 3:0-43 ERROR in ./src/index.js Module not found: Error: Can't resolve 'codemirror' in '/home/andreas/debian-maintain/salsa/js-team/juniper/src' @ ./src/index.js 1:0-36 ERROR in ./src/index.js Module not found: Error: Can't resolve 'codemirror/mode/python/python' in '/home/andreas/debian-maintain/salsa/js-team/juniper/src' @ ./src/index.js 2:0-51 May be that's a matter of missing Build-Depends (I've added node-babel-loader but with for instance libjs-codemirror is not providing anything that would help here). Any further hints? Kind regards Andreas. PS: I'm not subscribed to this list so CC would be welcome but I can (obviously) read the web archive. ;-) -- http://fam-tille.de -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
Re: [Pkg-javascript-devel] Help needed to package juniper
Hi Andreas, to know how upstream builds it, look at package.json in scripts.build key It says: NODE_ENV=production webpack --display-chunks && rm -rf dist/*.juniper.min.js" so you'll need webpack. You'd then proceed to webpack.config.js to see what plugins/tools it will pull See: https://wiki.debian.org/Javascript/Nodejs?highlight=%28webpack%29 P. Il 11/12/18 21:10, Andreas Tille ha scritto: > Hi, > > I injected a packaging skeleton for juniper[1] since I need it for some > dependency. Unfortunately I have no idea how to trigger the build in > d/rules. Any hint how to do this properly? > > Thanks a lot for your patience about my beginners question > > Andreas. > > [1] https://salsa.debian.org/js-team/juniper -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
[Pkg-javascript-devel] Help needed to package juniper
Hi, I injected a packaging skeleton for juniper[1] since I need it for some dependency. Unfortunately I have no idea how to trigger the build in d/rules. Any hint how to do this properly? Thanks a lot for your patience about my beginners question Andreas. [1] https://salsa.debian.org/js-team/juniper -- http://fam-tille.de -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel