A full-featured CRM built with React, shadcn/ui, and Supabase.
fix playwhright
Jeromedee75604564d
diff --git a/.devcontainer/playwright/devcontainer-feature.json b/.devcontainer/playwright/devcontainer-feature.jsonindex 5f3ac9da..62c8c668 100644--- a/.devcontainer/playwright/devcontainer-feature.json+++ b/.devcontainer/playwright/devcontainer-feature.json@@ -2,7 +2,6 @@"id": "playwright","version": "1.0.0","name": "Playwright",- "postCreateCommand": "npx playwright install","containerEnv": {"PLAYWRIGHT_BROWSERS_PATH": "/mount/.ms-playwright"},diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.shindex cf7fefbb..beae15b7 100755--- a/.devcontainer/post-create.sh+++ b/.devcontainer/post-create.sh@@ -1,3 +1,12 @@#!/usr/bin/env bash+set -euo pipefailsudo npm install -g supabase++# Install Playwright browsers using the REPO's pinned playwright version (resolved+# from node_modules after the ./npm feature ran `npm install`), so the downloaded+# browser revision always matches what package.json/package-lock.json expect.+# Doing it here — instead of the playwright feature's floating `npx playwright+# install` — is what keeps the repo the single source of truth for the version and+# avoids the "browser revision X installed but the repo wants Y" mismatch.+npx playwright install chromium chromium-headless-shelldiff --git a/makefile b/makefileindex 1d58dc3c..0f8a06f7 100644--- a/makefile+++ b/makefile@@ -16,8 +16,8 @@ help:install: package.json ## install dependenciesnpm install-install-playwright-browsers: install ## install the playwright browsers (chromium, firefox, webkit)- npx playwright install chromium+install-playwright-browsers: install ## install the playwright browsers matching the repo's pinned version+ npx playwright install chromium chromium-headless-shellstart-supabase: ## start supabase locallynpx supabase start