Skip to content

Commit 9712615

Browse files
authored
fix: 📦 Add dependency and configuration (#302)
* feat: 🔧 Updated launch settings * fix: 📦 Add pino as dependency * revert: ⚰️ Remove pnpm package version * chore: ♻️ Update package lock to include pino * chore: 🔧 Add production config in launch settings
1 parent 8e7c53e commit 9712615

File tree

4 files changed

+205
-185
lines changed

4 files changed

+205
-185
lines changed

.vscode/launch.json

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
{
2-
"name": "tsx",
3-
"type": "node",
4-
"request": "launch",
5-
"program": "${workspaceFolder}/src/index.ts",
6-
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/tsx",
7-
"console": "integratedTerminal",
8-
"internalConsoleOptions": "neverOpen",
9-
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"],
2+
"version": "0.2.0",
103
"configurations": [
114
{
12-
"command": "npm start",
13-
"name": "Run npm start",
5+
"name": "Run in Development Mode",
6+
"type": "node",
147
"request": "launch",
15-
"type": "node-terminal"
8+
"runtimeExecutable": "npm",
9+
"runtimeArgs": ["run", "dev"],
10+
"console": "integratedTerminal",
11+
"internalConsoleOptions": "neverOpen",
12+
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"]
13+
},
14+
{
15+
"name": "Run in Production Mode",
16+
"type": "node",
17+
"request": "launch",
18+
"runtimeExecutable": "npm",
19+
"runtimeArgs": ["run", "start"],
20+
"console": "integratedTerminal",
21+
"internalConsoleOptions": "neverOpen",
22+
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"],
23+
"preLaunchTask": "npm: build"
1624
}
1725
]
1826
}

.vscode/tasks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "build",
7+
"group": "build",
8+
"problemMatcher": [],
9+
"label": "npm: build",
10+
"detail": "Build the project"
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)