Skip to main content

preconfigure

The preconfigure will run a variety of housekeeping task to ensure the monorepo is correctly set up. It runs before the reconfigure run script, which does similar things.

Run npm run preconfigure in the root to trigger this script.

Under the hood, this will run:

Terminal
node scripts/preconfigure.sh
This run script is idempotent

It is safe to run this script more than once without compounding effects.

note

The reason there is both a preconfigure and a reconfigure is because some things — like creating folders and managing permissions — are easier to do in a shell script than in Javascript.

As such, the preconfigure script runs shell commands, whereas the reconfigure run script runs javascript code. Together, the get the job done.