emberjs/ember.js — pull request #839 by charlesjolley (2012-05-19 19:51:23+00:00)
Title: Publish NPM package along with release process

This patch adds a new set of 'npm' tasks to the Rakefile to generate a publish an "ember" package on NPM whenever you release a new version of ember.js. I have currently published 0.9.7.1 this way. If you want to try it just use npm and do:

npm install ember
node
> require('ember')

This will load the full Ember stack, including jQuery and a fake DOM into memory. If you want debug code activated, require 'ember/ember-debug' instead.

I can publish this package without taking this task into your repo, but having it in the repo would make it automatic and keep NPM always up to date.

--
One potentially controversial thing here is that I am publishing all of ember as a single package. The reason for this is that this better fits with how you actually release ember.js (as a single file). Since NPM only loads modules you require anyway, this actually makes it easier for devs to use ember; there is no penalty for having all the assets in one place.