Skip to content

Commit

Permalink
fix: 📦 Add dependency and configuration (#302)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
edwinhern authored Oct 2, 2024
1 parent 8e7c53e commit 9712615
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 185 deletions.
30 changes: 19 additions & 11 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
{
"name": "tsx",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/src/index.ts",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/tsx",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"],
"version": "0.2.0",
"configurations": [
{
"command": "npm start",
"name": "Run npm start",
"name": "Run in Development Mode",
"type": "node",
"request": "launch",
"type": "node-terminal"
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"]
},
{
"name": "Run in Production Mode",
"type": "node",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "start"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"],
"preLaunchTask": "npm: build"
}
]
}
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": [],
"label": "npm: build",
"detail": "Build the project"
}
]
}
Loading

0 comments on commit 9712615

Please sign in to comment.