From 253b2520cddccff270e7ff7576e0cde5bed9b1de Mon Sep 17 00:00:00 2001 From: Denis Karabaza Date: Thu, 20 Oct 2016 22:55:50 +0300 Subject: [PATCH] Release 2.0 --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- dist/vue-focus.common.js | 2 +- dist/vue-focus.js | 2 +- dist/vue-focus.min.js | 2 +- index.js | 2 +- package.json | 4 ++-- 7 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 211deb3..a3c825e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [2.0.0] - 2016-10-20 + +No changes from 2.0.0-rc2 + ## [2.0.0-rc2] - 2016-09-28 ## Fixed @@ -43,3 +47,4 @@ Initial release [1.0.0]: https://github.com/simplesmiler/vue-focus/compare/0.1.2...1.0.0 [2.0.0-rc1]: https://github.com/simplesmiler/vue-focus/compare/1.0.0...2.0.0-rc1 [2.0.0-rc2]: https://github.com/simplesmiler/vue-focus/compare/2.0.0-rc1...2.0.0-rc2 +[2.0.0]: https://github.com/simplesmiler/vue-focus/compare/2.0.0-rc2...2.0.0 diff --git a/README.md b/README.md index 0ac172e..c8ee671 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ $ npm install vue-focus --save From CDN: ``` html - + - + ``` ## API diff --git a/dist/vue-focus.common.js b/dist/vue-focus.common.js index 5b59bab..1c1bf6d 100644 --- a/dist/vue-focus.common.js +++ b/dist/vue-focus.common.js @@ -3,7 +3,7 @@ var Vue = require('vue'); Vue = 'default' in Vue ? Vue['default'] : Vue; -var version = '2.0.0-rc1'; +var version = '2.0.0'; var compatible = (/^2\./).test(Vue.version); if (!compatible) { diff --git a/dist/vue-focus.js b/dist/vue-focus.js index b2b65c4..69dfd52 100644 --- a/dist/vue-focus.js +++ b/dist/vue-focus.js @@ -2,7 +2,7 @@ Vue = 'default' in Vue ? Vue['default'] : Vue; - var version = '2.0.0-rc1'; + var version = '2.0.0'; var compatible = (/^2\./).test(Vue.version); if (!compatible) { diff --git a/dist/vue-focus.min.js b/dist/vue-focus.min.js index 278be0c..047c8cb 100644 --- a/dist/vue-focus.min.js +++ b/dist/vue-focus.min.js @@ -1 +1 @@ -!function(u,e){"use strict";e="default"in e?e.default:e;var o="2.0.0-rc1",s=/^2\./.test(e.version);s||e.util.warn("VueFocus "+o+" only supports Vue 2.x, and does not support Vue "+e.version);var n={inserted:function(u,e){e.value?u.focus():u.blur()},componentUpdated:function(u,e){e.value?u.focus():u.blur()}},t={directives:{focus:n}};u.version=o,u.focus=n,u.mixin=t}(this.VueFocus={},Vue); \ No newline at end of file +!function(u,e){"use strict";e="default"in e?e.default:e;var o="2.0.0",s=/^2\./.test(e.version);s||e.util.warn("VueFocus "+o+" only supports Vue 2.x, and does not support Vue "+e.version);var n={inserted:function(u,e){e.value?u.focus():u.blur()},componentUpdated:function(u,e){e.value?u.focus():u.blur()}},t={directives:{focus:n}};u.version=o,u.focus=n,u.mixin=t}(this.VueFocus={},Vue); \ No newline at end of file diff --git a/index.js b/index.js index 536f133..fe253df 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ import Vue from 'vue'; -export var version = '2.0.0-rc1'; +export var version = '2.0.0'; var compatible = (/^2\./).test(Vue.version); if (!compatible) { diff --git a/package.json b/package.json index e38b4a8..fe5f5b6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-focus", "description": "A set of reusable focus directives for reusable Vue.js components", - "version": "2.0.0-rc2", + "version": "2.0.0", "author": "Denis Karabaza ", "browserify": { "transform": [ @@ -36,7 +36,7 @@ "license": "MIT", "main": "dist/vue-focus.common.js", "peerDependencies": { - "vue": "^2.0.0-rc.1" + "vue": "^2.0.0" }, "repository": { "type": "git",