Skip to content

Commit 7ddd4ca

Browse files
Amend all templates' project.json files to match current "yo aspnet" template content (plus the SPA-specific stuff)
1 parent 7387991 commit 7ddd4ca

File tree

5 files changed

+259
-144
lines changed

5 files changed

+259
-144
lines changed

‎templates/Angular2Spa/project.json‎

Lines changed: 53 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
11
{
2-
"version": "1.0.0-*",
3-
"buildOptions":{
4-
"emitEntryPoint": true,
5-
"preserveCompilationContext": true
6-
},
7-
"runtimeOptions":{
8-
"gcServer": true
9-
},
10-
"tooling":{
11-
"defaultNamespace": "WebApplicationBasic"
12-
},
13-
142
"dependencies":{
153
"Microsoft.NETCore.App":{
16-
"version": "1.0.0-rc2-*",
4+
"version": "1.0.0-rc2-3002702",
175
"type": "platform"
186
},
19-
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
20-
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
21-
"Microsoft.AspNetCore.Mvc": "1.0.0-*",
22-
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*",
23-
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
24-
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
25-
"Microsoft.Extensions.Configuration.Json": "1.0.0-*",
26-
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
27-
"Microsoft.NETCore.Platforms": "1.0.1-*",
28-
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
29-
"Microsoft.AspNetCore.AngularServices": "1.0.0-*"
7+
"Microsoft.AspNetCore.AngularServices": "1.0.0-*",
8+
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
9+
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
10+
"Microsoft.AspNetCore.Razor.Tools":{
11+
"version": "1.0.0-preview1-final",
12+
"type": "build"
13+
},
14+
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
15+
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
16+
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final",
17+
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
18+
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
19+
"Microsoft.Extensions.Logging": "1.0.0-rc2-final",
20+
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
21+
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final"
22+
},
23+
24+
"tools":{
25+
"Microsoft.AspNetCore.Razor.Tools":{
26+
"version": "1.0.0-preview1-final",
27+
"imports": "portable-net45+win8+dnxcore50"
28+
},
29+
"Microsoft.AspNetCore.Server.IISIntegration.Tools":{
30+
"version": "1.0.0-preview1-final",
31+
"imports": "portable-net45+win8+dnxcore50"
32+
}
3033
},
34+
3135
"frameworks":{
3236
"netcoreapp1.0":{
3337
"imports": [
@@ -37,20 +41,40 @@
3741
]
3842
}
3943
},
44+
45+
"buildOptions":{
46+
"emitEntryPoint": true,
47+
"preserveCompilationContext": true
48+
},
49+
50+
"runtimeOptions":{
51+
"gcServer": true
52+
},
53+
4054
"publishOptions":{
41-
"exclude": [
42-
"node_modules",
43-
"**.xproj",
44-
"**.user",
45-
"**.vspscc"
55+
"include": [
56+
"appsettings.json",
57+
"ClientApp",
58+
"typings",
59+
"Views",
60+
"tsconfig.json",
61+
"tsd.json",
62+
"web.config",
63+
"webpack.*.js",
64+
"wwwroot"
4665
]
4766
},
67+
4868
"scripts":{
4969
"prepublish": [
5070
"npm install",
5171
"node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js",
5272
"node node_modules/webpack/bin/webpack.js"
5373
],
5474
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
75+
},
76+
77+
"tooling":{
78+
"defaultNamespace": "WebApplicationBasic"
5579
}
5680
}

‎templates/KnockoutSpa/project.json‎

Lines changed: 53 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
11
{
2-
"version": "1.0.0-*",
3-
"buildOptions":{
4-
"emitEntryPoint": true,
5-
"preserveCompilationContext": true
6-
},
7-
"runtimeOptions":{
8-
"gcServer": true
9-
},
10-
"tooling":{
11-
"defaultNamespace": "WebApplicationBasic"
12-
},
13-
142
"dependencies":{
153
"Microsoft.NETCore.App":{
16-
"version": "1.0.0-rc2-*",
4+
"version": "1.0.0-rc2-3002702",
175
"type": "platform"
186
},
19-
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
20-
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
21-
"Microsoft.AspNetCore.Mvc": "1.0.0-*",
22-
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*",
23-
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
24-
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
25-
"Microsoft.Extensions.Configuration.Json": "1.0.0-*",
26-
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
27-
"Microsoft.NETCore.Platforms": "1.0.1-*",
28-
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
29-
"Microsoft.AspNetCore.SpaServices": "1.0.0-*"
7+
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
8+
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
9+
"Microsoft.AspNetCore.Razor.Tools":{
10+
"version": "1.0.0-preview1-final",
11+
"type": "build"
12+
},
13+
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
14+
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
15+
"Microsoft.AspNetCore.SpaServices": "1.0.0-*",
16+
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final",
17+
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
18+
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
19+
"Microsoft.Extensions.Logging": "1.0.0-rc2-final",
20+
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
21+
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final"
22+
},
23+
24+
"tools":{
25+
"Microsoft.AspNetCore.Razor.Tools":{
26+
"version": "1.0.0-preview1-final",
27+
"imports": "portable-net45+win8+dnxcore50"
28+
},
29+
"Microsoft.AspNetCore.Server.IISIntegration.Tools":{
30+
"version": "1.0.0-preview1-final",
31+
"imports": "portable-net45+win8+dnxcore50"
32+
}
3033
},
34+
3135
"frameworks":{
3236
"netcoreapp1.0":{
3337
"imports": [
@@ -37,20 +41,40 @@
3741
]
3842
}
3943
},
44+
45+
"buildOptions":{
46+
"emitEntryPoint": true,
47+
"preserveCompilationContext": true
48+
},
49+
50+
"runtimeOptions":{
51+
"gcServer": true
52+
},
53+
4054
"publishOptions":{
41-
"exclude": [
42-
"node_modules",
43-
"**.xproj",
44-
"**.user",
45-
"**.vspscc"
55+
"include": [
56+
"appsettings.json",
57+
"ClientApp",
58+
"typings",
59+
"Views",
60+
"tsconfig.json",
61+
"tsd.json",
62+
"web.config",
63+
"webpack.*.js",
64+
"wwwroot"
4665
]
4766
},
67+
4868
"scripts":{
4969
"prepublish": [
5070
"npm install",
5171
"node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js",
5272
"node node_modules/webpack/bin/webpack.js"
5373
],
5474
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
75+
},
76+
77+
"tooling":{
78+
"defaultNamespace": "WebApplicationBasic"
5579
}
5680
}
Lines changed: 53 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
11
{
2-
"version": "1.0.0-*",
3-
"buildOptions":{
4-
"emitEntryPoint": true,
5-
"preserveCompilationContext": true
6-
},
7-
"runtimeOptions":{
8-
"gcServer": true
9-
},
10-
"tooling":{
11-
"defaultNamespace": "WebApplicationBasic"
12-
},
13-
142
"dependencies":{
153
"Microsoft.NETCore.App":{
16-
"version": "1.0.0-rc2-*",
4+
"version": "1.0.0-rc2-3002702",
175
"type": "platform"
186
},
19-
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
20-
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
21-
"Microsoft.AspNetCore.Mvc": "1.0.0-*",
22-
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*",
23-
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
24-
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
25-
"Microsoft.Extensions.Configuration.Json": "1.0.0-*",
26-
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
27-
"Microsoft.NETCore.Platforms": "1.0.1-*",
28-
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
29-
"Microsoft.AspNetCore.ReactServices": "1.0.0-*"
7+
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
8+
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
9+
"Microsoft.AspNetCore.Razor.Tools":{
10+
"version": "1.0.0-preview1-final",
11+
"type": "build"
12+
},
13+
"Microsoft.AspNetCore.ReactServices": "1.0.0-*",
14+
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
15+
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
16+
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final",
17+
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
18+
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
19+
"Microsoft.Extensions.Logging": "1.0.0-rc2-final",
20+
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
21+
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final"
22+
},
23+
24+
"tools":{
25+
"Microsoft.AspNetCore.Razor.Tools":{
26+
"version": "1.0.0-preview1-final",
27+
"imports": "portable-net45+win8+dnxcore50"
28+
},
29+
"Microsoft.AspNetCore.Server.IISIntegration.Tools":{
30+
"version": "1.0.0-preview1-final",
31+
"imports": "portable-net45+win8+dnxcore50"
32+
}
3033
},
34+
3135
"frameworks":{
3236
"netcoreapp1.0":{
3337
"imports": [
@@ -37,20 +41,40 @@
3741
]
3842
}
3943
},
44+
45+
"buildOptions":{
46+
"emitEntryPoint": true,
47+
"preserveCompilationContext": true
48+
},
49+
50+
"runtimeOptions":{
51+
"gcServer": true
52+
},
53+
4054
"publishOptions":{
41-
"exclude": [
42-
"node_modules",
43-
"**.xproj",
44-
"**.user",
45-
"**.vspscc"
55+
"include": [
56+
"appsettings.json",
57+
"ClientApp",
58+
"typings",
59+
"Views",
60+
"tsconfig.json",
61+
"tsd.json",
62+
"web.config",
63+
"webpack.*.js",
64+
"wwwroot"
4665
]
4766
},
67+
4868
"scripts":{
4969
"prepublish": [
5070
"npm install",
5171
"node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js",
5272
"node node_modules/webpack/bin/webpack.js"
5373
],
5474
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
75+
},
76+
77+
"tooling":{
78+
"defaultNamespace": "WebApplicationBasic"
5579
}
5680
}

0 commit comments

Comments
(0)