From 1f7dd546cd1d70c0bcaf109087a18d1a9b038384 Mon Sep 17 00:00:00 2001 From: Mario Buikhuizen Date: Wed, 18 Sep 2019 12:49:16 +0200 Subject: [PATCH] chore: release v1.0.0 --- generate_source/base.json | 4 ++-- ipyvuetify/Html.py | 5 +++-- ipyvuetify/VuetifyTemplate.py | 5 +++-- ipyvuetify/_version.py | 4 +++- js/package-lock.json | 2 +- js/package.json | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/generate_source/base.json b/generate_source/base.json index 51698e7c..e08e75f2 100644 --- a/generate_source/base.json +++ b/generate_source/base.json @@ -6,8 +6,8 @@ "_view_name": "VuetifyView", "_view_module": "jupyter-vuetify", "_model_module": "jupyter-vuetify", - "_view_module_version": "^0.1.11", - "_model_module_version": "^0.1.11", + "_view_module_version": "^1.0.0", + "_model_module_version": "^1.0.0", "_metadata": { "type": "object", diff --git a/ipyvuetify/Html.py b/ipyvuetify/Html.py index c187b938..84c70c9f 100644 --- a/ipyvuetify/Html.py +++ b/ipyvuetify/Html.py @@ -3,6 +3,7 @@ from traitlets import Unicode from ipyvue import Html as VueHtml +from ._version import semver class Html(VueHtml): @@ -15,9 +16,9 @@ class Html(VueHtml): _model_module = Unicode('jupyter-vuetify').tag(sync=True) - _view_module_version = Unicode('^0.1.11').tag(sync=True) + _view_module_version = Unicode(semver).tag(sync=True) - _model_module_version = Unicode('^0.1.11').tag(sync=True) + _model_module_version = Unicode(semver).tag(sync=True) __all__ = ['Html'] diff --git a/ipyvuetify/VuetifyTemplate.py b/ipyvuetify/VuetifyTemplate.py index 4ad0948e..0bf92969 100644 --- a/ipyvuetify/VuetifyTemplate.py +++ b/ipyvuetify/VuetifyTemplate.py @@ -3,6 +3,7 @@ from traitlets import Unicode from ipyvue import VueTemplate +from ._version import semver class VuetifyTemplate(VueTemplate): @@ -15,9 +16,9 @@ class VuetifyTemplate(VueTemplate): _model_module = Unicode('jupyter-vuetify').tag(sync=True) - _view_module_version = Unicode('^0.1.11').tag(sync=True) + _view_module_version = Unicode(semver).tag(sync=True) - _model_module_version = Unicode('^0.1.11').tag(sync=True) + _model_module_version = Unicode(semver).tag(sync=True) __all__ = ['VuetifyTemplate'] diff --git a/ipyvuetify/_version.py b/ipyvuetify/_version.py index 4ee4d427..3b3d8521 100644 --- a/ipyvuetify/_version.py +++ b/ipyvuetify/_version.py @@ -1,7 +1,9 @@ -version_info = (0, 1, 11, 'final') +version_info = (1, 0, 0, 'final') _specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''} __version__ = '%s.%s.%s%s' % ( version_info[0], version_info[1], version_info[2], '' if version_info[3] == 'final' else _specifier_[version_info[3]]+str(version_info[4])) + +semver = '^' + __version__ diff --git a/js/package-lock.json b/js/package-lock.json index 93ffc2a7..93596a9d 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,6 +1,6 @@ { "name": "jupyter-vuetify", - "version": "0.1.11", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/js/package.json b/js/package.json index 30cc1713..43b3731f 100755 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "jupyter-vuetify", - "version": "0.1.11", + "version": "1.0.0", "description": "Jupyter widgets based on vuetify UI components", "license": "MIT", "author": "Mario Buikhuizen, Maarten Breddels",