mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-15 19:22:20 +08:00
b3fb4c5c57
* Fix contentText assignment in CrawlerHost class * fix: recover vscode configurations * feat: add image captioning * feat: add image captioning * clean: vscode config * chore: fix some ts warnings * feat: auto alt text * fix * chore: improve prompt * clean: unused config * fix: failure condition * fix: remove redundant code * fix: catch parse error * fix: catch parse error --------- Co-authored-by: Yanlong Wang <yanlong.wang@naiver.org>
156 lines
4.7 KiB
JSON
156 lines
4.7 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "npm",
|
|
"script": "build",
|
|
"group": "build",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/backend/functions"
|
|
},
|
|
"problemMatcher": [],
|
|
"label": "Backend:rebuild",
|
|
"detail": "Backend:rebuild"
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "emu:reset",
|
|
"group": "build",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/backend/functions"
|
|
},
|
|
"problemMatcher": [],
|
|
"label": "Backend:reset-emulator",
|
|
"detail": "Backend:reset-emulator"
|
|
},
|
|
{
|
|
"type": "typescript",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/backend/functions"
|
|
},
|
|
"tsconfig": "backend/functions/tsconfig.json",
|
|
"option": "watch",
|
|
"isBackground": true,
|
|
"problemMatcher": [
|
|
"$tsc-watch"
|
|
],
|
|
"group": "build",
|
|
"label": "Backend:build:watch"
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "emu:debug",
|
|
"group": "none",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/backend/functions"
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$tsc",
|
|
"background": {
|
|
"activeOnStart": false,
|
|
"beginsPattern": "shutdown requested|Starting emulators",
|
|
"endsPattern": "Debugger listening"
|
|
}
|
|
}
|
|
],
|
|
"label": "Backend:start-emulator-debug",
|
|
"detail": "Backend:start-emulator-debug",
|
|
"dependsOn": [
|
|
"Backend:build:watch"
|
|
],
|
|
"isBackground": true,
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "dev",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/webapp",
|
|
},
|
|
"group": "build",
|
|
"label": "Frontend:start:dev",
|
|
"detail": "Frontend:start:dev",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"base": "$vite",
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"endsPattern": "OK",
|
|
"beginsPattern": "vite"
|
|
}
|
|
},
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "dev",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/webapp",
|
|
"env": {
|
|
"FIREBASE_EMULATE": "true",
|
|
}
|
|
},
|
|
"group": "build",
|
|
"label": "Frontend:start:emu",
|
|
"detail": "Frontend:start:emu",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"base": "$vite",
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"endsPattern": "OK",
|
|
"beginsPattern": "vite"
|
|
}
|
|
},
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "emu:debug2",
|
|
"group": "none",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/backend/functions",
|
|
"env": {
|
|
"https_proxy": "http://127.0.0.1:7890",
|
|
"http_proxy": "http://127.0.0.1:7890",
|
|
"all_proxy": "socks5://127.0.0.1:7890"
|
|
}
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$tsc",
|
|
"background": {
|
|
"activeOnStart": false,
|
|
"beginsPattern": "shutdown requested|Starting emulators",
|
|
"endsPattern": "Debugger listening"
|
|
}
|
|
}
|
|
],
|
|
"label": "Backend:start-emulator-debug:with-proxy",
|
|
"detail": "Backend:start-emulator-debug:with-proxy",
|
|
"dependsOn": [
|
|
"Backend:build:watch"
|
|
],
|
|
"isBackground": true,
|
|
},
|
|
{
|
|
"label": "Fullstack:prepare",
|
|
"dependsOn": [
|
|
"Frontend:start:emu",
|
|
"Backend:build:watch",
|
|
],
|
|
},
|
|
{
|
|
"label": "Fullstack:debug",
|
|
"dependsOn": [
|
|
// "Frontend:start:emu",
|
|
"Backend:start-emulator-debug",
|
|
],
|
|
},
|
|
{
|
|
"label": "Fullstack:debug:with-proxy",
|
|
"dependsOn": [
|
|
"Frontend:start:emu",
|
|
"Backend:start-emulator-debug:with-proxy",
|
|
],
|
|
}
|
|
]
|
|
} |