Commit Graph

387 Commits

Author SHA1 Message Date
Steve Sanderson
5b634ee33c Remove "dotnet restore" post-action from templates for consistency with stock Web templates 2017-07-03 15:50:16 +01:00
Steve Sanderson
076b5304e0 Update templates to reference latest preview3 packages 2017-07-03 14:32:29 +01:00
Ryan Brandenburg
76928bcbaa Remove AssetTargetFramework 2017-06-30 10:24:48 +01:00
Steve Sanderson
95c81729cd Merge branch 'rel/2.0.0-preview2-templates' into dev 2017-06-26 15:50:46 +01:00
Steve Sanderson
8352ec7626 Add npm-shrinkwrap.json files for all templates 2017-06-26 15:48:49 +01:00
Steve Sanderson
bebb82eb69 Implement longer-term fix for #1066 (see description)
- declare explict @types/react-router version
- update to newer aspnet-webpack-react that doesn't include the hacky
workaround since it's not needed if you have the correct
@types/react-router version

In a subsequent commit, will also shrinkwrap to pin all dependency
versions. This isn't strictly required right now, but is the right thing
for long-term stability.
2017-06-26 15:39:19 +01:00
Steve Sanderson
85bf621386 Merge branch 'rel/2.0.0-preview2-templates' into dev 2017-06-22 16:39:58 +01:00
Steve Sanderson
328eb0451b Remove NETStandard.Library.NETFramework from the templates 2017-06-22 16:39:35 +01:00
Steve Sanderson
bc7742148e Remove duplicate var definition as in #966 2017-06-21 15:06:07 +01:00
Steve Sanderson
460f202832 In React templates, update @types/react to 15.0.29 for compatibility with TypeScript 2.4.0+ 2017-06-20 15:17:19 +01:00
Sławomir Rosiek
48bca777fe Added "private": true to package.json 2017-06-19 15:04:42 +02:00
Mike Harder
3ef23ece23 Changed all references of PackageTargetFallback to AssetTargetFallback (#1035) 2017-06-14 15:47:11 -07:00
Steve Sanderson
68e84bac3f Update templates' ASP.NET dependencies to 2.0.0-preview2-final 2017-06-13 22:05:19 +01:00
Steve Sanderson
a38d3bdc4b Change NETStandard.Library.NETFramework reference to preview2-25405-01 for consistency with stock Web templates 2017-06-13 09:46:18 +01:00
Steve Sanderson
8e5f255346 Update templates to reference preview2-25661 2017-06-13 09:37:40 +01:00
Steve Sanderson
8396be24c8 Fix VS2017.3 warning about not specifying TypeScriptToolsVersion 2017-06-11 19:39:46 +01:00
Steve Sanderson
728b18431d In dotnet new templates, only show "npm install" instruction when executing in CLI 2017-06-11 19:28:51 +01:00
Steve Sanderson
9a59bccad9 If Node isn't installed, give clear instructions rather than random build errors 2017-06-10 14:11:20 +01:00
Steve Sanderson
bf6d2227db In dotnet new templates, display instruction to run "npm install" manually 2017-06-08 11:43:38 +01:00
danobri
bcaa3af92e Re-add bootstrap import
In the update to Angular 4, the bootstrap import got removed from boot.client.ts, causing the navbar-toggle menu to longer work in the template.  Re-adding so navbar-toggle is functional again.
2017-06-08 11:14:18 +01:00
Steve Sanderson
f3b7103c83 In AngularSpa template, redefine app.module.shared as a real NgModule. Fixes #986. 2017-06-08 11:08:36 +01:00
Steve Sanderson
0dd24068ca Update VS template name localisation IDs and texts as instructed 2017-06-08 10:38:00 +01:00
Steve Sanderson
0526852e05 Pin templates' .NET reference version numbers on Coherence 25571 in same way as stock Web templates do. This also fixes net461 support. 2017-06-08 10:33:27 +01:00
Steve Sanderson
60c8a3471d Enable localisation for template names/descriptions in VS 2017-06-07 22:53:55 +01:00
Steve Sanderson
c7b7f40d2c Update template package to support generating net461 projects as well as netcoreapp2.0 2017-06-07 22:27:43 +01:00
Steve Sanderson
e38399fbf4 Remove redundant explicit SpaServices references from templates now it's on the .All metapackage anyway 2017-06-07 14:58:54 +01:00
Steve Sanderson
75fd215b1a Change Microsoft.DotNet.Web.Spa.ProjectTemplates to use 1.0.0-preview-* version numbers since the first release will be 1.0.0 2017-05-25 13:06:42 +01:00
Steve Sanderson
38997c3f3f Pad build numbers so that alpha-sort produces correct ordering 2017-05-25 12:22:48 +01:00
Steve Sanderson
bee4c6ff11 Stop "dotnet new" from stripping out important parts of .csproj files 2017-05-25 12:08:10 +01:00
Steve Sanderson
cc859306a3 Make template package version numbers more descriptive 2017-05-25 12:08:09 +01:00
Steve Sanderson
44512226c6 Stop including prebuilt .js bundles with template packages, since they are now generated on first build 2017-05-25 12:08:09 +01:00
Steve Sanderson
a2bde750be Make templates auto-run webpack on Debug build if wwwroot/dist is not already present 2017-05-25 12:08:09 +01:00
Steve Sanderson
b86e9f9254 Change template description to be consistent with others in 2.0 2017-05-24 15:10:37 +01:00
Steve Sanderson
6baa2faf09 Split out built-in templates into new package Microsoft.DotNet.Web.Spa.ProjectTemplates 2017-05-24 14:47:23 +01:00
Steve Sanderson
918e7edbff Remove global.json files from templates for consistency with stock MVC template. 2017-05-23 17:05:42 +01:00
Steve Sanderson
e1c90b3601 Change "dotnet new" config choices to reference netcoreapp2.0 (not that it makes a difference when it's the only choice) 2017-05-23 11:20:04 +01:00
Steve Sanderson
b9e62cd4c9 Fix "dotnet new" postAction issues (and disable the "npm install" action) 2017-05-23 11:18:51 +01:00
Steve Sanderson
ad9cfbb176 Make quotes consistent 2017-05-23 10:08:41 +01:00
Steve Sanderson
941ae9a34d Add postActions to "dotnet new" templates 2017-05-23 10:06:35 +01:00
Steve Sanderson
a4512873f9 Update templates' SpaServices dependency to 2.0.0-* 2017-05-19 14:57:13 +01:00
Steve Sanderson
9e59ed4bc8 Put back <IsPackable>false</IsPackable> on template csproj files 2017-05-19 12:12:52 +01:00
Steve Sanderson
42b88c15f2 Make all templates as consistent as possible with stock MVC Core 2.0 one 2017-05-19 11:36:17 +01:00
Steve Sanderson
3ee16a5ba5 Update templates to .NET Core 2.0 (but not yet own package refs until they are built in CI) 2017-05-19 09:28:33 +01:00
Steve Sanderson
baae62132b Remove projects and packages obsoleted in v2 2017-05-18 13:52:58 +01:00
Steve Sanderson
244deca019 Update libraries and samples to .NET Core 2.0 2017-05-18 13:45:13 +01:00
Steve Sanderson
85e59efa21 Rename Angular2Spa to AngularSpa, plus rephrase "Angular 2" as "Angular" in many places 2017-05-18 13:40:58 +01:00
Steve Sanderson
a74b7aea6b Bump template package versions to 0.9.3 for release 2017-05-18 12:10:15 +01:00
Mads Kristensen
178a05cc33 Added missing Framework symbol 2017-05-17 22:25:37 +01:00
Steve Sanderson
33b275a7d3 Update ReactReduxSpa to latest versions of all dependencies, and pin to exact versions 2017-05-17 22:21:37 +01:00
Steve Sanderson
c9d235d425 Update ReactSpa to latest versions of dependencies, and pin to exact versions. Simplify some instructions. 2017-05-17 22:06:32 +01:00