yui/yogi — pull request #83 by bretkikehara (2013-07-11 23:39:30+00:00)
Title: Create configurations that can be used with YUI.applyConfig function for external modules

### Motivation
Previously, any external module configuration that are external from the YUI modules or gallery needed to be hand crafted. Yogi will help in creating the directory structure for a module, but will not help with configuring external modules for loading.

This code hooks into the current process used to configure the YUI module and redirects the output for external module loading. Following the Shifter's pattern, @MODULES@ will be replaced by the module data. Since the module data is replacing a pattern, the generated output cannot be linted.

### How to Use:

An example of a basic configuration file.
```javascript
YUI.applyConfig({
groups: {
extGroupName: {
modules: @MODULES@
}
}
});
```

Expected output:

```javascript
YUI.applyConfig({
groups: {
extGroupName: {
modules: {
"module1" : {
"requires" : ["node"]
}
}
}
});
```