Skip to content

Commit e5f959f

Browse files
committed
build: 0.4.1
1 parent a03ee18 commit e5f959f

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

build/releaser.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,18 @@ function runCommands(commands) {
6969
.map((command) => {
7070
return runCommand(command.trim())
7171
})
72-
return Promise.all(promises)
72+
73+
return new Promise(async (resolve, reject) => {
74+
try {
75+
const res = []
76+
for (let promise of promises) {
77+
res.push(await promise)
78+
}
79+
resolve(res)
80+
} catch (err) {
81+
reject(err)
82+
}
83+
})
7384
}
7485

7586
function runCommand(command) {

packages/nativescript-vue-template-compiler/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-vue-template-compiler",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "template compiler for nativescript-vue",
55
"main": "index.js",
66
"repository": {
@@ -21,4 +21,4 @@
2121
"he": "^1.1.0",
2222
"de-indent": "^1.0.2"
2323
}
24-
}
24+
}

0 commit comments

Comments
 (0)