Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Commit 464edd8

Browse files
author
crossjs
committed
[build] 1.0.2
1 parent 14e4afe commit 464edd8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.tools/release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ then
1919
# commit
2020
git add -A
2121
git commit -m "[build] $VERSION"
22-
# npm version $VERSION --message "[release] $VERSION"
22+
npm version $VERSION --message "[release] $VERSION"
2323

2424
# publish
2525
git push origin refs/tags/v$VERSION
2626
git push
27-
# npm publish
27+
npm publish
2828
fi

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuex-promise",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": ":two_hearts: A Promise Plugin for Vuex-FSA (fork of Vuex, with modifications for FSA compliant)",
55
"main": "dist/index.js",
66
"jsnext:main": "src/index.js",
@@ -61,7 +61,7 @@
6161
"rollup-plugin-babel": "^2.4.0",
6262
"uglify-js": "^2.5.0",
6363
"vue": "^1.0.26",
64-
"vuex": "^1.0.0-rc",
64+
"vuex": "^1.0.0-rc.2",
6565
"webpack": "^1.13.1",
6666
"yargs": "^4.7.1"
6767
}

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function createPromise ({
1212
console.log('[Promise] Vuex Promise Plugin Installed.')
1313
}
1414

15-
store.on('mutation', ({ type, payload }) => {
15+
store.subscribe(({ type, payload }) => {
1616
if (hasPromise(payload)) {
1717
store.dispatch({
1818
type,

0 commit comments

Comments
 (0)