chore: add a comment illustrate why we build packages sequentially

This commit is contained in:
Reda Al Sulais 2023-08-21 03:05:23 +03:00
parent eb63568ceb
commit 984a0e6d06

View File

@ -56,6 +56,7 @@ const main = async () => {
generateLangium();
await mkdir('stats').catch(() => {});
const packageNames = Object.keys(packageOptions) as (keyof typeof packageOptions)[];
// it should build `parser` before `mermaid` because it's a dependecy
for (const pkg of packageNames) {
await buildPackage(pkg).catch(handler);
}