Merge unrelated histories
This commit is contained in:
47
.vscode/launch.json
vendored
Normal file
47
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Backend starten",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**",
|
||||
"node_modules/**"
|
||||
],
|
||||
"cwd": "${workspaceFolder}/backend",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"env": {
|
||||
"LOCAL_MODE": "true"
|
||||
},
|
||||
"args": [
|
||||
"node_modules/ts-node/dist/bin.js",
|
||||
"--project",
|
||||
"${workspaceFolder}/backend/tsconfig.json",
|
||||
"-r",
|
||||
"tsconfig-paths/register",
|
||||
"src/index.ts"
|
||||
],
|
||||
"runtimeArgs": [
|
||||
"-r",
|
||||
"ts-node/register",
|
||||
"--unhandled-rejections=strict",
|
||||
"--nolazy"
|
||||
],
|
||||
"program": "${workspaceFolder}/backend/src/index.ts"
|
||||
},
|
||||
{
|
||||
"name": "Debug Frontend",
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"url": "http://localhost:3000",
|
||||
"webRoot": "${workspaceFolder}/frontend/src",
|
||||
"preLaunchTask": "Start Frontend",
|
||||
"postDebugTask": "Terminate All Tasks",
|
||||
"sourceMaps": true,
|
||||
"skipFiles": ["node_modules/**"],
|
||||
"runtimeExecutable": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
73
.vscode/tasks.json
vendored
Normal file
73
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Start Backend",
|
||||
"type": "shell",
|
||||
"command": "npx ts-node src/index.ts",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/backend"
|
||||
},
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
"owner": "typescript",
|
||||
"pattern": {
|
||||
"regexp": "^.*$",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"message": 3
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "^.*$",
|
||||
"endsPattern": "^Server läuft auf Port.*$"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Start Frontend",
|
||||
"dependsOn": ["Start Backend"],
|
||||
"type": "shell",
|
||||
"command": "BROWSER=none npm start",
|
||||
"options": { "cwd": "${workspaceFolder}/frontend" },
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
"owner": "javascript",
|
||||
"pattern": {
|
||||
"regexp": "^.*$",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"message": 3
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "^.*$",
|
||||
"endsPattern": "Compiled successfully"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "Docker Build",
|
||||
"command": "docker build --build-arg NODE_VERSION=$(node -v) -t ${workspaceFolderBasename} .",
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Terminate All Tasks",
|
||||
"type": "shell",
|
||||
"command": "echo 'Terminating all tasks'",
|
||||
// Windows-spezifischer Befehl könnte anders sein, z.B. "command": "echo 'Terminating all tasks'"
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
|
||||
"inputs": [
|
||||
{
|
||||
"id": "terminate",
|
||||
"type": "command",
|
||||
"command": "workbench.action.tasks.terminate",
|
||||
"args": "terminateAll"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user