From 82b74c9df1d48c35520ebc976af003680be0584f Mon Sep 17 00:00:00 2001 From: sergeyt Date: Sat, 14 Dec 2013 00:37:37 +0700 Subject: [PATCH 1/4] meteor package defs --- package.js | 8 ++++++++ smart.json | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 package.js create mode 100644 smart.json diff --git a/package.js b/package.js new file mode 100644 index 0000000..51bda7e --- /dev/null +++ b/package.js @@ -0,0 +1,8 @@ +Package.describe({ + summary: "Live Query utilizes the power of jQuery selectors by firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated." +}); + +Package.on_use(function(api, where) { + api.use('jquery', ['client']); + api.add_files('./dist/jquery.livequery.js', ['client']); +}); diff --git a/smart.json b/smart.json new file mode 100644 index 0000000..34592cf --- /dev/null +++ b/smart.json @@ -0,0 +1,8 @@ +{ + "name": "livequery", + "description": "Live Query utilizes the power of jQuery selectors by firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.", + "homepage": "https://github.com/sergeyt/livequery", + "author": "Brandon Aaron, Alexander Zaytsev", + "version": "1.3.6", + "git": "https://github.com/sergeyt/livequery.git" +} From bc7b29ebe7e4dfd1268d25a0d07220baec6f5e89 Mon Sep 17 00:00:00 2001 From: sergeyt Date: Sat, 14 Dec 2013 00:57:54 +0700 Subject: [PATCH 2/4] using grunt-bump --- Gruntfile.js | 18 +++++++++++++++++- package.json | 5 ++++- smart.json | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 5947b84..8e03d18 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -48,7 +48,18 @@ module.exports = function(grunt) { watch: { files: ['<%= jshint.files %>'], tasks: ['jshint', 'qunit'] - } + }, + 'npm-contributors': { + options: { + commitMessage: 'chore: update contributors' + } + }, + bump: { + options: { + commitMessage: 'chore: release v%VERSION%', + pushTo: 'origin' + } + } }); grunt.loadNpmTasks('grunt-contrib-uglify'); @@ -56,9 +67,14 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-qunit'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-concat'); + grunt.loadNpmTasks('grunt-npm'); + grunt.loadNpmTasks('grunt-bump'); grunt.registerTask('test', ['jshint', 'qunit']); grunt.registerTask('default', ['jshint', 'qunit', 'concat', 'uglify']); + grunt.registerTask('release', 'Bump the version and publish to NPM.', function(type) { + grunt.task.run(['npm-contributors', "bump:#{type||'patch'}", 'npm-publish']); + }); }; \ No newline at end of file diff --git a/package.json b/package.json index 4398ff9..b3b2609 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,10 @@ "grunt-contrib-uglify": "~0.2.2", "grunt-contrib-jshint": "~0.6.3", "grunt-contrib-qunit": "~0.2.2", - "grunt-contrib-watch": "~0.4.4" + "grunt-contrib-watch": "~0.4.4", + "grunt-npm": "0.0.2", + "grunt-bump": "0.0.13", + "grunt-contrib-concat": "~0.3.0" }, "scripts": { "test": "grunt test" diff --git a/smart.json b/smart.json index 34592cf..b835ad4 100644 --- a/smart.json +++ b/smart.json @@ -3,6 +3,6 @@ "description": "Live Query utilizes the power of jQuery selectors by firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.", "homepage": "https://github.com/sergeyt/livequery", "author": "Brandon Aaron, Alexander Zaytsev", - "version": "1.3.6", + "version": "1.3.7", "git": "https://github.com/sergeyt/livequery.git" } From fe6520e6f68d0683b4eb4b92e013396018e68af7 Mon Sep 17 00:00:00 2001 From: sergeyt Date: Sat, 14 Dec 2013 00:58:22 +0700 Subject: [PATCH 3/4] chore: update contributors --- package.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b3b2609..b55bf13 100644 --- a/package.json +++ b/package.json @@ -57,5 +57,16 @@ ], "bugs": { "url": "https://github.com/hazzik/livequery/issues" - } + }, + "contributors": [ + "Alexander I. Zaytsev ", + "Brandon Aaron ", + "Alexander I. Zaytsev ", + "brandonaaron ", + "sergeyt ", + "Alexander Zaytsev ", + "Alexander Zaytsev ", + "Tianon Gravi ", + "Whoahbot " + ] } From a267b59732fdd6ebe8a3c3782ca97a202cd889ee Mon Sep 17 00:00:00 2001 From: sergeyt Date: Sat, 14 Dec 2013 01:02:46 +0700 Subject: [PATCH 4/4] bump version to 1.3.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b55bf13..4b9dce4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery.livequery", - "version": "1.3.6", + "version": "1.3.7", "description": "Live Query utilizes the power of jQuery selectors by firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.", "main": "Gruntfile.js", "directories": {