mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Use Deno for speed, package locks in dev setup, github workflows
It's faster than yarn and comes with standard convenience utilities
This commit is contained in:
10
src/interface/web/deno.json
Normal file
10
src/interface/web/deno.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"tasks": {
|
||||
"hook": "deno run --allow-read --allow-run --allow-write https://deno.land/x/deno_hooks@0.1.1/mod.ts"
|
||||
},
|
||||
"fmt": {
|
||||
"indentWidth": 4,
|
||||
"lineWidth": 100,
|
||||
"proseWrap": "preserve"
|
||||
}
|
||||
}
|
||||
5251
src/interface/web/deno.lock
generated
Normal file
5251
src/interface/web/deno.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"lint": "deno fmt",
|
||||
"collectstatic": "bash -c 'pushd ../../../ && source .venv/bin/activate && python3 src/khoj/manage.py collectstatic --noinput && deactivate && popd'",
|
||||
"cicollectstatic": "bash -c 'pushd ../../../ && python3 src/khoj/manage.py collectstatic --noinput && popd'",
|
||||
"export": "yarn build && cp -r out/ ../../khoj/interface/built && yarn collectstatic",
|
||||
|
||||
Reference in New Issue
Block a user