Skip to content

Commit 6d36c0f

Browse files
atinuxpi0
andauthored
feat: user server/ dir instead (#5)
Co-authored-by: Pooya Parsa <[email protected]>
1 parent ab43113 commit 6d36c0f

25 files changed

+473
-969
lines changed

drizzle.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { defineConfig } from 'drizzle-kit'
22

33
export default defineConfig({
44
dialect: 'postgresql',
5-
schema: './database/schema.ts',
6-
out: './database/migrations',
5+
schema: './server/database/schema.ts',
6+
out: './server/database/migrations',
77
dbCredentials: {
88
url: process.env.DATABASE_URL!
99
}

eslint.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,10 @@ export default ts.config(
1717
'vue/multi-word-component-names': 'off',
1818
'no-undef': 'off'
1919
}
20+
},
21+
{
22+
rules: {
23+
'@typescript-eslint/no-explicit-any': 'off'
24+
}
2025
}
2126
)

index.html

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,33 @@
1212
</head>
1313

1414
<body>
15-
<div id="app" class="isolate"></div>
15+
<div id="app" class="isolate">
16+
<span class="loader"></span>
17+
<style>
18+
.loader {
19+
width: 40px;
20+
height: 40px;
21+
border: 5px solid #2b7fff;
22+
border-bottom-color: transparent;
23+
border-radius: 50%;
24+
display: inline-block;
25+
box-sizing: border-box;
26+
animation: rotation 1s linear infinite;
27+
position: fixed;
28+
top: calc(50% - 20px);
29+
left: calc(50% - 20px);
30+
}
31+
32+
@keyframes rotation {
33+
0% {
34+
transform: rotate(0deg);
35+
}
36+
100% {
37+
transform: rotate(360deg);
38+
}
39+
}
40+
</style>
41+
</div>
1642
<script type="module" src="/src/main.ts"></script>
1743
</body>
1844

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,36 +16,38 @@
1616
"@nuxt/ui": "^4.0.1",
1717
"ai": "^5.0.60",
1818
"date-fns": "^4.1.0",
19+
"defu": "^6.1.4",
1920
"drizzle-orm": "^0.44.6",
20-
"h3": "beta",
2121
"katex": "^0.16.23",
2222
"mermaid": "^11.12.0",
2323
"nitro": "npm:nitro-nightly",
2424
"ofetch": "^1.4.1",
2525
"pg": "^8.16.3",
2626
"shiki-stream": "^0.1.2",
27+
"ufo": "^1.6.1",
2728
"vue": "^3.5.22",
2829
"vue-renderer-markdown": "0.0.55-beta.2",
2930
"vue-router": "^4.5.1",
3031
"vue-use-monaco": "^0.0.33",
31-
"zod": "^4.1.11"
32+
"zod": "^4.1.12"
3233
},
3334
"devDependencies": {
3435
"@octokit/types": "^15.0.0",
36+
"@types/node": "^24.7.0",
3537
"@vitejs/plugin-vue": "^6.0.1",
3638
"drizzle-kit": "^0.31.5",
3739
"eslint": "^9.37.0",
3840
"eslint-plugin-vue": "^10.5.0",
3941
"typescript": "^5.9.3",
40-
"typescript-eslint": "^8.45.0",
42+
"typescript-eslint": "^8.46.0",
4143
"unplugin-vue-router": "^0.15.0",
4244
"vite": "^7.1.9",
4345
"vite-plugin-vue-devtools": "^8.0.2",
4446
"vite-plugin-vue-layouts": "^0.11.0",
45-
"vue-tsc": "^3.1.0"
47+
"vue-tsc": "^3.1.1"
4648
},
4749
"resolutions": {
4850
"unimport": "4.1.1"
4951
},
50-
"packageManager": "[email protected].0"
52+
"packageManager": "[email protected].1"
5153
}

0 commit comments

Comments
 (0)