You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ This extension ***must never transmit any data outside the browser***.
19
19
### Hotreload development
20
20
21
21
-`pnpm install`
22
-
-`pnpm run dev`
22
+
-`pnpm dev`
23
23
- open [`chrome://extensions`](chrome://extensions)
24
24
- toggle **Developer mode** (top-right)
25
25
- click "Load unpacked" (far left)
@@ -45,7 +45,7 @@ This is a [WXT](https://wxt.dev/)-based browser extension that
45
45
46
46
-[`src/entrypoints/content.ts`](src/entrypoints/content.ts) - injected into every webpage
47
47
-[`src/entrypoints/background.ts`](src/entrypoints/background.ts) - service worker that manages state and handles messages
48
-
-[`src/entrypoints/popup/popup.tsx`](src/entrypoints/popup/popup.tsx) - popup (html/css/tsx) with shadcn/ui table components
48
+
-[`src/entrypoints/popup/popup.tsx`](src/entrypoints/popup/popup.tsx) - popup (react html + TailwindCSS)
49
49
50
50
```mermaid
51
51
graph TD
@@ -94,7 +94,7 @@ We maintain a corpus of test pages in two formats for testing the browser extens
94
94
-`npx playwright codegen https://github.com/login --save-storage=playwright/.auth/gh.json` will store new auth tokens
95
95
- login manually, then close the browser
96
96
-***these cookies are very sensitive! we only run this script using a test account that has no permissions or memberships to anything, recommend you do the same!***
97
-
-`pnpm run corpus:har:record` records new HAR files using those auth tokens (it needs args, run it with no args for docs)
97
+
-`pnpm corpus:har:record` records new HAR files using those auth tokens (it needs args, run it with no args for docs)
98
98
- DO NOT COMMIT AND PUSH NEW OR CHANGED HAR files!
99
99
- we try to sanitize these (see `corpus-har-record.ts` for details) but there may be important PII in them
100
100
- if you need new HAR files for something, let us know and we will generate them ourselves using a dummy account
0 commit comments