Compare commits
9 Commits
main
...
reorganize
Author | SHA1 | Date | |
---|---|---|---|
|
fdb6a5cfc1 | ||
|
1fe7aa16df | ||
|
9065a0aeb7 | ||
|
b693586301 | ||
|
00ab9fd3c6 | ||
|
a85067d01f | ||
|
ef5e42c43a | ||
|
5ae5b7e266 | ||
|
cc3cd6c4af |
@ -2,6 +2,6 @@
|
||||
import tasky from '@taskylizard/eslint-config'
|
||||
|
||||
export default tasky({
|
||||
vue: true,
|
||||
browser: true
|
||||
browser: true,
|
||||
ignores: ['**/.nitro']
|
||||
})
|
@ -3,7 +3,6 @@ export default defineNitroConfig({
|
||||
runtimeConfig: {
|
||||
WEBHOOK_URL: process.env.WEBHOOK_URL
|
||||
},
|
||||
srcDir: '.vitepress',
|
||||
routeRules: {
|
||||
'/': {
|
||||
cors: false
|
24
api/package.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "@fmhy/api",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"description": "FMHY API.",
|
||||
"scripts": {
|
||||
"prepare": "nitropack prepare",
|
||||
"dev": "nitropack dev",
|
||||
"build": "nitropack build",
|
||||
"preview": "node .output/server/index.mjs",
|
||||
"types": "nitropack prepare",
|
||||
"lint": "eslint --cache -f pretty routes types middleware nitro.config.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"itty-fetcher": "^0.9.4",
|
||||
"nitro-cors": "^0.7.0",
|
||||
"nitropack": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@taskylizard/eslint-config": "^1.1.1",
|
||||
"eslint": "^8.56.0"
|
||||
},
|
||||
"author": "taskylizard <taskylizard@fmhy.net>"
|
||||
}
|
@ -2,6 +2,5 @@
|
||||
"extends": "./.nitro/types/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"verbatimModuleSyntax": true
|
||||
},
|
||||
"include": ["./.vitepress/"]
|
||||
}
|
||||
}
|
@ -41,7 +41,7 @@ const authors = computed(() =>
|
||||
<template>
|
||||
<div class="flex flex-wrap gap-4 pt-2">
|
||||
<div v-for="(c, index) of authors" class="flex gap-2 items-center">
|
||||
<img :src="`${c.github}.png`" class="w-8 h-8 rounded-full" />
|
||||
<img :src="`${c.github}.png`" class="w-8 h-8 rounded-full" >
|
||||
<a :href="c.github">{{ c.name }}</a>
|
||||
<span v-if="index < authors.length - 1">•</span>
|
||||
</div>
|
@ -5,7 +5,7 @@ import {
|
||||
type FeedbackType,
|
||||
getFeedbackOption,
|
||||
feedbackOptions
|
||||
} from '../../types/Feedback'
|
||||
} from '../../../../api/types/Feedback'
|
||||
|
||||
const loading = ref<boolean>(false)
|
||||
const error = ref<unknown>(null)
|
10
docs/eslint.config.js
Normal file
@ -0,0 +1,10 @@
|
||||
// @ts-check
|
||||
import tasky from '@taskylizard/eslint-config'
|
||||
|
||||
export default tasky({
|
||||
vue: true,
|
||||
typescript: true,
|
||||
browser: true,
|
||||
unocss: true,
|
||||
files: ['**/.vitepress/**']
|
||||
})
|
36
docs/package.json
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "@fmhy/docs",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vitepress dev",
|
||||
"build": "vitepress build",
|
||||
"preview": "vitepress preview",
|
||||
"lint": "eslint --cache -f pretty .",
|
||||
"og": "x-satori -t ./.vitepress/hooks/Template.vue -c ./.vitepress/hooks/satoriConfig.ts --dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"@headlessui/vue": "^1.7.17",
|
||||
"@resvg/resvg-js": "^2.6.0",
|
||||
"vitepress": "npm:@taskylizard/vitepress@1.0.10",
|
||||
"consola": "^3.2.3",
|
||||
"feed": "^4.2.2",
|
||||
"fs-extra": "^11.2.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"pathe": "^1.1.2",
|
||||
"unocss": "^0.58.4",
|
||||
"vue": "^3.4.15",
|
||||
"x-satori": "^0.1.5",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@taskylizard/eslint-config": "^1.1.1",
|
||||
"eslint": "^8.56.0",
|
||||
"@iconify-json/carbon": "^1.1.28",
|
||||
"@iconify-json/twemoji": "^1.1.15",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/node": "^20.11.15",
|
||||
"@types/nprogress": "^0.2.3"
|
||||
},
|
||||
"author": "nbats, taskylizard & Contributors"
|
||||
}
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 451 KiB After Width: | Height: | Size: 451 KiB |
Before Width: | Height: | Size: 442 KiB After Width: | Height: | Size: 442 KiB |
Before Width: | Height: | Size: 442 KiB After Width: | Height: | Size: 442 KiB |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 318 KiB |
29
docs/tsconfig.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"verbatimModuleSyntax": true,
|
||||
"baseUrl": ".",
|
||||
"module": "esnext",
|
||||
"target": "esnext",
|
||||
"lib": [
|
||||
"DOM",
|
||||
"ESNext"
|
||||
],
|
||||
"strict": true,
|
||||
"jsx": "preserve",
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"noUnusedLocals": true,
|
||||
"strictNullChecks": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vitepress"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
".vitepress",
|
||||
"eslint.config.js"
|
||||
]
|
||||
}
|