Commit Graph

587 Commits

Author SHA1 Message Date
SteveSandersonMS
7c316d5c74 Update to ASP.NET Core 1.0.1. Fixes #309 2016-09-14 11:36:53 +01:00
SteveSandersonMS
b72435c5cc Yeoman generator support for optional --projectguid=... CLI argument 2016-09-13 13:57:23 +01:00
SteveSandersonMS
7f841ff840 In Yeoman generator, support passing args from command line (e.g., --framework=angular-2) 2016-09-13 13:44:51 +01:00
SteveSandersonMS
80f740a9ed Revert "Webpack HMR EventSource requests are now proxied (rather than redirected) to the local HMR server" because of 'ECANCELED'/'EPIPE broken pipe' issues. Awaiting feedback from Kestrel team. 2016-09-13 12:51:23 +01:00
SteveSandersonMS
f071590fce Webpack HMR EventSource requests are now proxied (rather than redirected) to the local HMR server. Fixes #271. 2016-09-09 16:31:15 +01:00
SteveSandersonMS
bc2de2ad59 In aspnet-webpack HMR, don't rely on assumption that entry point is called 'main'. Fixes #289. 2016-09-09 13:21:31 +01:00
SteveSandersonMS
605090e909 Publish updated version of aspnet-webpack as 1.0.10 2016-09-09 11:37:57 +01:00
Erik Medina
67f7e7450f Adding tsd to dev dependencies in aspnet-webpack.
Adding tsd to aspnet-webpack's dev dependencies to allow the package's npm prepublish script to succeed without a global tsd install.
2016-09-09 11:34:43 +01:00
Erik Medina
da662c55fa Make webpack dev dependency a peer dependency in aspnet-webpack.
Moving webpack from a dev dependency to a peer dependency makes the dependency soft and allows the webpack-dev-middleware to pickup the version of webpack being used by the consumer of the package.
2016-09-09 11:34:43 +01:00
SteveSandersonMS
b4bec30b0f Clean up dependencies vs devDependencies in templates 2016-09-09 11:31:36 +01:00
SteveSandersonMS
28550784ed ReactReduxSpa's boot-server now supports redirections issued by react-router 2016-09-09 11:12:59 +01:00
SteveSandersonMS
1be9102aea Prerendering server-side code can now issue redirections. Fixes #280 2016-09-09 11:09:44 +01:00
SteveSandersonMS
c2c45b04df In preparation for supporting redirections, aspnet-prerendering now passes through all boot func resolution props to .NET code 2016-09-09 11:06:36 +01:00
Steve Sanderson
874575ba92 Fix instructions for running samples. Fixes #301 2016-09-09 09:44:16 +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
5750c4aab7 Publish updated generator-aspnetcore-spa package (0.2.5) 2016-09-08 14:44:37 +01:00
SteveSandersonMS
5fcce843ba Workaround to fix #235 (add placeholder inside node_modules) 2016-09-08 14:32:25 +01:00
SteveSandersonMS
1f2168949d Publish updated aspnet-prerendering NPM package 2016-09-08 12:56:46 +01:00
SteveSandersonMS
4ca1669db1 Prerendering imposes its own (overridable) timeout with descriptive error 2016-09-08 12:56:05 +01:00
SteveSandersonMS
411100478a Fix double-encoding typo 2016-09-08 12:14:45 +01:00
SteveSandersonMS
041d173f56 All NodeServices invocations now have a default timeout, plus a descriptive exception if that happens 2016-09-08 12:08:42 +01:00
SteveSandersonMS
2799861296 Support cancellation of NodeServices invocations 2016-09-08 10:56:50 +01:00
SteveSandersonMS
f358d8e2b2 In HttpNodeInstance, correctly report response serialisation errors back to .NET (previously, it just timed out) 2016-09-07 17:59:13 +01:00
SteveSandersonMS
465d0c8d15 Design review: Explicitly disable TypeNameHandling in all Json.NET usage 2016-09-07 17:12:01 +01:00
Steve Sanderson
377401b5e6 Update README to clarify that you need .NET Core 1.0 RTM 2016-09-07 14:00:09 +01:00
SteveSandersonMS
03dcae2407 Simplify docs 2016-09-01 17:52:26 +01:00
SteveSandersonMS
f0d954b2a6 Design review: Change AddNodeServices to take an Action<NodeServicesOptions> like other aspects of MVC DI config 2016-09-01 17:46:59 +01:00
SteveSandersonMS
f04fb8c421 Design review: Always instantiate via DI 2016-09-01 15:51:53 +01:00
SteveSandersonMS
61fd900974 Add missing setup step to docs. Fixes #290. 2016-09-01 14:10:42 +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
4effd630a4 Fix typos 2016-09-01 12:42:12 +01:00
SteveSandersonMS
7f5810a622 Add docs about configuring Webpack to build LESS/SASS 2016-09-01 12:36:47 +01:00
SteveSandersonMS
eed4d8c211 Child Node processes poll and exit when parent has exited. Fixes #270 2016-08-19 16:38:39 -07: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
SteveSandersonMS
5bc47aacd8 Tweaks to .xproj files made automatically by VS 2016-08-19 01:08:09 +01:00
SteveSandersonMS
22da55a473 Bump generator-aspnetcore-spa package version 2016-08-18 14:07:53 -07:00
SteveSandersonMS
a4e3360e65 Bump aspnet-webpack-react package version 2016-08-18 14:07:11 -07:00
SteveSandersonMS
0a0afed84b Add comment about why the 'actions' property is being patched on 2016-08-18 13:57:49 -07:00
Geir Sagberg
0ad0483935 Update aspnet-webpack-react to React 15
^15.0.0 is enough

Update ReactGrid example to work with newest Griddle version

Several fixes to stop build.sh from failing
2016-08-18 13:50:22 -07:00
SteveSandersonMS
6d8767d141 Tweak WebpackDevMiddleware.cs to avoid unnecessary Task.Yield() 2016-08-18 13:49:20 -07: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
SteveSandersonMS
d928ef4f12 Rename folders since the template package generator now creates a package for "dotnet new" as well as Yeoman 2016-08-18 10:58:04 -07:00
SteveSandersonMS
1019026943 Build NuGet package containing dotnetnew templates 2016-08-18 10:48:13 -07:00
SteveSandersonMS
098159998d Add ability to configure environment variables for Node instances, plus auto-populate NODE_ENV based on IHostingEnvironment when possible. Fixes #230 2016-08-16 16:26:07 -07:00
SteveSandersonMS
56cb898bde Rename PrimeCache to PrimeCacheAsync (keeping older name as obsolete overload). Fixes #246. 2016-08-16 13:57:37 -07:00
SteveSandersonMS
c53bd8f8f6 Prerenderer now passes original (unescaped) URL to Node - fixes #250 2016-08-16 11:44:55 -07:00
SteveSandersonMS
0d0d25b032 In WebpackDevMiddleware, allow configuration of ProjectPath (implements #262) 2016-08-15 14:40:38 -07:00
Aaron Powell
2a6465b27a FIxing path separator to address #247 (#248)
* Correcting path separator to ;

* Using the proper API from System.IO to get path separator
2016-08-08 10:54:22 +10:00