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

@ -42,7 +42,7 @@
"checkdocs": "remark markdown --quiet --frail",
"strapi:translate": "node scripts/strapi-en-to-other.mjs",
"fixdocs": "remark markdown --quiet --frail --output",
"wbuildall": "lerna run wcibuild_step0 && lerna run wcibuild_step1 && lerna run wcibuild_step2 && lerna run wcibuild_step3 && lerna run wcibuild_step4 && lerna run wcibuild_step5 && lerna run wcibuild_step6 && lerna run wcibuild_step7",
"wbuildall": "npm run reconfigure && lerna run wcibuild_step0 && lerna run wcibuild_step1 && lerna run wcibuild_step2 && lerna run wcibuild_step3 && lerna run wcibuild_step4 && lerna run wcibuild_step5 && lerna run wcibuild_step6 && lerna run wcibuild_step7",
"prepare": "husky install"
},
"repository": {

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')

View file

@ -36,7 +36,7 @@
"d3-drag": "3.0.0",
"d3-selection": "3.0.0",
"daisyui": "2.46.1",
"i18next": "22.4.6",
"i18next": "22.4.8",
"lodash.get": "4.4.2",
"lodash.orderby": "4.6.0",
"lodash.set": "4.3.2",
@ -46,7 +46,7 @@
"react-copy-to-clipboard": "5.1.0",
"react-hotkeys-hook": "4.3.2",
"react-i18next": "12.1.1",
"react-instantsearch-dom": "6.38.1",
"react-instantsearch-dom": "6.38.2",
"react-markdown": "8.0.4",
"react-swipeable": "7.0.0",
"react-timeago": "7.1.0",