Commit Graph

55 Commits

Author SHA1 Message Date
SteveSandersonMS 0615578d9a Switch from inline to external source maps. This avoids several problems with inline source maps in VS 2015 (at least as of Update 3). 2016-10-21 10:10:20 +01:00
Mike Mazmanyan 3760d3724d removing usage of deprecated httpPlatformHandler
httpPlatformHandler is changed with aspNetCore handler in IIS
2016-10-17 11:51:01 +01:00
SteveSandersonMS 418255e148 Exclude node_modules from .NET compilation. Fixes #378. 2016-10-17 11:51:01 +01:00
Mark Pieszak f6d7321243 Update remaining templates to TypeScript 2 / @types / etc. 2016-10-17 11:50:31 +01:00
SteveSandersonMS f26068b62b Temporarily disable use of SourceMapDevToolPlugin wrapper as it might be possible to remove it shortly 2016-10-11 19:04:17 +01:00
SteveSandersonMS 6a9b7accce Update Dockerfiles to use Node 4.x (was using 0.x). Fixes #373 2016-10-11 16:50:03 +01:00
SteveSandersonMS 30a694450c Make source maps compatible with VS/VSCode debugging (fix file paths, and strip out the "charset=utf-8;" segments from inline sourceMappingURLs) 2016-10-11 16:11:12 +01:00
SteveSandersonMS 3568476cca aspnet-webpack auto-loads 'event-source-polyfill' on client when HMR is enabled. This requires 'event-source-polyfill' to be included in the client-side bundle, so it's also now added to all the templates' vendor bundles. Fixes #365. 2016-10-10 12:24:07 +01:00
SteveSandersonMS 53889c0fc1 Template updates as per Eilon's comments 2016-09-29 12:05:29 +01:00
SteveSandersonMS 5f070daac8 In KnockoutSpa template, fix handling clicks on descendants of A elements. Fixes #273. 2016-09-29 11:04:22 +01:00
SteveSandersonMS 3270e28b3d Slight clean-up in KnockoutSpa's boot code 2016-09-29 10:58:41 +01:00
SteveSandersonMS a9ce762827 Update project.json in KnockoutSpa and ReactSpa 2016-09-28 16:28:22 +01:00
SteveSandersonMS d1228dc26a Update KnockoutSpa template to match current patterns 2016-09-28 15:04:54 +01:00
SteveSandersonMS b71d139eb5 Update xproj files to reference dotnet build tooling 2016-09-15 14:36:42 +01:00
SteveSandersonMS 7c316d5c74 Update to ASP.NET Core 1.0.1. Fixes #309 2016-09-14 11:36:53 +01:00
SteveSandersonMS b4bec30b0f Clean up dependencies vs devDependencies in templates 2016-09-09 11:31:36 +01:00
SteveSandersonMS 0bcf4b0700 Further work on fix for #235 (solving additional problem that 'npm publish' is hardcoded to exclude node_modules dirs) 2016-09-08 15:58:47 +01:00
SteveSandersonMS 5fcce843ba Workaround to fix #235 (add placeholder inside node_modules) 2016-09-08 14:32:25 +01:00
SteveSandersonMS 09e1cd3b07 TS compiler should ignore "bin" dir because, after VS publish, it might contain duplicates of the app's source files. Fixes #279. 2016-09-01 13:59:28 +01:00
SteveSandersonMS 1ce8a2215c In ReactSpa, use isomorphic-fetch for IE/Edge compatibility 2016-08-19 01:40:35 +01:00
SteveSandersonMS 48eb2b7a05 In KnockoutSpa, use isomorphic-fetch for IE/Edge compatibility 2016-08-19 01:08:57 +01:00
Mark Pieszak 89034b59c5 Change to mix import/require style 2016-08-18 12:21:36 -07:00
Mark Pieszak 9e714b61fe Bug(KnockoutSpa): Router TS issue
TS erroring out (unable to build) due to `crossroads.normalizeFn = crossroads.NORM_AS_OBJECT;` <-- left hand assignment

