snapshot of https://github.com/marmelab/atomic-crm.git (main, 2026-09-18; blobs > 131072B omitted)
Some checks failed
✅ Check / 🔬 ESLint (push) Failing after 21s
✅ Check / 🏷️ Typecheck (push) Failing after 11s
✅ Check / 🔎 Test (push) Failing after 11s
✅ Check / e2e-test (push) Failing after 11s
✅ Check / 🔨 Build (push) Failing after 11s
🚀 Deploy / 🚀 Deploy (doc) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (demo) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (supabase) (push) Failing after 18s

This commit is contained in:
upstream-mirror
2026-09-18 01:48:50 +05:00
commit 93ecc1a6f8
787 changed files with 75240 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Playwright integration
Installs Playwright system dependencies (via the `playwright-deps` feature) and
persists downloaded browsers in a named volume across container rebuilds.
## Cache folder
The browser cache lives at `PLAYWRIGHT_BROWSERS_PATH` (default
`/mount/.ms-playwright`). This single env var is the source of truth: the
volume mount target (`${containerEnv:PLAYWRIGHT_BROWSERS_PATH}`) and the
`install.sh` setup both read it.
The dev container features spec does not allow a feature `option` to drive
`containerEnv`/`mounts`, so to change the folder, override the env var in your
`devcontainer.json` — the volume mount follows automatically:
```jsonc
{
"features": { "./playwright": {} },
"containerEnv": { "PLAYWRIGHT_BROWSERS_PATH": "/custom/path" }
}
```

View File

@@ -0,0 +1,22 @@
{
"id": "playwright",
"version": "1.0.0",
"name": "Playwright",
"containerEnv": {
"PLAYWRIGHT_BROWSERS_PATH": "/mount/.ms-playwright"
},
"dependsOn": {
"ghcr.io/postfinance/devcontainer-features/playwright-deps:1": {
"installChromiumDeps": true,
"installFirefoxDeps": true,
"installWebkitDeps": true
}
},
"mounts": [
{
"type": "volume",
"source": "${devcontainerId}-playwright",
"target": "/mount/.ms-playwright"
}
]
}

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
if [ -z "$PLAYWRIGHT_BROWSERS_PATH" ]; then
echo "PLAYWRIGHT_BROWSERS_PATH environment variable is not set. Please set it to the desired Playwright folder path."
exit 1
fi
mkdir -p "$PLAYWRIGHT_BROWSERS_PATH" && chown -R $_CONTAINER_USER:$_CONTAINER_USER "$PLAYWRIGHT_BROWSERS_PATH"