Skip to content

Commit

Permalink
⬆️ Upgrade to Vue 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gluons committed Oct 22, 2017
1 parent c4f55fd commit f6e2138
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 55 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// Place your settings in this file to overwrite default and user settings.
{
"typescript.tsdk": "./node_modules/typescript/lib"
"typescript.tsdk": "./node_modules/typescript/lib",
"eslint.validate": [
"javascript",
"javascriptreact"
]
}
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@
"Firefox ESR",
"last 3 versions"
],
"peerDependencies": {
"vue": "2"
},
"peerDependencies": {},
"devDependencies": {
"@types/chai": "^4.0.3",
"@types/copy-webpack-plugin": "^4.0.0",
Expand Down Expand Up @@ -102,16 +100,16 @@
"tslint": "^5.6.0",
"tslint-config-gluons": "^1.0.5",
"typescript": "^2.4.2",
"vue": "^2.4.2",
"vue-class-component": "^5.0.2",
"vue-loader": "^13.0.4",
"vue-template-compiler": "^2.4.2",
"vue": "^2.5.2",
"vue-class-component": "^6.0.0",
"vue-loader": "^13.3.0",
"vue-template-compiler": "^2.5.2",
"webpack": "^3.7.1",
"webpack-merge": "^4.1.0"
},
"dependencies": {
"array-filter": "^1.0.0",
"string-similarity": "^1.2.0",
"vuex": "^2.3.1"
"vuex": "^3.0.0"
}
}
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ if ((typeof window !== 'undefined') && window.Vue) {
}

export default {
install,
component: AddressForm
install
};
4 changes: 2 additions & 2 deletions src/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Vue from 'vue';
import Vuex from 'vuex';
import Vuex, { Store } from 'vuex';

import actions from './actions';
import mutations from './mutations';
Expand All @@ -15,7 +15,7 @@ if (!((typeof window !== 'undefined') && window.Vue)) {

const debug = process.env.NODE_ENV !== 'production';

export default new Vuex.Store<State>({
export default new Store<State>({
state: new State(),
mutations,
actions,
Expand Down
55 changes: 13 additions & 42 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5056,7 +5056,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
source-map "^0.5.6"
supports-color "^3.2.3"

postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.13, postcss@^6.0.6, postcss@^6.0.8:
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.13, postcss@^6.0.8:
version "6.0.13"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.13.tgz#b9ecab4ee00c89db3ec931145bd9590bbf3f125f"
dependencies:
Expand Down Expand Up @@ -5580,7 +5580,7 @@ resolve-from@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748"

resolve@^1.1.6, resolve@^1.3.2, resolve@^1.3.3, resolve@^1.4.0:
resolve@^1.1.6, resolve@^1.3.2, resolve@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86"
dependencies:
Expand Down Expand Up @@ -6596,15 +6596,15 @@ vue-add-globals@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/vue-add-globals/-/vue-add-globals-2.0.1.tgz#c9fba6faac44f679ec15d5a9637f518b181fc44d"

vue-class-component@^5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-5.0.2.tgz#3dcdc005c58c4e88d8ec2d46e01c74f4d90135c8"
vue-class-component@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-6.0.0.tgz#abb87f0acdc77428973401ca3bfaae133c826432"

vue-hot-reload-api@^2.1.0, vue-hot-reload-api@^2.2.0:
vue-hot-reload-api@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.0.tgz#9a21b35ced3634434a43ee80efb7350ea8fb206d"

vue-loader@^13.0.0:
vue-loader@^13.0.0, vue-loader@^13.3.0:
version "13.3.0"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.3.0.tgz#3bf837d490ba5dea6fc07e0835ffa6c688c8af33"
dependencies:
Expand All @@ -6622,60 +6622,31 @@ vue-loader@^13.0.0:
vue-style-loader "^3.0.0"
vue-template-es2015-compiler "^1.6.0"

vue-loader@^13.0.4:
version "13.0.5"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.0.5.tgz#3639e9fb3940cded7f0fc34429277fb6de70a57c"
dependencies:
consolidate "^0.14.0"
hash-sum "^1.0.2"
loader-utils "^1.1.0"
lru-cache "^4.1.1"
postcss "^6.0.6"
postcss-load-config "^1.1.0"
postcss-selector-parser "^2.0.0"
prettier "^1.7.0"
resolve "^1.3.3"
source-map "^0.5.6"
vue-hot-reload-api "^2.1.0"
vue-style-loader "^3.0.0"
vue-template-es2015-compiler "^1.5.3"

vue-style-loader@^3.0.0:
version "3.0.3"
resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-3.0.3.tgz#623658f81506aef9d121cdc113a4f5c9cac32df7"
dependencies:
hash-sum "^1.0.2"
loader-utils "^1.0.2"

vue-template-compiler@^2.3.3:
vue-template-compiler@^2.3.3, vue-template-compiler@^2.5.2:
version "2.5.2"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.2.tgz#6f198ebc677b8f804315cd33b91e849315ae7177"
dependencies:
de-indent "^1.0.2"
he "^1.1.0"

vue-template-compiler@^2.4.2:
version "2.4.4"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.4.4.tgz#2cde3b704124985c27d50b5387c9691ba515fb57"
dependencies:
de-indent "^1.0.2"
he "^1.1.0"

vue-template-es2015-compiler@^1.5.3, vue-template-es2015-compiler@^1.6.0:
vue-template-es2015-compiler@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"

vue@^2.3.3:
vue@^2.3.3, vue@^2.5.2:
version "2.5.2"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.2.tgz#fd367a87bae7535e47f9dc5c9ec3b496e5feb5a4"

vue@^2.4.2:
version "2.4.4"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.4.4.tgz#ea9550b96a71465fd2b8b17b61673b3561861789"

vuex@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/vuex/-/vuex-2.3.1.tgz#cde8e997c1f9957719bc7dea154f9aa691d981a6"
vuex@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.0.0.tgz#98b4b5c4954b1c1c1f5b29fa0476a23580315814"

ware@^1.3.0:
version "1.3.0"
Expand Down

0 comments on commit f6e2138

Please sign in to comment.