소스 검색

fix release

Daniel Zlotin 6 년 전
부모
커밋
314648482b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      scripts/release.js

+ 1
- 0
scripts/release.js 파일 보기

@@ -48,6 +48,7 @@ function calcNewVersion() {
48 48
 }
49 49
 
50 50
 function copyNpmRc() {
51
+  exec.execSync(`rm -f package-lock.json`);
51 52
   const npmrcPath = p.resolve(`${__dirname}/.npmrc`);
52 53
   execSync(`cp -rf ${npmrcPath} .`);
53 54
 }