Initial take on the commands + renderers + cli.

This commit is contained in:
André Cruz
2013-05-23 19:55:59 +01:00
parent 9f6bf62efc
commit cfb3d14028
21 changed files with 442 additions and 68 deletions

View File

@@ -184,7 +184,9 @@ Project.prototype._readJson = function () {
if (path.basename(filename) === 'component.json') {
process.nextTick(function () {
deferred.notify({
type: 'warn',
level: 'warn',
tag: 'deprecated',
json: filename,
data: 'You are using the deprecated component.json file'
});
});
@@ -285,4 +287,4 @@ Project.prototype._restoreNode = function (node, flattened, jsonKey) {
}, this);
};
module.exports = Project;
module.exports = Project;