Skip to content
Merged

wuh #17

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a href="https://github.com/qnaplus/webapp/stargazers">
<img src="https://img.shields.io/github/stars/qnaplus/webapp?color=577BB5&labelColor=1A1B26&style=for-the-badge">
</a>
<a href="../LICENSE">
<a href="..//LICENSE">
<img src="https://img.shields.io/github/license/qnaplus/webapp?color=C0CAF5&labelColor=1A1B26&style=for-the-badge">
</a>
</div>
14 changes: 14 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"plugins": ["react", "typescript", "unicorn"],
"env": {
"browser": true,
"es2024": true
},
"ignorePatterns": ["dist", "node_modules", "public", "dev-dist"],
"rules": {
"no-console": "off",
"react/no-array-index-key": "warn",
"import/no-relative-parent-imports": "error"
}
}
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"oxc.oxc-vscode",
"bradlc.vscode-tailwindcss"
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"*.css": "tailwindcss"
}
}
30 changes: 0 additions & 30 deletions biome.json

This file was deleted.

71 changes: 0 additions & 71 deletions components.d.ts

This file was deleted.

25 changes: 25 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "base-vega",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/theme/globals.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "tabler",
"rtl": false,
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"menuColor": "default",
"menuAccent": "subtle",
"registries": {}
}
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!doctype html>
<html class="dark" lang="en">
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/icons/qnaplus.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>%VITE_APP_NAME%</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
3 changes: 3 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tools]
node = "26"
pnpm = "11"
102 changes: 48 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,73 +4,67 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vue-tsc && vite",
"build": "vite build",
"dev": "vite",
"build": "tsc -p tsconfig.json --noEmit && vite build",
"build:dev": "pnpm build --mode development",
"preview": "vite preview",
"neat": "biome check .",
"neat:fix": "biome check . --write",
"clean": "rimraf dist",
"clean:modules": "rimraf node_modules",
"neat": "oxlint .",
"neat:fix": "oxlint . --fix",
"clean": "rm -rf dist",
"clean:modules": "rm -rf node_modules",
"clean:full": "pnpm clean && pnpm clean:modules"
},
"dependencies": {
"@primeuix/themes": "^1.0.0",
"@tailwindcss/vite": "^4.1.0",
"@vueuse/core": "^13.0.0",
"@vueuse/rxjs": "^13.0.0",
"dexie": "^4.0.7",
"htmlparser2": "^10.0.0",
"minisearch": "^7.1.2",
"primeicons": "^7.0.0",
"primevue": "^4.3.3",
"rxjs": "^7.8.1",
"sanitize-html": "^2.15.0",
"@base-ui/react": "^1.5.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@fontsource-variable/geist": "^5.2.9",
"@tabler/icons-react": "^3.44.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.2.1",
"dexie": "^4.4.2",
"dexie-react-hooks": "^4.4.0",
"html-react-parser": "^6.1.2",
"minisearch": "^7.2.0",
"next-themes": "^0.4.6",
"react": "^19.2.6",
"react-day-picker": "^10.0.1",
"react-dom": "^19.2.6",
"sanitize-html": "^2.17.4",
"shadcn": "^4.7.0",
"stemmer": "^2.0.1",
"tailwindcss": "^4.1.0",
"tailwindcss-primeui": "^0.6.1",
"virtua": "^0.40.3",
"vue": "^3.4.15",
"vue-draggable-plus": "^0.6.0",
"vue-router": "4"
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0",
"virtua": "^0.49.1",
"wouter": "^3.9.0",
"zustand": "^5.0.13"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@primevue/auto-import-resolver": "^4.3.3",
"@qnaplus/scraper": "^3.1.0",
"@tailwindcss/typography": "^0.5.15",
"@types/sanitize-html": "^2.15.0",
"@vite-pwa/assets-generator": "^1.0.0",
"@vitejs/plugin-vue": "^5.2.3",
"autoprefixer": "^10.4.21",
"domhandler": "^5.0.3",
"rimraf": "^6.0.1",
"sass": "^1.86.1",
"typescript": "^5.2.2",
"unplugin-vue-components": "^28.4.1",
"vite": "^6.2.4",
"vite-plugin-pwa": "^1.0.0",
"vue-tsc": "^2.0.28",
"workbox-window": "^7.1.0"
"@qnaplus/scraper": "^3.1.4",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.3.0",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"@types/sanitize-html": "^2.16.1",
"@vite-pwa/assets-generator": "^1.0.2",
"@vitejs/plugin-react": "^6.0.2",
"oxlint": "^1.66.0",
"tailwindcss": "^4.3.0",
"typescript": "^6.0.3",
"vite": "^8.0.13",
"vite-plugin-pwa": "^1.3.0",
"workbox-window": "^7.4.1"
},
"resolutions": {
"sharp": "0.32.6",
"sharp-ico": "0.1.5"
},
"volta": {
"node": "22.13.1",
"pnpm": "10.5.2"
"pnpm": "11.1.3",
"node": "26.1.0"
},
"packageManager": "pnpm@10.5.2",
"pnpm": {
"onlyBuiltDependencies": [
"@biomejs/biome",
"@parcel/watcher",
"canvas",
"esbuild",
"sharp",
"vue-demi",
"workerd"
]
}
"packageManager": "pnpm@11.3.0"
}
Loading
Loading