```
ERROR in ./ClientApp/router.ts
(21,9): error TS2450: Left-hand side of assignment expression cannot be a constant or a read-only property.
```
2016-08-18 12:21:36 -07:00
Aidan Steele a631f77a33 Copy only project.json before dotnet restore in Dockerfile templates 2016-08-04 17:49:50 +10:00
Aidan Steele cf1a127e7d Perform nodejs installation before COPY in Dockerfile templates 2016-08-04 17:49:40 +10:00
SteveSandersonMS 0a3463031b Add Node.js support in all the Docker containers 2016-07-27 13:09:54 +01:00
SteveSandersonMS e9ca434405 Update all templates to match latest "yo aspnet" output 2016-07-27 12:25:32 +01:00
SteveSandersonMS 698921d157 Update Dockerfile in all templates to match .NET Core 1.0 RTM. Fixes #120 2016-07-27 10:43:16 +01:00
Mike Mazmanyan 64a8ef1112 Moving and updating "aspnet-webpack" package in templates (#207) 2016-07-26 14:44:07 +01:00
SteveSandersonMS f4afb25a2d Set ts-loader to "silent" mode until there's a fix for https://github.com/TypeStrong/ts-loader/issues/249 2016-07-18 16:54:52 +01:00
SteveSandersonMS 01d5c90e23 Include Microsoft.DotNet.Watcher.Tools in templates. Fixes #157 2016-07-07 15:47:48 +01:00
SteveSandersonMS 7ce5f8d4ad Remove trailing whitespace in KO template 2016-07-06 11:18:22 +01:00
SteveSandersonMS f1325d0cf2 Update 'templates' projects for .NET Core 1.0 RTM 2016-06-28 11:51:45 +01:00
SteveSandersonMS ce6cdfd2bc Templates should also publish node_modules, since it's used at runtime 2016-06-22 13:47:44 +01:00
SteveSandersonMS 7ddd4cacec Amend all templates' project.json files to match current "yo aspnet" template content (plus the SPA-specific stuff) 2016-06-22 13:14:00 +01:00
SteveSandersonMS 73879918d4 Add web.config to all templates (matching "yo aspnet" output) 2016-06-22 12:52:56 +01:00
SteveSandersonMS 6848e3a11d Fix templates' project.json scripts for compatibility with dotnet RC2 tooling and Azure 2016-06-22 12:48:54 +01:00
SteveSandersonMS d3ded5bbdf Workaround for Yeoman generators not producing .gitignore files due to Yeoman issue #1862 2016-06-22 11:00:06 +01:00
SteveSandersonMS 60e4e3a3f3 Rename NodeServices.sln to JavaScriptServices.sln 2016-05-18 23:12:34 +01:00
SteveSandersonMS 352108be35 Update all projects for final .NET Core RC2 2016-05-17 11:56:06 +01:00
SteveSandersonMS d1964f087d Change from netstandardapp1.5 to netcoreapp1.0 everywhere 2016-05-04 15:26:14 -07:00
SteveSandersonMS 999641c4c2 Remove 'UseDefaultHostingConfiguration' references, as the API no longer exists and is not strictly needed 2016-05-04 13:16:13 -07:00
SteveSandersonMS 6980b2fe81 Simplify some .gitignore patterns for compatibility with gitignore-parser 2016-05-02 13:14:27 -07:00
SteveSandersonMS 13beb7cf27 Add local pack script. Remove dnx451 framework references. May add back later if needed. 2016-05-02 13:13:49 -07:00
SteveSandersonMS 25c728f885 Change all Microsoft.AspNet.* namespaces and references to Microsoft.AspNetCore.* 2016-05-02 13:13:49 -07:00
SteveSandersonMS 1468db1ba6 Update KnockoutSpa template to RC2 2016-05-02 13:13:48 -07:00
SteveSandersonMS 73caae2b78 Replace all references to ASPNET_ENV with ASPNETCORE_ENVIRONMENT 2016-05-02 13:13:48 -07:00
SteveSandersonMS 5743d312c2 Improve VS compatibility using <TypeScriptCompileBlocked> in .xproj files 2016-04-29 17:33:31 +01:00
SteveSandersonMS 6a325f8cc4 Clean up versions of referenced packages 2016-04-14 15:14:26 +01:00
SteveSandersonMS dfc2f9503b Simplify KnockoutSpa template using new aspnet-webpack package 2016-03-11 00:35:18 +00:00