Fix npmrc file and build commands

This commit is contained in:
Muhammed
2023-03-16 11:17:26 +03:00
parent 0c24991f21
commit c7fa4c2e9e
2 changed files with 14 additions and 9 deletions
+5
View File
@@ -15,3 +15,8 @@ if (process.platform != "win32") {
}
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));
let npmrc = fs.readFileSync('./.npmrc','utf-8');
npmrc = npmrc.replace("disturl \"","disturl = \"")
npmrc = npmrc.replace("target \"","target = \"")
npmrc = npmrc.replace("runtime \"","runtime = \"")
fs.writeFileSync('./.npmrc',npmrc)