diff --git a/Gruntfile.js b/Gruntfile.js index 4d8235f..a097a6c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -46,8 +46,8 @@ module.exports = function(grunt) { file: 'test/fixtures/_component.json', changelog: 'test/fixtures/_CHANGELOG.md', additionalFiles: ['test/fixtures/_bower.json'], - changelogText: '### <%= version %>\n', - commitMessage: 'v<%= version %>' + changelogText: grunt.template.process('### <%= version %>\n', {data: {'version': '0.0.13'}}), + commitMessage: grunt.template.process('v<%= version %>', {data: {'version': '0.0.13'}}) } }, absolute: { @@ -78,25 +78,25 @@ module.exports = function(grunt) { setup: { test: { files: [{ - src: 'test/fixtures/component.json', + from: 'test/fixtures/component.json', dest: 'test/fixtures/_component.json' },{ - src: 'test/fixtures/bower.json', + from: 'test/fixtures/bower.json', dest: 'test/fixtures/_bower.json' },{ - src: 'test/fixtures/CHANGELOG.md', + from: 'test/fixtures/CHANGELOG.md', dest: 'test/fixtures/_CHANGELOG.md' },{ - src: 'test/fixtures/bower.json', + from: 'test/fixtures/bower.json', dest: 'test/fixtures/_bower-absolute.json' },{ - src: 'test/fixtures/component.json', + from: 'test/fixtures/component.json', dest: 'test/fixtures/_component-patch.json' },{ - src: 'test/fixtures/component.json', + from: 'test/fixtures/component.json', dest: 'test/fixtures/_component-minor.json' },{ - src: 'test/fixtures/component.json', + from: 'test/fixtures/component.json', dest: 'test/fixtures/_component-major.json' }] } @@ -117,7 +117,7 @@ module.exports = function(grunt) { grunt.registerMultiTask('setup', 'Setup test fixtures', function(){ this.files.forEach(function(f){ - grunt.file.copy(f.src, f.dest); + grunt.file.copy(f.from, f.dest); }); }); diff --git a/package.json b/package.json index cabe65d..66152ad 100644 --- a/package.json +++ b/package.json @@ -23,17 +23,17 @@ "author": "Dave Geddes", "license": "MIT", "dependencies": { - "shelljs": "^0.5.1", - "semver": "^4.3.6", - "superagent": "^1.2.0", + "shelljs": "^0.7.0", + "semver": "^5.1.0", + "superagent": "^1.8.3", "q": "^1.4.1" }, "devDependencies": { - "grunt": "^0.4.5", - "grunt-contrib-nodeunit": "^0.4.1", - "grunt-contrib-clean": "^0.6.0" + "grunt": "^1.0.1", + "grunt-contrib-nodeunit": "^1.0.0", + "grunt-contrib-clean": "^1.0.0" }, "peerDependencies": { - "grunt": ">=0.4.0" + "grunt": ">=1.0.1" } }