Browse Source
Merge pull request #10560 from abpframework/mehmet-erim-patch-1
Update replace-with-tilde.ts
pull/10562/head
Bunyamin Coskuner
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
npm/ng-packs/scripts/replace-with-tilde.ts
|
|
|
@ -10,7 +10,7 @@ async function replace(filePath: string) { |
|
|
|
if (!dependencies) return; |
|
|
|
|
|
|
|
Object.keys(dependencies).forEach(key => { |
|
|
|
if (key.includes('@abp/') && key !== '@abp/utils') { |
|
|
|
if (key.includes('@abp/')) { |
|
|
|
dependencies[key] = dependencies[key].replace('^', '~'); |
|
|
|
} |
|
|
|
}); |
|
|
|
|