Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrates to WXT #105

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
01e3adb
Add wxt commands for build, zip, and postinstall
Royal-lobster Dec 29, 2024
5c676dc
Rename files to entrypoints directory.<commit message>
Royal-lobster Dec 29, 2024
1794282
Refactor background and move images to public folder
Royal-lobster Dec 29, 2024
6230561
Rename entrypoints settings and sidebar index files to main
Royal-lobster Dec 29, 2024
7b9685c
fixes ts
Royal-lobster Dec 29, 2024
8783606
Update package.json dependencies versionsfor Chrome, React, autoprefi…
Royal-lobster Dec 29, 2024
373d8d8
Add option to allow importing TypeScript extensions in compiler
Royal-lobster Dec 29, 2024
a280bb0
Update maxWidth function to include TypeScript type annotation
Royal-lobster Dec 29, 2024
7a3d8e6
Add new output and configuration files to gitignore
Royal-lobster Dec 29, 2024
83d7501
chore: fixes .gitignore conflict
Adebesin-Cell Jan 25, 2025
8c7aef1
chore: migrate content script to define content script function
Adebesin-Cell Jan 25, 2025
0b4a092
chore: adds comment
Adebesin-Cell Jan 25, 2025
2366d9f
chore: removes comments, corrects path to sidebar
Adebesin-Cell Jan 25, 2025
09eabec
chore: removes comments
Adebesin-Cell Jan 25, 2025
406f433
fix: ERROR matches is required for manifest registered content scripts
Adebesin-Cell Jan 25, 2025
76d619e
refactor: wxt support
EINDEX Mar 9, 2025
1428f10
Merge pull request #112 from EINDEX/migrate-wxt
Royal-lobster Mar 11, 2025
3b26091
Fix linting issues and refactor code for better readability
Royal-lobster Mar 11, 2025
ae94702
Add target="_blank" to all anchor tags in ChatList component
Royal-lobster Mar 11, 2025
f9fca5f
Add show copied text feedback icon in ChatList component
Royal-lobster Mar 11, 2025
1ab6018
format fix
Royal-lobster Mar 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Environment variables
.env
.output
stats.html
stats-*.json
.wxt
web-ext.config.ts

# Editor directories and files
.vscode/*
Expand All @@ -26,3 +25,5 @@ dist-ssr
*.sln
*.sw?
web-ext.config.ts
.wxt
.output
9 changes: 8 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
"enabled": false
},
"files": {
"ignore": ["node_modules", "dist", "yarn.lock"]
"ignore": [
"node_modules",
"dist",
"yarn.lock",
".wxt",
".output",
"artifacts"
]
},
"formatter": {
"enabled": true,
Expand Down
73 changes: 0 additions & 73 deletions manifest.config.ts

This file was deleted.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"release": "pnpm build && publish-extension --chrome-zip \"artifacts/chrome.zip\" --chrome-extension-id \"$CHROME_EXTENSION_ID\" --chrome-client-id \"$CHROME_CLIENT_ID\" --chrome-client-secret \"$CHROME_CLIENT_SECRET\" --chrome-refresh-token \"$CHROME_REFRESH_TOKEN\"",
"release:cli": "pnpm build && dotenv -e .env -- publish-extension --chrome-zip \"artifacts/chrome.zip\" --chrome-extension-id \"$CHROME_EXTENSION_ID\" --chrome-client-id \"$CHROME_CLIENT_ID\" --chrome-client-secret \"$CHROME_CLIENT_SECRET\" --chrome-refresh-token \"$CHROME_REFRESH_TOKEN\"",
"dev": "wxt",
"dev:firefox": "wxt -b firefox",
"build": "wxt build",
"build:firefox": "wxt build -b firefox",
"zip": "wxt zip",
"zip:firefox": "wxt zip -b firefox",
"postinstall": "wxt prepare",
"format": "biome format . --write",
"lint": "biome check .",
"flush": "rm -rf artifacts/ dist/",
Expand Down Expand Up @@ -56,20 +58,18 @@
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.26.1",
"@crxjs/vite-plugin": "^2.0.0-beta.15",
"@types/chrome": "^0.0.213",
"@types/chrome": "^0.0.280",
"@types/node": "^18.13.0",
"@types/object-hash": "^3.0.2",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/react-syntax-highlighter": "^15.5.6",
"@vitejs/plugin-react": "^3.1.0",
"autoprefixer": "^10.4.13",
"dotenv-cli": "^7.3.0",
"postcss": "^8.4.21",
"@wxt-dev/module-react": "^1.1.2",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"publish-browser-extension": "^1.4.1",
"tailwindcss": "^3.3.5",
"typescript": "^4.9.5",
"vite": "^4.1.1",
"vite-plugin-zip-pack": "^1.0.5"
"tailwindcss": "^3.4.4",
"typescript": "^5.6.3",
"wxt": "^0.19.13"
}
}
Loading
Loading