Skip to content

Commit cc17c61

Browse files
committed
Fix race condition: website build waits for blueprints schema
The website vite build was sometimes starting before the blueprints schema validator file was fully generated, causing intermittent CI failures with 'invalid JS syntax' errors. Adding an explicit dependency ensures the schema generation completes first.
1 parent b28a19b commit cc17c61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/playground/website/project.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
"logLevel": "info"
4646
}
4747
},
48-
"dependsOn": ["^build"]
48+
"dependsOn": [
49+
"^build",
50+
"playground-blueprints:build:blueprint-schema"
51+
]
4952
},
5053
"dev": {
5154
"executor": "nx:run-commands",

0 commit comments

Comments
 (0)