commit d9ae0aae387f015964bfd383e6d2adb05f4003e4 Author: Neko Ayaka Date: Sun Jun 9 10:44:17 2024 +0800 init: init Signed-off-by: Neko Ayaka diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..4d80ef7b8 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +open_collective: antfu +github: [antfu] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..72f90c302 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,43 @@ +name: CI + +on: + push: + branches: + - main + + pull_request: + branches: + - main + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v3 + with: + node-version: lts/* + cache: pnpm + + - name: Install + run: pnpm install + + - name: Lint + run: pnpm run lint + + typecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v3 + with: + node-version: lts/* + cache: pnpm + + - name: Install + run: pnpm install + + - name: Typecheck + run: pnpm run typecheck diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..ed5b96fc7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +node_modules +*.log +dist +.output +.nuxt +.env +.idea/ diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..e2ad808f8 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +shamefully-hoist=true +strict-peer-dependencies=false +shell-emulator=true diff --git a/.stackblitzrc b/.stackblitzrc new file mode 100644 index 000000000..d98146f4d --- /dev/null +++ b/.stackblitzrc @@ -0,0 +1,4 @@ +{ + "installDependencies": true, + "startCommand": "npm run dev" +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..4a2da0864 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "antfu.iconify", + "antfu.unocss", + "antfu.goto-alias", + "csstools.postcss", + "dbaeumer.vscode-eslint", + "vue.volar" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..aab383d7a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,45 @@ +{ + "files.associations": { + "*.css": "postcss" + }, + + // Enable the ESlint flat config support + "eslint.experimental.useFlatConfig": true, + + // Disable the default formatter, use eslint instead + "prettier.enable": false, + "editor.formatOnSave": false, + + // Auto fix + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit", + "source.organizeImports": "never" + }, + + // Silent the stylistic rules in you IDE, but still auto fix them + "eslint.rules.customizations": [ + { "rule": "style/*", "severity": "off" }, + { "rule": "*-indent", "severity": "off" }, + { "rule": "*-spacing", "severity": "off" }, + { "rule": "*-spaces", "severity": "off" }, + { "rule": "*-order", "severity": "off" }, + { "rule": "*-dangle", "severity": "off" }, + { "rule": "*-newline", "severity": "off" }, + { "rule": "*quotes", "severity": "off" }, + { "rule": "*semi", "severity": "off" } + ], + + // Enable eslint for all supported languages + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "vue", + "html", + "markdown", + "json", + "jsonc", + "yaml" + ] +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..6a0c70b62 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021-PRESENT 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 b/README.md new file mode 100644 index 000000000..1947279f5 --- /dev/null +++ b/README.md @@ -0,0 +1,80 @@ +

+ +

+ +

+Vitesse for Nuxt 3 +


+ +

+
+🖥 Online Preview +

+ +

+ +## Features + +- 💚 [Nuxt 3](https://nuxt.com/) - SSR, ESR, File-based routing, components auto importing, modules, etc. + +- ⚡️ Vite - Instant HMR. + +- 🎨 [UnoCSS](https://github.com/unocss/unocss) - The instant on-demand atomic CSS engine. + +- 😃 Use icons from any icon sets in Pure CSS, powered by [UnoCSS](https://github.com/unocss/unocss). + +- 🔥 The ` + + + + diff --git a/assets/live2d/models/hiyori_free_zh/avatar.png b/assets/live2d/models/hiyori_free_zh/avatar.png new file mode 100644 index 000000000..e894a0054 Binary files /dev/null and b/assets/live2d/models/hiyori_free_zh/avatar.png differ diff --git a/components/AudioWaveform.vue b/components/AudioWaveform.vue new file mode 100644 index 000000000..741e31428 --- /dev/null +++ b/components/AudioWaveform.vue @@ -0,0 +1,95 @@ + + + diff --git a/components/BasicTextarea.vue b/components/BasicTextarea.vue new file mode 100644 index 000000000..3147dcaa9 --- /dev/null +++ b/components/BasicTextarea.vue @@ -0,0 +1,75 @@ + + +