Skip to content

Commit

Permalink
chore(): remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
piyook committed May 23, 2024
1 parent b73103f commit f2f7415
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 140 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ PROJECT_NAME= mock-api-framework
SERVER_PORT=8000
USE_API_URL_PREFIX=chatgpt/chat
## MOCK_GPT_MODE can be 'lorem' or 'stored'
MOCK_GPT_MODE=stored
MOCK_GPT_MODE=lorem
DEBUG=*
54 changes: 45 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,47 @@
// {
// "configurations": [
// {
// "name": "Docker Node.js Launch",
// "type": "docker",
// "request": "launch",
// "preLaunchTask": "docker-run: debug",
// "platform": "node"
// }
// ]
// }

{
"configurations": [
{
"name": "Docker Node.js Launch",
"type": "docker",
"version": "0.2.0",
"configurations": [{
"name": "tsx",
"type": "node",
"request": "launch",
"preLaunchTask": "docker-run: debug",
"platform": "node"
}
]
}

// Debug current file in VSCode
"program": "${file}",

/*
Path to tsx binary
Assuming locally installed
*/
"runtimeExecutable": "tsx",

/*
Open terminal when debugging starts (Optional)
Useful to see console.logs
*/
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",

// Files to exclude from debugger (e.g. call stack)
"skipFiles": [
// Node.js internal core modules
"<node_internals>/**",

// Ignore all dependencies (optional)
"${workspaceFolder}/node_modules/**",
],
}],
"compounds": []
}

46 changes: 0 additions & 46 deletions templates/handlers/api.custom.template.ts

This file was deleted.

19 changes: 0 additions & 19 deletions templates/handlers/api.rest.template.ts

This file was deleted.

15 changes: 0 additions & 15 deletions templates/models/fake-data-model.ts

This file was deleted.

12 changes: 0 additions & 12 deletions templates/models/json-data-model.ts

This file was deleted.

15 changes: 0 additions & 15 deletions templates/seeders/fake-data-seeder.ts

This file was deleted.

23 changes: 0 additions & 23 deletions templates/seeders/json-data-seeder.ts

This file was deleted.

0 comments on commit f2f7415

Please sign in to comment.