This commit is contained in:
Muhammed 2023-03-16 11:21:08 +03:00
parent c7fa4c2e9e
commit b9a2e4871a
1 changed files with 4 additions and 2 deletions

View File

@ -15,8 +15,10 @@ if (process.platform != "win32") {
} }
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson)); fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));
let npmrc = fs.readFileSync('./.npmrc','utf-8');
let npmrc = fs.readFileSync('./lens/.npmrc','utf-8');
npmrc = npmrc.replace("disturl \"","disturl = \"") npmrc = npmrc.replace("disturl \"","disturl = \"")
npmrc = npmrc.replace("target \"","target = \"") npmrc = npmrc.replace("target \"","target = \"")
npmrc = npmrc.replace("runtime \"","runtime = \"") npmrc = npmrc.replace("runtime \"","runtime = \"")
fs.writeFileSync('./.npmrc',npmrc) fs.writeFileSync('./lens/.npmrc',npmrc)