Skip to content

Commit a9af36a

Browse files
committed
chore: migrate to wxt
1 parent 260d560 commit a9af36a

52 files changed

Lines changed: 3229 additions & 13808 deletions

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules
2-
web-ext-artifacts
2+
.output
3+
.wxt
34

45
# Ignore polyfill and fetch it with npm install
56
browser-polyfill.min.js

.vscode/settings.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@
1414
"[javascript]": {
1515
"editor.defaultFormatter": "oxc.oxc-vscode"
1616
},
17-
"cSpell.words": ["Zotero"],
17+
"[typescript]": {
18+
"editor.defaultFormatter": "oxc.oxc-vscode"
19+
},
20+
"cSpell.words": [
21+
"Zotero"
22+
],
1823
"chat.tools.terminal.autoApprove": {
1924
"/^python scripts/import_and_patch_translators\\.py$/": {
2025
"approve": true,
2126
"matchCommandLine": true
2227
}
23-
}
28+
},
2429
}

CONTRIBUTING.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Preparation:
1010
4. Install development dependencies via `pnpm install`.
1111
5. Start browser with the add-on activated:
1212
Firefox: `pnpm dev:firefox`
13-
Chrome: `pnpm dev:opera`
13+
Chrome: `pnpm dev:chrome`
14+
Opera: `pnpm dev:opera`
15+
Edge: `pnpm dev:edge`
1416

1517
Now just follow the typical steps to [contribute code](https://guides.github.com/activities/contributing-to-open-source/#contributing):
1618

@@ -32,12 +34,12 @@ The following commands are used to update the dependencies of the project; as we
3234

3335
## Release of new version
3436

35-
- Increase version number in `manifest.json`
37+
- Increase version number in `package.json`
3638
- `pnpm build`
3739
- Upload to:
3840
- https://addons.mozilla.org/en-US/developers/addon/jabref/versions/submit/
3941
- https://chrome.google.com/u/2/webstore/devconsole/26c4c347-9aa1-48d8-8a22-1c79fd3a597e/bifehkofibaamoeaopjglfkddgkijdlh/edit/package
4042
- https://addons.opera.com/developer/upload/
4143
- https://developer.apple.com/app-store-connect/
42-
- Remove the `key` field in `manifest.json` and build again. Then upload to:
44+
- Remove the `key` field in `wxt.config.ts` and build again. Then upload to:
4345
- https://partner.microsoft.com/en-us/dashboard/microsoftedge/2045cdc1-808f-43c4-8091-43e2dcaff53d/packages

0 commit comments

Comments
 (0)