This repository was archived by the owner on Aug 8, 2019. It is now read-only.
File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 19
19
# commit
20
20
git add -A
21
21
git commit -m " [build] $VERSION "
22
- # npm version $VERSION --message "[release] $VERSION"
22
+ npm version $VERSION --message " [release] $VERSION "
23
23
24
24
# publish
25
25
git push origin refs/tags/v$VERSION
26
26
git push
27
- # npm publish
27
+ npm publish
28
28
fi
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vuex-promise" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " :two_hearts: A Promise Plugin for Vuex-FSA (fork of Vuex, with modifications for FSA compliant)" ,
5
5
"main" : " dist/index.js" ,
6
6
"jsnext:main" : " src/index.js" ,
61
61
"rollup-plugin-babel" : " ^2.4.0" ,
62
62
"uglify-js" : " ^2.5.0" ,
63
63
"vue" : " ^1.0.26" ,
64
- "vuex" : " ^1.0.0-rc" ,
64
+ "vuex" : " ^1.0.0-rc.2 " ,
65
65
"webpack" : " ^1.13.1" ,
66
66
"yargs" : " ^4.7.1"
67
67
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function createPromise ({
12
12
console . log ( '[Promise] Vuex Promise Plugin Installed.' )
13
13
}
14
14
15
- store . on ( 'mutation' , ( { type, payload } ) => {
15
+ store . subscribe ( ( { type, payload } ) => {
16
16
if ( hasPromise ( payload ) ) {
17
17
store . dispatch ( {
18
18
type,
You can’t perform that action at this time.
0 commit comments