Commit Graph

429 Commits

Author SHA1 Message Date
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
Steve Sanderson 48b923fcd5 Update ReactReduxSpa to React Hot Loader 3, and remove Babel dependency 2017-05-17 21:51:13 +01:00
Steve Sanderson eeaf4e6590 Update ReactSpa to React Hot Loader 3. Remove babel dependency. 2017-05-17 21:37:47 +01:00
Steve Sanderson e658ee6375 Simplifications in ReactSpa and ReactReduxSpa 2017-05-17 14:46:37 +01:00
Keven van Zuijlen 785e7d48a2 Implemented react-router v4 to ReactRedux template 2017-05-17 14:46:37 +01:00
Keven van Zuijlen c791ceee49 Updatged package.json and webpack vendor config 2017-05-17 14:46:37 +01:00
Keven van Zuijlen d2c56d19d0 Implemented react-router-dom v4 2017-05-17 14:46:37 +01:00
Keven van Zuijlen 7a11cf97fd Updated react-router to react-router-dom 4.0.0 2017-05-17 14:46:37 +01:00
Steve Sanderson 84aec29cf2 Bump template package versions to 0.9.2 for publish 2017-05-17 14:27:11 +01:00
Steve Sanderson 4e847f4545 Reference icon in vs-2017.3.host.json files 2017-05-17 11:10:29 +01:00
Steve Sanderson ca9c6387d0 Add template icons 2017-05-17 11:10:29 +01:00
Mads Kristensen d7a3289164 Outputs vs-2017.3.host.json file
This should now write out the correct file for VS to pick up. The icon is missing since I'm not totally sure about how we should inject that into the _.template.config_ folder. Also, is there a description of each template we can use?
2017-05-17 11:10:29 +01:00
Steve Sanderson 5ade33b870 Update to Angular 4 (but leave directory name as Angular2Spa until finished) 2017-05-17 10:13:46 +01:00
Steve Sanderson 1d57ca384f Remove vue-class-component dependency, because we're only referencing vue-property-decorator directly 2017-05-12 10:25:38 +01:00
ferrx 9d58c8836b Switched from av-ts to vue-property-decorator and vue-class-component 2017-05-12 10:20:06 +01:00
Stephan f2260d572f Templates: update React's component's State and Property type 2017-05-05 17:37:47 +01:00
Steve Sanderson 214a908c92 Temporarily pin React to 15.4.x, because 15.5.0 has conflict with Babel (Babel injects code that tries to evaluate PropTypes) 2017-05-05 16:23:16 +01:00
Steve Sanderson 4abc39faa0 Bump generator-aspnetcore-spa to 0.9.1 for release 2017-05-04 19:53:49 +01:00
Steve Sanderson 15ceec0b3f Have templates declare dependency on SpaServices 1.1.1 2017-05-04 14:15:16 +01:00
Steve Sanderson cbaeb1c055 Fix ReactReduxSpa build issue. Fixes #859 and #878 2017-05-04 13:17:24 +01:00
Steve Sanderson 018a3e65ff Put back "name" in AureliaSpa package.json because this is auto-replaced during template evaluation 2017-05-04 12:41:30 +01:00
Steve Sanderson e3a8c13c22 Make Aurelia webpack config as consistent as possible with the other templates 2017-05-04 12:36:25 +01:00
Meirion Hughes 37df30929c Update Aurelia SPA template 2017-04-13 20:54:56 +01:00
Erick Galassi ea429cccf4 Minimize CSS in production builds (all templates) 2017-04-11 14:51:31 +01:00
Steve Sanderson 5dc476182c Reference bootstrap JS in KnockoutSpa/ReactSpa/VueSpa. Fixes #846 2017-04-07 15:48:20 +01:00
Steve Sanderson b9c387bf5f Remove obsolete references from gitignore files. Fixes #818 and #819. 2017-03-29 10:33:29 +01:00
Dan Harman 365b2c50cb Added babel-loader caching to improve subsequent build times. (#777) 2017-03-22 10:28:26 +00:00
Steve Sanderson efcfc0b9a6 Bump template packages to 0.9.0 for release 2017-03-15 17:04:55 -07:00
Steve Sanderson 68e27d6091 In Yeoman generator, assert dotnet is >= 1.0.0, and set detected version in global.json 2017-03-15 17:04:20 -07:00
Steve Sanderson 08ea344fcf Remove project.json-specific content from all the SPA templates 2017-03-14 17:23:08 -07:00
Steve Sanderson a6e0955581 In Yeoman/dotnetnew generators, remove support for producing project.json projects 2017-03-14 17:09:33 -07:00
Steve Sanderson d8143e2603 Update Yeoman package README 2017-03-14 17:07:42 -07:00
Mark Thiessen 3077b8a8c0 Modifies babel config to allow for webpack tree shaking 2017-03-13 11:20:05 -07:00
Steve Sanderson 5866713a05 Remove style-loader from vendor bundles. Fixes #715. 2017-03-13 11:11:38 -07:00
Steve Sanderson 7aacf2151c Bump templates packages versions to 0.8.7 for release 2017-03-13 09:55:48 -07:00
Steve Sanderson e4623bb186 Add Vue template to Yeoman generator 2017-03-13 09:32:02 -07:00
Steve Sanderson 59e09816c7 Fix typos (etc) in description on homepage 2017-03-13 09:25:23 -07:00
Steve Sanderson c3ad9e8c2f Remove Vue template server-side prerendering because of limitations 2017-03-13 09:25:23 -07:00
Steve Sanderson 119b274c19 Add server-side rendering (via bundleRenderer, as this is what the Vue docs recommend, and apparently the only way it does encapsulation) 2017-03-13 09:25:23 -07:00
Steve Sanderson 360688f78b Add Vue template 2017-03-13 09:25:23 -07:00
Maciej Lelito 0a1ac6a70a Added missing import in boot.ts in Aurelia template 2017-03-10 13:58:32 +00:00
Kyle Summers 8d27d9d583 Updates Aurelia project url (#741)
aurealia.io doesn't appear to support https currently
2017-03-10 13:36:37 +00:00
Nate McMaster 3058c050bb Unify dependency versions across all non-template projects 2017-03-01 09:28:11 +00:00
Steve Sanderson a79bc75671 Migrate to csproj (#703)
Migrate to csproj
2017-02-28 09:17:35 +00:00
Steve Sanderson 795aac241e Bump templates package versions to 0.8.6 for release 2017-02-23 10:23:34 +00:00
Steve Sanderson a38db81b71 Templates that were waiting for awesome-typescript-loader 3.0.0 to ship no longer need to wait - it has shipped 2017-02-23 10:14:37 +00:00
Steve Sanderson 689f106181 Update templates to TypeScript 2.2.1 and fix whatwg-fetch related errors. Fixes #705 2017-02-23 10:07:03 +00:00
Steve Sanderson 3162946139 In ReactReduxSpa, configure store before matching routes. Fixes #663 2017-02-21 16:56:35 +00:00
Steve Sanderson c9526dd4d2 Remove Dockerfiles for consistency with other templates. Also fixes #694 2017-02-21 16:18:25 +00:00
SteveSandersonMS 3c2fd50e8f Add fields to dotnet new NuSpec file 2017-02-13 16:38:56 +00:00
SteveSandersonMS 5a593d657d Bump generator-aspnetcore-spa to 0.8.5 2017-02-13 15:44:49 +00:00
SteveSandersonMS 5a67ca35be Add 'primaryOutputs' to dotnet new template.json files (and reorder JSON properties alphabetically) 2017-02-13 15:28:12 +00:00
SteveSandersonMS 72dabb3664 After building "dotnet new" package, put it in "artifacts" dir 2017-02-13 15:06:41 +00:00
SteveSandersonMS b7314359c8 When building "dotnet new" templates, always prebuild and include client-side 'dist' files for all templates, because dotnet new can't run arbitrary post-generation steps 2017-02-13 14:59:43 +00:00
SteveSandersonMS 1bf283877e More updates to "dotnet new" template to produce correct template.json values 2017-02-13 14:42:47 +00:00
SteveSandersonMS 1115a0aff5 Fix package.json files in Angular2Spa and AureliaSpa to have replaceable name (not hardcoded as Angular2Spa, etc.). Other templates were already set up like this. 2017-02-13 14:38:44 +00:00
SteveSandersonMS 70ad900f59 Further update dotnet new template builder to produce correct template.son contents 2017-02-13 14:05:36 +00:00
SteveSandersonMS fadc5d7b98 Update dotnet new template builder to match tooling preview 4 file structure 2017-02-13 13:12:44 +00:00
SteveSandersonMS 85dcc66723 Update the version of NuGet.exe used when building "dotnet new" templates to v4 (rc) 2017-02-13 13:07:24 +00:00