Skip to content

Commit c0c667c

Browse files
nedtwiggclaude
andcommitted
Migrate browser-extension to project root
- Move all browser-extension files to root directory with git history preserved - Merge package.json files and update scripts to include build:overtype - Update pnpm-workspace.yaml to remove browser-extension entry - Remove working-directory references from GitHub Actions workflow - Update documentation paths and agent descriptions - Simplify development workflow by eliminating subdirectory navigation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 5856c88 commit c0c667c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+72
-87
lines changed

.claude/agents/corpus-fixer.md

Lines changed: 1 addition & 1 deletion

.github/workflows/browser-extension.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@ jobs:
2222
cache: 'pnpm'
2323
- run: pnpm install --frozen-lockfile
2424
- run: pnpm run biome
25-
working-directory: browser-extension
2625
- run: pnpm test
27-
working-directory: browser-extension
28-
- run: pnpm run typecheck
29-
working-directory: browser-extension
26+
- run: pnpm run typecheck

README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.

browser-extension/package.json

Lines changed: 0 additions & 70 deletions
This file was deleted.

package.json

Lines changed: 69 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,71 @@
11
{
2-
"name": "gitcasso-workspace",
3-
"private": true,
2+
"author": "DiffPlug",
3+
"dependencies": {
4+
"@primer/octicons-react": "^19.18.0",
5+
"@types/react": "^19.1.12",
6+
"@types/react-dom": "^19.1.9",
7+
"@wxt-dev/webextension-polyfill": "^1.0.0",
8+
"highlight.js": "^11.11.1",
9+
"lucide-react": "^0.543.0",
10+
"overtype": "workspace:*",
11+
"react": "^19.1.1",
12+
"react-dom": "^19.1.1",
13+
"tailwind-merge": "^3.3.1",
14+
"tailwind-variants": "^3.1.1",
15+
"webextension-polyfill": "^0.12.0"
16+
},
17+
"description": "Syntax highlighting and autosave for comments on GitHub (and other other markdown-friendly websites).",
18+
"devDependencies": {
19+
"@biomejs/biome": "^2.1.2",
20+
"@playwright/test": "^1.46.0",
21+
"@tailwindcss/vite": "^4.1.13",
22+
"@testing-library/jest-dom": "^6.6.4",
23+
"@types/express": "^4.17.21",
24+
"@types/har-format": "^1.2.16",
25+
"@types/node": "^22.16.5",
26+
"@vitejs/plugin-react": "^5.0.2",
27+
"@vitest/coverage-v8": "^3.2.4",
28+
"@vitest/ui": "^3.2.4",
29+
"express": "^4.19.2",
30+
"linkedom": "^0.18.12",
31+
"postcss": "^8.5.6",
32+
"tailwindcss": "^4.1.13",
33+
"tsx": "^4.19.1",
34+
"typescript": "^5.8.3",
35+
"vite": "^7.1.5",
36+
"vitest": "^3.2.4",
37+
"wxt": "^0.20.7"
38+
},
39+
"keywords": [
40+
"browser-extension",
41+
"chrome-extension",
42+
"firefox-addon",
43+
"github",
44+
"gitlab",
45+
"bitbucket",
46+
"syntax highlighting"
47+
],
48+
"license": "MIT",
49+
"name": "gitcasso",
450
"scripts": {
5-
"build:overtype": "pnpm --filter=overtype run build",
6-
"typecheck": "pnpm --filter=gitcasso run typecheck",
7-
"build": "pnpm run build:overtype && pnpm --filter=gitcasso run build",
8-
"build:dev": "pnpm run build:overtype && pnpm --filter=gitcasso run build:dev",
9-
"har:view": "pnpm --filter=gitcasso run har:view",
10-
"postinstall": "pnpm run build:overtype"
11-
}
12-
}
51+
"biome": "biome check .",
52+
"biome:fix": "biome check --write .",
53+
"biome:fix:unsafe": "biome check --write --unsafe .",
54+
"build:overtype": "pnpm -r --filter=overtype run build",
55+
"build": "pnpm run build:overtype && wxt build",
56+
"build:dev": "pnpm run build:overtype && wxt build --mode development",
57+
"build:firefox": "wxt build -b firefox",
58+
"precommit": "npm run biome:fix && npm run typecheck && npm run test",
59+
"typecheck": "tsc --noEmit",
60+
"dev": "wxt",
61+
"dev:firefox": "wxt -b firefox",
62+
"postinstall": "pnpm run build:overtype && wxt prepare",
63+
"test": "vitest run",
64+
"playground": "vite --config vite.playground.config.ts",
65+
"playground:build": "vite build --config vite.playground.config.ts",
66+
"corpus:har:record": "tsx tests/corpus-har-record.ts",
67+
"corpus:view": "tsx tests/corpus-view.ts"
68+
},
69+
"type": "module",
70+
"version": "0.0.1"
71+
}

pnpm-workspace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
packages:
2-
- 'browser-extension'
32
- 'packages/*'
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)