[rewrite] Added missing lib file, updated debug launch.json for frontend and updated .gitignore

This commit is contained in:
Thastertyn 2025-02-20 21:06:04 +01:00
parent 6e9334ba0e
commit 43063dcf4e
3 changed files with 22 additions and 1 deletions

1
.gitignore vendored
View File

@ -292,3 +292,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
!frontend/src/lib

16
.vscode/launch.json vendored
View File

@ -10,7 +10,7 @@
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/main.py", "program": "${workspaceFolder}/main.py",
"args": [], "args": [],
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}/backend",
"env": { "env": {
"FLASK_APP": "main.py", "FLASK_APP": "main.py",
"FLASK_ENV": "development" "FLASK_ENV": "development"
@ -18,6 +18,20 @@
"console": "internalConsole", "console": "internalConsole",
"autoReload": {"enable": true}, "autoReload": {"enable": true},
"justMyCode": true "justMyCode": true
},
{
"name": "Frontend",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}/frontend",
"runtimeArgs": [
"run",
"dev"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
} }
] ]
} }

View File

@ -0,0 +1,6 @@
import { type ClassValue, clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}