diff --git a/scripts/release.js b/scripts/release.js index e8de5e1..e505ec6 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -19,6 +19,8 @@ try { const npmrcPath = path.join(__dirname, '../.npmrc') fs.writeFileSync(npmrcPath, `//registry.npmjs.org/:_authToken=${npmToken}`) + console.warn(1111, fs.readFileSync(npmrcPath, 'utf-8')) + // 遍历每个子文件夹 folders.forEach((folder) => { const folderPath = path.join(npmDir, folder)