diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..e6a8276 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,3 @@ +dist +node_modules +public diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..09c2e42 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "@antfu" +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..453b76d --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +.DS_Store +.idea/ +.vite-ssg-dist +.vite-ssg-temp +*.crx +*.local +*.log +*.pem +*.xpi +*.zip +dist +dist-ssr +extension/manifest.json +node_modules +src/auto-imports.d.ts +src/components.d.ts +.eslintcache diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..009aa06 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +shamefully-hoist=true +auto-install-peers=true diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..7a32c13 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "vue.volar", + "antfu.iconify", + "antfu.unocss", + "dbaeumer.vscode-eslint", + "csstools.postcss" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..143bcfa --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "cSpell.words": ["Vitesse"], + "typescript.tsdk": "node_modules/typescript/lib", + "vite.autoStart": false, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "files.associations": { + "*.css": "postcss" + } +} diff --git a/LICENSE.~1~ b/LICENSE.~1~ new file mode 100644 index 0000000..9b031a2 --- /dev/null +++ b/LICENSE.~1~ @@ -0,0 +1,21 @@ +MIT License + +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md.~1~ b/README.md.~1~ new file mode 100644 index 0000000..08614b9 --- /dev/null +++ b/README.md.~1~ @@ -0,0 +1,132 @@ +# WebExtension Vite Starter + +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
+
+