diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-19 15:30:20 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-19 15:30:20 -0500 |
| commit | 3e4cea6709edd16a51d513dd96da91e5aad0be66 (patch) | |
| tree | 0fa329b5b7f0f74b9e00d27772852ea7722dc2e3 /frontend-design/references/workflow.md | |
| parent | 4ffa7417a359ef4eae09f61d7da4de06539462ca (diff) | |
| download | rulesets-3e4cea6709edd16a51d513dd96da91e5aad0be66.tar.gz rulesets-3e4cea6709edd16a51d513dd96da91e5aad0be66.zip | |
fix(deps): use uv tool install for playwright-py; gitignore node_modules
Two fixes rolled up:
1. Add .gitignore with **/node_modules/, package-lock.json, Python venv /
cache artifacts, and OS metadata. Prior make deps run produced a 603-
file playwright-js/node_modules tree that should never be tracked.
2. Makefile deps target: install playwright-py via `uv tool install
playwright` instead of `pip install --system`. Earlier attempts with
pip --user, pip --system, and uv pip --system all failed on externally-
managed Python (PEP 668 on Arch). `uv tool install` creates an isolated
venv for the CLI, avoiding the conflict. Chromium browsers are shared
with the JS side via ~/.cache/ms-playwright — no re-download.
Also added uv itself to the deps target (was missing).
Library import (`import playwright`) still requires per-project venv,
which is the right pattern on externally-managed systems. Deps output
mentions this explicitly.
Diffstat (limited to 'frontend-design/references/workflow.md')
0 files changed, 0 insertions, 0 deletions
