mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
refac
This commit is contained in:
1 parent
ed4630c671
commit
b3f1d66e96
2 files changed
+15
-2
No files matched your search
@@ -8,8 +8,10 @@
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"prepare": "svelte-kit sync || echo ''",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"format": "npm run format:frontend && cd ../.. && uv run ruff format cptr",
|
||||
"format:check": "npm run format:check:frontend && cd ../.. && uv run ruff format --check cptr",
|
||||
"format:frontend": "prettier --write .",
|
||||
"format:check:frontend": "prettier --check .",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
||||
},
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"format": "npm run format:frontend && npm run format:backend",
|
||||
"format:check": "npm run format:check:frontend && npm run format:check:backend",
|
||||
"format:frontend": "npm --prefix cptr/frontend run format:frontend",
|
||||
"format:check:frontend": "npm --prefix cptr/frontend run format:check:frontend",
|
||||
"format:backend": "uv run ruff format cptr",
|
||||
"format:check:backend": "uv run ruff format --check cptr"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user