Skip to content

Commit ee75b44

Browse files
authored
Merge pull request #1861 from jicruz96/vscode-folder-cleanup
DX tweak - `.vscode` folder cleanup
2 parents 2531e42 + f6007c8 commit ee75b44

File tree

5 files changed

+28
-27
lines changed

5 files changed

+28
-27
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,9 @@ build-storybook.log
8080

8181
/token
8282

83-
cert.txt
83+
cert.txt
84+
85+
# vscode
86+
87+
# lets each user define their own vscode settings
88+
.vscode/settings.json

.vscode/launch.json

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
2+
// adapted from https://nextjs.org/docs/app/guides/debugging#debugging-with-vs-code
53
"version": "0.2.0",
64
"configurations": [
75
{
8-
"name": "Launch Program",
9-
"program": "${workspaceFolder}/app.js",
6+
"name": "Run and Debug MAPLE",
7+
"type": "node",
108
"request": "launch",
9+
"runtimeExecutable": "yarn",
10+
"runtimeArgs": [
11+
"dev"
12+
],
13+
"env": {
14+
"NODE_OPTIONS": "--inspect"
15+
},
16+
"console": "integratedTerminal",
1117
"skipFiles": [
1218
"<node_internals>/**"
1319
],
14-
"type": "node"
15-
},
16-
{
17-
"name": "Launch in VSCode (with TypeScript)",
18-
"type": "node",
19-
"request": "launch",
20-
"program": "/Users/mrigank/maple/functions/src/notifications/index.ts", // Replace with path to your main entry point (e.g., "index.js")
21-
"sourceMaps": true
20+
"sourceMaps": true,
21+
"serverReadyAction": {
22+
"action": "debugWithChrome",
23+
"killOnServerStop": true,
24+
"pattern": "- Local:.+(https?://.+)",
25+
"uriFormat": "%s",
26+
"webRoot": "${workspaceFolder}"
27+
}
2228
}
2329
]
24-
}
30+
}

.vscode/settings.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"strict": true,
99
"forceConsistentCasingInFileNames": true,
1010
"noEmit": true,
11+
"sourceMap": true,
1112
"esModuleInterop": true,
1213
"module": "esnext",
1314
"moduleResolution": "node",

0 commit comments

Comments
 (0)