From df2ab24aa713185de77a4a78727c0831fdd3d066 Mon Sep 17 00:00:00 2001 From: Maxwell Barvian Date: Wed, 23 Oct 2024 12:38:29 -0700 Subject: [PATCH] Create CONTRIBUTING.md --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..c395d246 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,12 @@ +# NumberFlow Contributing Guide + +## Updating screenshots + +```sh +docker run -it -v $(pwd):/work/ -w /work/ --rm --ipc=host mcr.microsoft.com/playwright:v1.48.0-jammy /bin/bash + +corepack enable pnpm +pnpm config set store-dir /root/.local/share/pnpm/store +pnpm install +# e.g. cd into a package and run `pnpm test:update` +```