feat: reorganize repo

This commit is contained in:
taskylizard 2024-08-03 10:38:06 +00:00
parent 49eb39bc1f
commit 23389c69df
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
107 changed files with 15 additions and 429 deletions

6
.github/script.sh vendored
View file

@ -1,7 +1,7 @@
set -e
python .github/replace.py
python .github/add-headers.py
for file in *; do
[[ -f "$file" ]] && mv "$file" "${file,,}" 2>/dev/null
done
exit 0

View file

@ -41,11 +41,11 @@ jobs:
- name: Build with VitePress
run: |
pnpm docs:build
touch .vitepress/dist/.nojekyll
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: .vitepress/dist
path: docs/.vitepress/dist
deploy:
environment:

View file

@ -1,5 +1,8 @@
import { fetcher } from 'itty-fetcher'
import { FeedbackSchema, getFeedbackOption } from '../types/Feedback'
import {
FeedbackSchema,
getFeedbackOption
} from '../../docs/.vitepress/types/Feedback'
export default defineEventHandler(async (event) => {
const { message, page, type } = await readValidatedBody(

View file

@ -2,7 +2,7 @@
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"extends": ["@taskylizard/biome-config"],
"files": {
"ignore": [".vitepress/**/*.vue", ".vitepress/vue-shim.d.ts"]
"ignore": ["docs/.vitepress/**/*.vue", "docs/.vitepress/vue-shim.d.ts"]
},
"formatter": {
"enabled": false

View file

View file

View file

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 451 KiB

After

Width:  |  Height:  |  Size: 451 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 442 KiB

After

Width:  |  Height:  |  Size: 442 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 442 KiB

After

Width:  |  Height:  |  Size: 442 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 318 KiB

After

Width:  |  Height:  |  Size: 318 KiB

Before After
Before After

Some files were not shown because too many files have changed in this diff Show more