Date: Sun, 06 Dec 2015 17:07:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 204577] [NEW MODULE] Mk/Uses/nodejs.mk Framework for NodeJS projects/ports Message-ID: <bug-204577-13-c0NvG7c7yq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-204577-13@https.bugs.freebsd.org/bugzilla/> References: <bug-204577-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204577 --- Comment #27 from yuri@rawbw.com --- GitHub artifact is only hardcoded in one small place and I will remove it. Individual projects happen to be hosted on GitHub - this is their choice. However, notion of GitHub is embedded in npm design, please see the the command 'npm install github-download'. Git is also in the specification of package.json, which supports the git clause. USES=nodejs downloads everything from npm registry, unless git is specified in package.json as a source, in which case git is used. > I do not agree to include node.js submodules. I prefer to have one port per module. There are hundreds of modules, and they can be, and are present in different versions within the same process. This is the major feature of NodeJS that it supports this. I don't see how can they correspond to the ports in such situation. Also it is hard to imagine who is going to maintain all the modules. Ease of port creation and maintenance is a major factor here. > IMHO, Grunt and CoffeeScript should be placed in independent files (for example Mk/Uses/grunt.mk and Mk/Uses/coffeescript.mk), loading right variables environment in order to configure and build packages. Maybe we will do this. Currently this is only the initial version that only has 5 ports. -- You are receiving this mail because: You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204577-13-c0NvG7c7yq>