Add pnpm dev to run the Astro site and Strapi CMS together

Root "dev" script uses concurrently to run both apps with labeled,
color-coded output ([site]/[cms]) instead of needing two terminals.
The per-app dev:site/dev:cms scripts stay for when you only want one.
This commit is contained in:
2026-08-31 08:06:54 +03:00
parent bf29139cef
commit 9cd92d623d
2 changed files with 50 additions and 0 deletions
+2
View File
@@ -3,6 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "concurrently -n site,cms -c blue,magenta \"pnpm --filter site dev\" \"pnpm --filter cms develop\"",
"dev:site": "pnpm --filter site dev",
"dev:cms": "pnpm --filter cms develop",
"build:site": "pnpm --filter site build",
@@ -16,6 +17,7 @@
"devDependencies": {
"@biomejs/biome": "^2.5.11",
"@resvg/resvg-js": "^2.6.2",
"concurrently": "^10.0.5",
"satori": "^0.29.0",
"smol-toml": "^1.8.0",
"wawoff2": "^2.0.1"