diff --git a/.eslintignore b/.eslintignore index e6a82761..a8db16f4 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ dist node_modules public +extension diff --git a/.npmrc b/.npmrc index cf040424..009aa06d 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ shamefully-hoist=true -strict-peer-dependencies=false +auto-install-peers=true diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 320368c2..99211535 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,9 +1,12 @@ { "recommendations": [ - "johnsoncodehk.volar", + "vue.volar", "antfu.iconify", + "antfu.vite", "dbaeumer.vscode-eslint", - "voorjaar.windicss-intellisense", - "csstools.postcss" + "antfu.unocss", + "csstools.postcss", + "lokalise.i18n-ally", + "streetsidesoftware.code-spell-checker" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index e7108c3f..2f07bf4d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,14 +1,14 @@ { "cSpell.words": ["Vitesse"], "typescript.tsdk": "node_modules/typescript/lib", - "volar.tsPlugin": true, - "volar.tsPluginStatus": false, "vite.autoStart": false, "editor.codeActionsOnSave": { - - "source.fixAll.eslint": true, + "source.fixAll.eslint": true }, "files.associations": { - "*.css": "postcss", + "*.css": "postcss" }, + "i18n-ally.localesPaths": [ + "_locales" + ] } diff --git a/LICENSE b/LICENSE index 0f637cef..9b031a21 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Hakadao +Copyright (c) 2021 Anthony Fu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 7161d185..90424817 100644 --- a/README.md +++ b/README.md @@ -1,52 +1,96 @@ -

-
-

+# WebExtension Vite Starter -

BewlyBewly

- -

Bringing you the suggested videos on the bilibili homepage, clean and simple.

- -
- 開發中, 佛系更新 = = +A [Vite](https://vitejs.dev/) powered WebExtension ([Chrome](https://developer.chrome.com/docs/extensions/reference/), [FireFox](https://addons.mozilla.org/en-US/developers/), etc.) starter template.

-
+Popup
+
+Options Page
+
+Inject Vue App into the Content Script
+

-## ⬇️ Installation +## Features -### Firefox +- ⚡️ **Instant HMR** - use **Vite** on dev (no more refresh!) +- 🥝 Vue 3 - Composition API, [`