From fd9cf7c28a6f595be377c3fa9c751fe885e2ad80 Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:34:42 -0700 Subject: [PATCH 01/10] Freezing production shrinkwrap for v0.1.2 --- npm-shrinkwrap.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 3bcb896..96f3ee4 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -6,13 +6,13 @@ "version": "0.1.22" }, "glob": { - "version": "3.1.11", + "version": "3.1.12", "dependencies": { "minimatch": { - "version": "0.2.5", + "version": "0.2.6", "dependencies": { "lru-cache": { - "version": "1.1.1" + "version": "2.0.3" } } }, From 3b8cb987a95b72ee5ef55f959adcb9153c839ec0 Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:36:02 -0700 Subject: [PATCH 02/10] Oops forgot new version number --- npm-shrinkwrap.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 96f3ee4..3bcb896 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -6,13 +6,13 @@ "version": "0.1.22" }, "glob": { - "version": "3.1.12", + "version": "3.1.11", "dependencies": { "minimatch": { - "version": "0.2.6", + "version": "0.2.5", "dependencies": { "lru-cache": { - "version": "2.0.3" + "version": "1.1.1" } } }, diff --git a/package.json b/package.json index 011df90..1006a53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-template", - "version": "0.1.2", + "version": "0.1.3", "bin": { "node-template": "./bin/node-template" }, From 79d052db186dcc7c88ecb9fd79d0d6311bf0655e Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:36:17 -0700 Subject: [PATCH 03/10] Freezing production shrinkwrap for v0.1.3 --- npm-shrinkwrap.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 3bcb896..e394049 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,18 +1,18 @@ { "name": "node-template", - "version": "0.1.2", + "version": "0.1.3", "dependencies": { "async": { "version": "0.1.22" }, "glob": { - "version": "3.1.11", + "version": "3.1.12", "dependencies": { "minimatch": { - "version": "0.2.5", + "version": "0.2.6", "dependencies": { "lru-cache": { - "version": "1.1.1" + "version": "2.0.3" } } }, From 0379d83e062a28d6816d87fef3c572c6afa24d12 Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:38:06 -0700 Subject: [PATCH 04/10] Adding colors to package.json --- npm-shrinkwrap.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index e394049..3bcb896 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,18 +1,18 @@ { "name": "node-template", - "version": "0.1.3", + "version": "0.1.2", "dependencies": { "async": { "version": "0.1.22" }, "glob": { - "version": "3.1.12", + "version": "3.1.11", "dependencies": { "minimatch": { - "version": "0.2.6", + "version": "0.2.5", "dependencies": { "lru-cache": { - "version": "2.0.3" + "version": "1.1.1" } } }, diff --git a/package.json b/package.json index 1006a53..aab6e14 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,13 @@ }, "dependencies": { "async": "", + "colors": "", "glob": "", "underscore": "" }, "devDependencies": { "chai": "", "coffee-script": "", - "colors": "", "mocha": "", "sinon": "" }, From ec4461c16cb5da242ad29d3aec2144f2d67c3fb0 Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:38:34 -0700 Subject: [PATCH 05/10] Version 0.1.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aab6e14..b62e6d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-template", - "version": "0.1.3", + "version": "0.1.4", "bin": { "node-template": "./bin/node-template" }, From 5a19ea1bae0c74d3f31961da073623bd145a1fb5 Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:38:45 -0700 Subject: [PATCH 06/10] Freezing production shrinkwrap for v0.1.4 --- npm-shrinkwrap.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 3bcb896..d501a64 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,18 +1,21 @@ { "name": "node-template", - "version": "0.1.2", + "version": "0.1.4", "dependencies": { "async": { "version": "0.1.22" }, + "colors": { + "version": "0.6.0-1" + }, "glob": { - "version": "3.1.11", + "version": "3.1.12", "dependencies": { "minimatch": { - "version": "0.2.5", + "version": "0.2.6", "dependencies": { "lru-cache": { - "version": "1.1.1" + "version": "2.0.3" } } }, From 64ec50a464887d1c8fb113cb990ca70369e37680 Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:39:47 -0700 Subject: [PATCH 07/10] Adding colors to shrinkwrap (uggh) --- npm-shrinkwrap.json | 53 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index d501a64..7612eb9 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -9,13 +9,13 @@ "version": "0.6.0-1" }, "glob": { - "version": "3.1.12", + "version": "3.1.11", "dependencies": { "minimatch": { - "version": "0.2.6", + "version": "0.2.5", "dependencies": { "lru-cache": { - "version": "2.0.3" + "version": "1.1.1" } } }, @@ -29,6 +29,53 @@ }, "underscore": { "version": "1.3.3" + }, + "chai": { + "version": "1.2.0" + }, + "coffee-script": { + "version": "1.3.3" + }, + "sinon": { + "version": "1.4.2", + "dependencies": { + "buster-format": { + "version": "0.5.5", + "dependencies": { + "buster-core": { + "version": "0.6.4" + } + } + } + } + }, + "mocha": { + "version": "1.4.2", + "dependencies": { + "commander": { + "version": "0.6.1" + }, + "growl": { + "version": "1.5.1" + }, + "jade": { + "version": "0.26.3", + "dependencies": { + "mkdirp": { + "version": "0.3.0" + } + } + }, + "diff": { + "version": "1.0.2" + }, + "debug": { + "version": "0.7.0" + }, + "mkdirp": { + "version": "0.3.3" + } + } } } } From afbdddac43cec73c03d63038d3838228de3338eb Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:40:04 -0700 Subject: [PATCH 08/10] Version 0.1.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b62e6d5..cf1b8ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-template", - "version": "0.1.4", + "version": "0.1.5", "bin": { "node-template": "./bin/node-template" }, From 408f0ce13b7408bad6346d13fe993a9d4d23bc36 Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 00:40:22 -0700 Subject: [PATCH 09/10] Freezing production shrinkwrap for v0.1.5 --- npm-shrinkwrap.json | 49 +-------------------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 7612eb9..257a5f2 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "node-template", - "version": "0.1.4", + "version": "0.1.5", "dependencies": { "async": { "version": "0.1.22" @@ -29,53 +29,6 @@ }, "underscore": { "version": "1.3.3" - }, - "chai": { - "version": "1.2.0" - }, - "coffee-script": { - "version": "1.3.3" - }, - "sinon": { - "version": "1.4.2", - "dependencies": { - "buster-format": { - "version": "0.5.5", - "dependencies": { - "buster-core": { - "version": "0.6.4" - } - } - } - } - }, - "mocha": { - "version": "1.4.2", - "dependencies": { - "commander": { - "version": "0.6.1" - }, - "growl": { - "version": "1.5.1" - }, - "jade": { - "version": "0.26.3", - "dependencies": { - "mkdirp": { - "version": "0.3.0" - } - } - }, - "diff": { - "version": "1.0.2" - }, - "debug": { - "version": "0.7.0" - }, - "mkdirp": { - "version": "0.3.3" - } - } } } } From ad2445969046a728d78762dd92b63c5aa60ea54a Mon Sep 17 00:00:00 2001 From: winton Date: Thu, 13 Sep 2012 10:48:33 -0700 Subject: [PATCH 10/10] Getting rid of file existence checks --- bin/node-template.coffee | 6 +++-- npm-shrinkwrap.json | 49 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/bin/node-template.coffee b/bin/node-template.coffee index 23343ed..a21d446 100644 --- a/bin/node-template.coffee +++ b/bin/node-template.coffee @@ -79,7 +79,7 @@ module.exports = class Bin _.each @overwrite, (body, path) -> body = body.replace(/\n/g, "\\n").replace(/"/g, "\\\"") - commands.push "([[ -f #{path} ]] && echo \"#{body}\" > #{path} || true)" + commands.push "echo \"#{body}\" > #{path}" @executing(commands) @@ -96,7 +96,7 @@ module.exports = class Bin commands = commands.concat [ "cd #{dir}#{name}" - "([[ -f src ]] && coffee -o lib -c src || true)" + "coffee -o lib -c src" ] @executing(commands) @@ -122,6 +122,8 @@ module.exports = class Bin (error, stdout, stderr) -> if error console.log "\nError :(".bold.red + console.log error + console.log stdout console.log stderr else console.log "\nSuccess :)\n".bold.green diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 257a5f2..7612eb9 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "node-template", - "version": "0.1.5", + "version": "0.1.4", "dependencies": { "async": { "version": "0.1.22" @@ -29,6 +29,53 @@ }, "underscore": { "version": "1.3.3" + }, + "chai": { + "version": "1.2.0" + }, + "coffee-script": { + "version": "1.3.3" + }, + "sinon": { + "version": "1.4.2", + "dependencies": { + "buster-format": { + "version": "0.5.5", + "dependencies": { + "buster-core": { + "version": "0.6.4" + } + } + } + } + }, + "mocha": { + "version": "1.4.2", + "dependencies": { + "commander": { + "version": "0.6.1" + }, + "growl": { + "version": "1.5.1" + }, + "jade": { + "version": "0.26.3", + "dependencies": { + "mkdirp": { + "version": "0.3.0" + } + } + }, + "diff": { + "version": "1.0.2" + }, + "debug": { + "version": "0.7.0" + }, + "mkdirp": { + "version": "0.3.3" + } + } } } }