Commit Graph

587 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
SteveSandersonMS
8c766c0382 Remove deprecated SourceMapDevToolPlugin (can use Webpack's built-in one with external source maps) 2016-10-21 09:22:35 +01:00
SteveSandersonMS
85b8f033da Temporarily use modified build system to see if it fixes CI issues. Also remove earlier attempted workaround. 2016-10-17 21:58:31 +01:00
SteveSandersonMS
6f44227917 Attempt to fix CI build issues 2016-10-17 19:35:28 +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
99bf212cce Make aspnet-webpack resilient against Webpack configs with nonstring entrypoints. Fixes #376. 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
a7ed0112db Publish redux-typed 1.0.1 2016-10-17 10:49:42 +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
1543595c01 Correct Windows path handling in new aspnet-webpack feature 2016-10-11 18:11:47 +01:00
SteveSandersonMS
3d77a21bc6 Publishing updated generator-aspnetcore-spa 2016-10-11 17:17:08 +01:00
SteveSandersonMS
ae0ffd4d11 Update package-builder to TS 2.0 and @types 2016-10-11 17:15:13 +01:00
SteveSandersonMS
0289f73a96 Fix the deployment issue caused by incorrectly referencing 'webpack-externals-plugin' when it should be 'webpack-node-externals' 2016-10-11 16:58:38 +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
a6d959b783 Publish updated aspnet-webpack 2016-10-11 16:12:27 +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
d20a72b812 In webpack dev middleware, after compilation, also write updated files to disk. This is needed for VS/VSCode debugger compatibility. 2016-10-11 15:56:06 +01:00
SteveSandersonMS
24773c8aa4 In aspnet-webpack, provide a SourceMapDevToolPlugin wrapper that strips out "charset=utf-8;" from inline source map URLs to enable VS debugger compatibility 2016-10-11 15:56:05 +01:00
SteveSandersonMS
6c645879a8 Publish updated aspnet-webpack 2016-10-10 13:20:54 +01:00
SteveSandersonMS
d5055dbaf3 Make the fix for #365 not be a breaking change (at least, for the considerable majority of aspnet-webpack users) 2016-10-10 12:36:52 +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
93779a5e46 aspnet-webpack configures HMR to point directly to http://localhost:<port>/__webpack_hmr instead of proxying via /__webpack_hmr. This is because IE/Edge doesn't honour CORS headers properly following redirects (returns "Network Error 0x80004004"). This could be avoided if we could reverse-proxy to __webpack_hmr (waiting for https://github.com/aspnet/KestrelHttpServer/issues/1139) 2016-10-10 12:00:56 +01:00
Brad Christensen
4fc1d60d67 Remove cancellationToken parameter as the method is no longer async 2016-10-05 17:14:15 +01:00
Brad Christensen
1d76284e25 Serialize node invocationInfo JSON directly to stream to avoid running out of memory
Fixed only for SocketNodeInstance, as it deals nicely with streams. Previously ~30MB of JSON text and 32-bit IIS Express would result in an OutOfMemoryException at the GetBytes method, which is now fixed by writing the JSON string directly to the stream and not handling it as a string in between.
2016-10-05 17:14:15 +01:00
SteveSandersonMS
c33b227331 Update redux-typed to use TS 2.0 and @types 2016-10-05 14:37:13 +01:00
SteveSandersonMS
02315b41c0 Update angular2-aspnet to use TS 2.0 and @types 2016-10-05 14:34:29 +01:00
SteveSandersonMS
4e291130a0 Update domain-task to use TS 2.0 and @types 2016-10-05 14:30:22 +01:00
SteveSandersonMS
7f257e86e3 Update aspnet-webpack-react to use TS 2.0 and @types 2016-10-05 14:12:01 +01:00
SteveSandersonMS
5c0505440d Update aspnet-webpack to use TS 2.0 and @types 2016-10-05 14:07:25 +01:00
SteveSandersonMS
f13c2595b8 Update aspnet-prerendering to use TS 2.0 and @types 2016-10-05 13:58:55 +01:00
SteveSandersonMS
bc42e598f9 Update NodeServices TypeScript compilation to use @types 2016-10-05 13:58:55 +01:00
Korneel
a0ebab1f28 Update Dockerfile
The app doesn't run in Docker on base image `microsoft/dotnet:latest` because Microsoft.NETCore.App 1.0.1 isn't installed. Only 1.0.0 is installed. The app runs fine on base image `microsoft/dotnet:1.0.0-preview2-onbuild`.
2016-10-05 12:18:58 +01:00
SteveSandersonMS
ff396377b9 Fix some issues when building with Korebuild. Also make it build the project templates. 2016-10-05 10:59:24 +01:00
SteveSandersonMS
81d96766ee domain-task also needs TypeScript 2+ because of whatwg-streams 2016-10-05 10:22:20 +01:00
SteveSandersonMS
17801a3c16 aspnet-prerendering now needs newer TypeScript to build, because on of its dependencies (whatwg-streams) does 2016-10-05 10:20:08 +01:00
SteveSandersonMS
0234b44355 In build scripts, use local rimraf package 2016-10-05 10:15:19 +01:00
SteveSandersonMS
18e8b7101c In aspnet-webpack, allow webpack-hot-middleware/client to be added manually with options. Fixes #353 2016-10-04 11:36:10 +01:00
SteveSandersonMS
6126c4d480 In Angular2Spa, move tsconfig.json back to root. Fixes #346. 2016-10-04 11:11:58 +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
42e88f7fc4 Keep a copy of the NuGet binary in the repo, as it's needed for building the dotnetnew templates 2016-09-29 10:20:13 +01:00
SteveSandersonMS
8968a24041 Publishing updated generator-aspnetcore-spa package 2016-09-29 10:17:22 +01:00
SteveSandersonMS
0a961a7bd0 Updated ReactReduxSpa template to match current patterns 2016-09-28 17:43:22 +01:00
SteveSandersonMS
a9ce762827 Update project.json in KnockoutSpa and ReactSpa 2016-09-28 16:28:22 +01:00
SteveSandersonMS
0d34dba4fd In ReactSpa, fix HMR warning and correctly minify React for production 2016-09-28 15:25:15 +01:00
SteveSandersonMS
808592d3a0 Update ReactSpa template to match current patterns 2016-09-28 15:07:17 +01:00
SteveSandersonMS
d1228dc26a Update KnockoutSpa template to match current patterns 2016-09-28 15:04:54 +01:00
SteveSandersonMS
09b4135217 Further workarounds for https://github.com/dotnet/cli/issues/1396 2016-09-28 13:12:59 +01:00