Skip to content

Commit

Permalink
feat: update wxt to 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Jul 21, 2024
1 parent 8ec8d6f commit 4618bc1
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 74 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions entrypoints/background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export default defineBackground(() => {
'https://github.com/oeyoews/usewiki2/issues'
);
if (details.reason === 'install') {
// @deprecated https://wxt.dev/guide/directory-structure/web-ext-config.html
if (isDev) {
return;
chrome.tabs.create({ url: pages.devPage });
// browser.notifications.create({
// type: 'basic',
Expand Down
6 changes: 5 additions & 1 deletion entrypoints/sidepanel/components/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ const showInput = () => emit('showInput');
@keyup.enter="handleInputConfirm"
@blur="handleInputConfirm" />

<ElButton v-else class="button-new-tag" size="small" @click="showInput">
<ElButton
v-else
class="button-new-tag"
size="small"
@click="showInput">
+
</ElButton>
</div>
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "usewiki2",
"description": "Convert HTML to Markdown, and save to your computer, support nodejs tiddlywiki",
"private": true,
"version": "4.8.0",
"version": "4.8.1",
"type": "module",
"scripts": {
"dev": "wxt --mode development",
Expand Down Expand Up @@ -72,6 +72,7 @@
"@vitejs/plugin-vue": "^5.0.5",
"typescript": "5.5.3",
"vue-tsc": "^2.0.26",
"wxt": "0.17.12"
"wxt": "0.18.15",
"@wxt-dev/module-vue": "^1.0.0"
}
}
Loading

0 comments on commit 4618bc1

Please sign in to comment.