Browse Source
Merge pull request #10561 from abpframework/auto-merge/rel-5-0/614
Merge branch dev with rel-5.0
pull/10567/head
Mehmet Erim
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
5 additions and
3 deletions
-
npm/package-update-script.js
-
npm/publish-utils.js
-
npm/replace-with-tilde.js
|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const glob = require('glob'); |
|
|
const glob = require('glob'); |
|
|
var path = require('path'); |
|
|
var path = require('path'); |
|
|
const childProcess = require('child_process'); |
|
|
const childProcess = require('child_process'); |
|
|
@ -40,4 +42,4 @@ glob(folder + '/**/package.json', {}, (er, files) => { |
|
|
|
|
|
|
|
|
console.log(check(file)); |
|
|
console.log(check(file)); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
@ -22,4 +22,4 @@ function getVersion() { |
|
|
const first = commonProps.indexOf(versionTag) + versionTag.length; |
|
|
const first = commonProps.indexOf(versionTag) + versionTag.length; |
|
|
const last = commonProps.indexOf(versionEndTag); |
|
|
const last = commonProps.indexOf(versionEndTag); |
|
|
return commonProps.substring(first, last); |
|
|
return commonProps.substring(first, last); |
|
|
} |
|
|
} |
|
|
@ -25,4 +25,4 @@ glob("./packs/**/package.json", {}, (er, files) => { |
|
|
|
|
|
|
|
|
replace(path); |
|
|
replace(path); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |