SteveSandersonMS
fadcb586c6
Support specifying environment variables for the Webpack dev middleware Node instance. Resolves #311 .
2016-11-07 12:29:01 -08:00
SteveSandersonMS
2c97326721
In domain-task, avoid use of "new Function" because of CSP. Fixes #345
2016-11-07 12:21:02 -08:00
SteveSandersonMS
7ee8a7b15e
Update aspnet-webpack peerDependency to allow Webpack 2.1.0beta+ as well as Webpack 1.x
2016-10-31 17:14:29 +00:00
SteveSandersonMS
64903fe0c6
Fix aspnet-webpack build on machines that don't already have `tsd` in the node_modules dir here
2016-10-31 16:49:37 +00:00
SteveSandersonMS
077f91847a
Fix AngularServices NPM package dependency restoration following third-party package changes
2016-10-31 16:35:06 +00:00
SteveSandersonMS
da51cd588b
In WebpackDevMiddleware, when copying files, create any needed subdirectories. Fixes #408 .
2016-10-31 10:49:31 +00:00
SteveSandersonMS
867e60d7fd
Take dependency on newer webpack-dev-middleware because it fixes ambiguities in path handling
2016-10-28 10:56:19 +01:00
SteveSandersonMS
3dc9ac979c
Add docs note about TypeScriptCompileBlocked as requested in #399
2016-10-24 10:26:00 +01:00
SteveSandersonMS
d858c09b7b
Minor doc tweaks
2016-10-21 15:17:28 +01:00
SteveSandersonMS
ca6acc807d
Attempt to fix headings in docs
2016-10-21 15:12:50 +01:00
SteveSandersonMS
8285bb0c74
Some extra links in docs
2016-10-21 15:10:30 +01:00
SteveSandersonMS
75abf1a2ab
Add docs about debugging
2016-10-21 15:09:04 +01:00
SteveSandersonMS
496338ccca
Publish redux-typed 2.0.0 which depends on TypeScript 2.0 for usage (its .d.ts files use the "/// <reference types="..." />" syntax)
2016-10-21 10:37:05 +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
99bf212cce
Make aspnet-webpack resilient against Webpack configs with nonstring entrypoints. Fixes #376 .
2016-10-17 11:51:01 +01:00
SteveSandersonMS
a7ed0112db
Publish redux-typed 1.0.1
2016-10-17 10:49:42 +01:00
SteveSandersonMS
1543595c01
Correct Windows path handling in new aspnet-webpack feature
2016-10-11 18:11:47 +01:00
SteveSandersonMS
a6d959b783
Publish updated aspnet-webpack
2016-10-11 16:12:27 +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
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
46966322b7
In LoadViaWebpack, account for CSS/font/etc files referenced with URLs that have a querystring. Fixes #335 .
2016-09-28 10:04:16 +01:00
SteveSandersonMS
adf4732191
Make aspnet-webpack and SpaServices both back-compatible with older versions of the other, in case people don't upgrade both at the same time
2016-09-28 10:04:02 +01:00
SteveSandersonMS
7b227229b3
In Webpack dev middleware, for configs that target Node, just run a 'watch' compiler (since Node isn't going to fetch the modules via HTTP anyway)
2016-09-28 10:00:59 +01:00
SteveSandersonMS
2241c55a90
Support for array-style webpack configs in aspnet-webpack. Fixes #291 .
2016-09-28 10:00:59 +01:00
SteveSandersonMS
46906e4ea8
Add repo info to package.json in all NPM packages hosted in this repo
2016-09-27 11:00:41 +01:00
SteveSandersonMS
57265509f7
Rebuild entrypoint-socket.js
2016-09-27 10:47:14 +01:00
SteveSandersonMS
7e88903bcc
Fix Node event chaining in VirtualConnectionServer to work with latest NPM libraries. Fixes #331 .
2016-09-27 10:28:50 +01:00
SteveSandersonMS
e8594287db
In aspnet-webpack, make sure that webpack-externals-plugin doesn't treat non-JS files as external. Fixes #332 .
2016-09-27 09:59:51 +01:00
SteveSandersonMS
b55e444a55
Also print CWD in node 'require' error reports
2016-09-21 11:43:12 +01:00
SteveSandersonMS
f9807c546d
In SpaServices NuGet package, pass through error stack when NPM modules fail to load
2016-09-21 11:11:24 +01:00
SteveSandersonMS
232e908ce8
Pass through error stack when NPM module loading failed in aspnet-webpack and aspnet-prerendering to make debugging easier
2016-09-21 11:08:04 +01:00
SteveSandersonMS
80343e9f17
In aspnet-webpack, replace ExternalsPlugin with webpack-node-externals because of #132
2016-09-20 15:41:06 +01:00
SteveSandersonMS
f7ef36bc74
Remove redundant section of docs
2016-09-20 11:00:48 +01:00
SteveSandersonMS
50be444440
Update docs to describe using LESS with Angular 2 component styling
2016-09-20 10:57:17 +01:00
SteveSandersonMS
2ee0078cfd
Fix HttpNodeInstanceEntryPoint to match latest NPM modules
2016-09-15 14:15:03 +01:00
SteveSandersonMS
d76b013a56
WebpackDevMiddleware now uses ProjectPath option consistently. Fixes #307
2016-09-14 12:04:15 +01:00
SteveSandersonMS
7c316d5c74
Update to ASP.NET Core 1.0.1. Fixes #309
2016-09-14 11:36:53 +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
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
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
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
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
a4e3360e65
Bump aspnet-webpack-react package version
2016-08-18 14:07:11 -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
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
SteveSandersonMS
3403eb7548
Make aspnet-webpack compatible with older versions of the NodeServices package
2016-07-27 13:29:18 +01:00
SteveSandersonMS
de960d80aa
Allow explicit configuration of port number for webpack dev middleware server. Fixes #223 .
2016-07-27 11:13:09 +01:00
SteveSandersonMS
14337e32ab
WebpackDevMiddleware now preserves client's view of hostname when doing 302 to /__webpack_hmr
2016-07-27 11:03:04 +01:00
SteveSandersonMS
c892f7da35
Support debugging when on IPv6 network (Node's "Debugger listening" message is phrased differently there)
2016-07-27 09:50:43 +01:00
SteveSandersonMS
f2f67fe880
Support new config options to launch the Node process with a debug listener. This is compatible with node-inspector.
2016-07-26 18:33:27 +01:00
SteveSandersonMS
79872c1bde
Amend aspnet-webpack for better node-inspector support
2016-07-26 16:38:46 +01:00
SteveSandersonMS
fae0a886af
Transfer multiline log messages from Node to .NET without treating each line as a separate log entry
2016-07-18 16:34:36 +01:00
SteveSandersonMS
f4efcacd40
Switch to native .NET logging APIs
2016-07-18 15:56:45 +01:00
Paul Knopf
27ffa72e0d
Adding support for capturing the output of a node instance for custom logging implementations.
2016-07-18 15:07:09 +01:00
SteveSandersonMS
a14d9ba2df
Change onBeforeStartExternalProcess to a virtual method, so as to avoid expanding the set of constructor params in all hosting models
2016-07-18 14:39:36 +01:00
thunder7553
7119815d04
Added OnBeforeStartExternalProcess callback which to NodeServicesOptions (and OutOfProcessNodeInstance, SocketNodeInstance and HttpNodeInstance) to configure environment of the node.exe process to be started, and the path to the node executable itself. Fixes #20
2016-07-18 14:24:07 +01:00
SteveSandersonMS
057efb43c8
aspnet-webpack module now preserves 'path' and 'publicPath' config settings when invoking Webpack compiler. Fixes #176 .
2016-07-18 13:55:26 +01:00
SteveSandersonMS
fc897475f3
Update domain-task package to version 2.0.1 (major bump because breaking change) and modify 'fetch' behaviour so it no longer tries to register the task with domain-task automatically. See code comments for reasons.
2016-07-11 12:16:29 +01:00
SteveSandersonMS
8b5136825c
Update remaining doc references to Invoke<T> and InvokeExport<T>
2016-07-07 14:59:59 +01:00
SteveSandersonMS
b0bc80b4d6
Update docs around custom node instances to match latest API changes
2016-07-07 14:58:25 +01:00
SteveSandersonMS
3bc35aea21
Simplify docs around receiving an INodeServices instance from DI
2016-07-07 14:50:24 +01:00