1
0
Fork 0

fix: Include reconfigure in buildall step

This commit is contained in:
Joost De Cock 2023-01-05 17:05:37 +01:00
parent 7b3d98f25e
commit bb02388e33
3 changed files with 4 additions and 4 deletions

View file

@ -104,7 +104,7 @@ fs.writeFileSync(path.join(repo.path, 'CHANGELOG.md'), changelog('global'))
// Step 5: Generate build script for published software
log.write(chalk.blueBright('Generating buildall node script...'))
const buildSteps = buildOrder.map((step, i) => `lerna run cibuild_step${i}`)
const buildAllCommand = buildSteps.join(' && ')
const buildAllCommand = 'npm run reconfigure && ' + buildSteps.join(' && ')
const newRootPkgJson = { ...rootPackageJson }
newRootPkgJson.scripts.buildall = buildAllCommand
newRootPkgJson.scripts.wbuildall = buildAllCommand.replace(/cibuild/g, 'wcibuild')