Commit Graph

34 Commits

Author SHA1 Message Date
Steve Sanderson b1ccc31ccf Update SPA template identifiers to end with ".2.1". Fixes #230 2018-01-24 23:02:22 +00:00
Jass Bagga 767a857635
Set CompatibilityVersion for templates (#240)
Addresses #235
2018-01-18 16:11:09 -08:00
Steve Sanderson 22da82ff8a Sync remaining Angular-CSharp changes from OOB release into dev branch 2018-01-04 11:10:35 +00:00
Steve Sanderson 0d9f17211f Fix @angular/platform-server version in package-lock.json 2018-01-04 11:01:28 +00:00
Steve Sanderson 27878265bc Update Angular template to Angular CLI 1.6.3, plus switch it from npm-shrinkwrap.json to package-lock.json 2018-01-04 11:01:01 +00:00
Scott Addie 323453129d Remove yarn.lock file entry from .gitignore files 2018-01-02 16:16:47 +00:00
Javier Calvarro Nelson 8c94d27d6a [Fixes #181] Go back to server selected listening ports. 2017-12-28 19:00:29 -08:00
Jass Bagga 886a985726 Target netcoreapp2.1 2017-12-28 17:01:30 -08:00
Jass Bagga eb74ea32f1
Add app.config to net 4.x templates (#191)
Addresses #73
2017-12-13 11:12:12 -08:00
Javier Calvarro Nelson 4d2e642b94 Add launchSettings.json by default to our templates
* Adds launchSettings.json to all of our templates.
* Provides an alternative flag to exclude it.
* Adds HTTPS support in launchSettings.json.
* Re-adds HTTPS redirect and HSTS middleware for C# templates.
* Improves some infrastructure aspects:
    * Prefix all our test projects with AspNet.Template to allow easy
      killing of orphaned processes.
    * Setup an HTTPS certificate automatically for use with tests in the
      same way our tooling does it on customers machines.
    * Switch from OS selected ports to randomly selected ports. This is
      required as we need to know the port to use for HTTPS.
    * Allow disabling browser automation through an environment variable.
    * Setup Firefox to allow untrusted certificates when using Selenium.
    * Allow running Selenium tests on firefox by setting an environment
      variable.
2017-12-08 13:08:36 -08:00
Steve Sanderson 40603f1566 In Angular template, make nav button collapsing work (without importing all bootstrap.js scripts) 2017-11-23 12:22:58 +00:00
Steve Sanderson 77afab3b58 In Angular template, add --output-hashing=media to build:ssr as it's needed for 1.5.4 prod builds 2017-11-23 11:49:04 +00:00
Steve Sanderson bf6942e616 For Angular CLI 1.5.4 compatibility, build SPA to ClientApp/dist and serve its static files from there 2017-11-23 11:49:01 +00:00
Steve Sanderson c517ad3f65 For Angular template, update to @angular/cli 1.5.4 equivalent output 2017-11-23 10:38:31 +00:00
Steve Sanderson 7fe5fe2393 Remove "--output-hashing=media" from Angular package.json as it's no longer needed 2017-11-22 17:28:13 +00:00
Steve Sanderson 505ebcf1e6 Update to newer Angular SSR APIs to support AoT-enabled builds 2017-11-22 15:18:52 +00:00
Steve Sanderson f79fa6e110 Remove remaining references to HttpsPolicy until it's ready 2017-11-20 10:13:24 +00:00
Justin Kotalik 9d9daa8db7
Removes Https middlewares from templates (#157) 2017-11-17 11:02:10 -08:00
Steve Sanderson 2623b50695 Update info on SPA template home components 2017-11-17 16:43:38 +00:00
Steve Sanderson 993655a7af Remove SPA templates' instruction to run "npm install" manually, since that's now automatic 2017-11-17 16:22:35 +00:00
Steve Sanderson 1d9585b69d Replace Angular, React, ReactRedux templates with new CLI based ones 2017-11-16 13:48:17 +00:00
Nate McMaster aee0d26d67 Merge build infrastructure changes from rel/2.0.3
Changes:
- Replaces PackageLineup with the dependencies.props approach to manage package versions.
- Generate the csproj/fsproj files that go into template packages
- Remove the DependencyUpdater and PullRequestSubmitter tasks
- Remove bower.json and bowerrc from Microsoft.DotNet.Web.ProjectTemplates
- Set MyGet feeds via MSBuild instead of NuGet.config
- Upgrades to the functional tests
- Update Selenium
- Make it possible to run tests on macOS/linux
- Disable test parallelization
2017-11-06 16:06:24 -08:00
Justin Kotalik 06bff32f4e
Fix missed reorder of HttpsRedirection calls in spa templates (#140) 2017-11-01 12:52:10 -07:00
Justin Kotalik 36fe9b40ef
Adds Hsts and HttpsRedirection to spa templates (#137) 2017-11-01 11:00:13 -07:00
Javier Calvarro Nelson f005434e87 Update templates to support the new pattern used for integration tests 2017-10-27 08:56:46 -07:00
Nate McMaster 4984b2da89 Generate the MSBuild files instead of the template.json files to workaround localization issues in the tempalting engine 2017-10-26 16:13:01 -07:00
Nate McMaster 5541615008 Automate dependency version selection
- Generate the template config file to include package versions as listed in dependencies.props
 - Update template cs/fsproj files to use variables per package
 - Fixup tests to run better on Linux/macOS
2017-10-12 16:44:55 -07:00
Pavel Krymets e5a9bd3dd7 Remove IncludeScopes from logger configurations 2017-09-21 14:06:07 -07:00
Steve Sanderson df699bf7b2 Update all SPA projects to use 2.1.x dependencies 2017-09-11 16:20:23 +01:00
Steve Sanderson 28ed6ea7d8 Simplify template dependency configuration 2017-09-11 16:19:22 +01:00
Steve Sanderson 692faf10ac Correct all the 2.0 projects to reference 2.0 dependencies, not 2.1.0-* 2017-09-11 15:40:03 +01:00
Steve Sanderson c972aed96b Add a convenient way to manually override all templates' package dependency versions, e.g., when branching for a release 2017-09-11 13:33:02 +01:00
Steve Sanderson eece782496 Make template nuspecs consistent. Include SPA template packages projects in solution. 2017-09-05 11:37:39 +01:00
Steve Sanderson 039de8cd13 Copy SPA template packages from aspnet/javascriptservices repo 2017-09-05 11:02:39 +01:00