nuget + commonjs modules & packages (nodejs / requirejs)

Apr 26, 2012 at 6:25 PM

Since there is a heavy increase in the use of javascript and solutions that use commonjs's asynchronus module definition spec are slowly becoming more mainstream, it would be nice if nuget could handle these commonjs packages and modules scenarios in a standardize way in the near future. 

  1. make easy to convert commonjs package or module into a nuget package
  2. transform package scripts into the requirejs, curljs, etc format that it needs to load these scripts when package is installed.
  3. arrange in such a way that allows applications to use different versions of the same kind of libraries/packages/ etc within the same application. 

With the introduction of the Asp.Net web API, further enabling of single page applications on top of the .NET stack, and other goodies in Asp.Net Mvc 4, it would only make sense to encourage and standardize the use of these kind of scripts and scenarios for .NET web applications.