Skip to content

Commit 98f1948

Browse files
StephenReddMarkPieszak
authored andcommitted
Issue TrilonIO#78 Updates typescript to 2.3.2, adds vs code launch configs (TrilonIO#228)
Closes TrilonIO#25 - updated for 4.0 project
1 parent b3fcacd commit 98f1948

File tree

2 files changed

+115
-70
lines changed

2 files changed

+115
-70
lines changed

.vscode/launch.json

Lines changed: 114 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,118 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"name": "[Development] Launch Web",
6-
"type": "coreclr",
7-
"request": "launch",
8-
"preLaunchTask": "build",
9-
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/Asp2017.dll",
10-
"args": [],
11-
"cwd": "${workspaceRoot}",
12-
"stopAtEntry": false,
13-
"internalConsoleOptions": "openOnSessionStart",
14-
"launchBrowser": {
15-
"enabled": true,
16-
"args": "${auto-detect-url}",
17-
"windows": {
18-
"command": "cmd.exe",
19-
"args": "/C start ${auto-detect-url}"
20-
},
21-
"osx": {
22-
"command": "open"
23-
},
24-
"linux": {
25-
"command": "xdg-open"
26-
}
27-
},
28-
"env": {
29-
"ASPNETCORE_ENVIRONMENT": "Development"
30-
},
31-
"sourceFileMap": {
32-
"/Views": "${workspaceRoot}/Views"
33-
}
2+
"version": "0.2.0",
3+
"compounds": [{
4+
"name": "[Development] Debug Server & Client",
5+
"configurations": ["[Development] Launch Server (no browser)", "[Development] Debug TypeScript"]
6+
}],
7+
"configurations": [{
8+
9+
"name": "[Development] Debug TypeScript",
10+
"type": "chrome",
11+
"request": "launch",
12+
"url": "http://localhost:5000",
13+
"webRoot": "${workspaceRoot}/wwwroot",
14+
"sourceMapPathOverrides": {
15+
"webpack:///./*": "${workspaceRoot}\\*"
16+
}
17+
},
18+
{
19+
"name": "[Development] Launch Server (no browser)",
20+
"type": "coreclr",
21+
"request": "launch",
22+
"preLaunchTask": "build",
23+
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/Asp2017.dll",
24+
"args": [],
25+
"cwd": "${workspaceRoot}",
26+
"stopAtEntry": false,
27+
"internalConsoleOptions": "openOnSessionStart",
28+
"launchBrowser": {
29+
"enabled": false,
30+
"args": "${auto-detect-url}",
31+
"windows": {
32+
"command": "cmd.exe",
33+
"args": "/C start ${auto-detect-url}"
3434
},
35-
{
36-
"name": "[Production] Launch Web",
37-
"type": "coreclr",
38-
"request": "launch",
39-
"preLaunchTask": "build",
40-
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/Asp2017.dll",
41-
"args": [],
42-
"cwd": "${workspaceRoot}",
43-
"stopAtEntry": false,
44-
"internalConsoleOptions": "openOnSessionStart",
45-
"launchBrowser": {
46-
"enabled": true,
47-
"args": "${auto-detect-url}",
48-
"windows": {
49-
"command": "cmd.exe",
50-
"args": "/C start ${auto-detect-url}"
51-
},
52-
"osx": {
53-
"command": "open"
54-
},
55-
"linux": {
56-
"command": "xdg-open"
57-
}
58-
},
59-
"env": {
60-
"ASPNETCORE_ENVIRONMENT": "Production"
61-
},
62-
"sourceFileMap": {
63-
"/Views": "${workspaceRoot}/src/AspCoreServer/Views"
64-
}
35+
"osx": {
36+
"command": "open"
6537
},
66-
{
67-
"name": ".NET Core Attach",
68-
"type": "coreclr",
69-
"request": "attach",
70-
"processId": "${command:pickProcess}"
38+
"linux": {
39+
"command": "xdg-open"
7140
}
72-
]
73-
}
41+
},
42+
"env": {
43+
"ASPNETCORE_ENVIRONMENT": "Development"
44+
},
45+
"sourceFileMap": {
46+
"/Views": "${workspaceRoot}/Views"
47+
}
48+
},
49+
{
50+
"name": "[Development] Launch Web",
51+
"type": "coreclr",
52+
"request": "launch",
53+
"preLaunchTask": "build",
54+
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/Asp2017.dll",
55+
"args": [],
56+
"cwd": "${workspaceRoot}",
57+
"stopAtEntry": false,
58+
"internalConsoleOptions": "openOnSessionStart",
59+
"launchBrowser": {
60+
"enabled": true,
61+
"args": "${auto-detect-url}",
62+
"windows": {
63+
"command": "cmd.exe",
64+
"args": "/C start ${auto-detect-url}"
65+
},
66+
"osx": {
67+
"command": "open"
68+
},
69+
"linux": {
70+
"command": "xdg-open"
71+
}
72+
},
73+
"env": {
74+
"ASPNETCORE_ENVIRONMENT": "Development"
75+
},
76+
"sourceFileMap": {
77+
"/Views": "${workspaceRoot}/Views"
78+
}
79+
},
80+
{
81+
"name": "[Production] Launch Web",
82+
"type": "coreclr",
83+
"request": "launch",
84+
"preLaunchTask": "build",
85+
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/Asp2017.dll",
86+
"args": [],
87+
"cwd": "${workspaceRoot}",
88+
"stopAtEntry": false,
89+
"internalConsoleOptions": "openOnSessionStart",
90+
"launchBrowser": {
91+
"enabled": true,
92+
"args": "${auto-detect-url}",
93+
"windows": {
94+
"command": "cmd.exe",
95+
"args": "/C start ${auto-detect-url}"
96+
},
97+
"osx": {
98+
"command": "open"
99+
},
100+
"linux": {
101+
"command": "xdg-open"
102+
}
103+
},
104+
"env": {
105+
"ASPNETCORE_ENVIRONMENT": "Production"
106+
},
107+
"sourceFileMap": {
108+
"/Views": "${workspaceRoot}/src/AspCoreServer/Views"
109+
}
110+
},
111+
{
112+
"name": ".NET Core Attach",
113+
"type": "coreclr",
114+
"request": "attach",
115+
"processId": "${command:pickProcess}"
116+
}
117+
]
118+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"signalr": "^2.2.1",
6666
"style-loader": "^0.13.1",
6767
"to-string-loader": "^1.1.5",
68-
"typescript": "^2.2.1",
68+
"typescript": "^2.3.2",
6969
"url-loader": "^0.5.7",
7070
"webpack": "^2.2.0",
7171
"webpack-hot-middleware": "^2.12.2",

0 commit comments

Comments
 (0)