mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 08:50:43 -05:00
- Adds support for `tsx` - Drops support for `ts-node`, `ts-node-dev`, and `tsconfig-paths` - Changed workspace debug configuration to use `tsx` in watch mode - Changed `npm run run:debug` command from using gulp to running `tsx` directly (not in watch mode) - Changed TypeScript settings for improved module handling - Changed TypeScript to be a development dependency Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": "."
|
|
}
|
|
],
|
|
"settings": {
|
|
"window.title": "SPT Server",
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "biomejs.biome",
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports.biome": "explicit",
|
|
"quickfix.biome": "explicit"
|
|
}
|
|
},
|
|
"extensions": {
|
|
"recommendations": [
|
|
"EditorConfig.EditorConfig", // EditorConfig file support.
|
|
"vitest.explorer", // ViTest test runner.
|
|
"refringe.spt-id-highlighter", // SPT ID information of hover.
|
|
"biomejs.biome" // Biome code formatting, linting, and refactoring.
|
|
]
|
|
},
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug",
|
|
"type": "node",
|
|
"program": "${workspaceFolder}/src/ide/TestEntry.ts",
|
|
"runtimeVersion": "20.11.1",
|
|
"runtimeExecutable": "tsx",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"watch",
|
|
"--clear-screen=false"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"${workspaceFolder}/node_modules/**",
|
|
],
|
|
},
|
|
{
|
|
"name": "Run Vitest Tests",
|
|
"type": "node",
|
|
"runtimeVersion": "20.11.1",
|
|
"runtimeExecutable": "npm",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"run",
|
|
"test"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"${workspaceFolder}/node_modules/**",
|
|
],
|
|
}
|
|
]
|
|
}
|
|
}
|