Commit Graph

621 Commits

Author SHA1 Message Date
SteveSandersonMS
b55e444a55 Also print CWD in node 'require' error reports 2016-09-21 11:43:12 +01:00
SteveSandersonMS
9aaa519044 Bump Yeoman package version to 0.3.0 2016-09-21 11:22:01 +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
5214a553a7 In Angular2Spa, server-side rendering now reports all errors 2016-09-21 09:29:13 +01:00
SteveSandersonMS
2ba5a0ac93 As per #325, reference module.hot directly instead of via a local var, because Webpack does static analysis that looks for this 2016-09-20 16:51:50 +01:00
SteveSandersonMS
925f47fece In Angular2Spa, use css-loader so you can reference external images from CSS files, etc. 2016-09-20 16:13:25 +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
19684f2b7d In Angular2Spa template, use per-component scoped styles. Fixes common config issues like #234. 2016-09-20 10:06:23 +01:00
SteveSandersonMS
cd18489f00 Fix HMR again following previous change 2016-09-19 17:40:17 +01:00
SteveSandersonMS
41f1f6fe82 Delay Angular 2 bootstrapping until DOMContentLoaded 2016-09-19 16:56:50 +01:00
SteveSandersonMS
ca99a2304c Remove style-loader from Angular2Spa vendor bundle as it's not used at all. Is used by other templates though. 2016-09-19 16:53:20 +01:00
SteveSandersonMS
83cfb59c2d Add comment about UniversalModule 2016-09-19 16:10:57 +01:00
SteveSandersonMS
494c7b585c Fix trailing whitespace 2016-09-19 16:05:22 +01:00
SteveSandersonMS
49a8536679 Update angular2-universal dependencies (cherry-pick 62dd13b3b) 2016-09-19 15:51:18 +01:00
SteveSandersonMS
358ee2261e Make indentation consistent 2016-09-19 15:43:58 +01:00
SteveSandersonMS
07a9c1685f Remove unnecessary NPM dependencies 2016-09-19 14:15:13 +01:00
SteveSandersonMS
4ea7eb195e Simplify webpack config. Eliminate dev/prod override files. 2016-09-19 14:13:20 +01:00
SteveSandersonMS
85dfdd9b50 Move tsconfig into ClientApp dir, since it's not needed at root 2016-09-19 14:04:00 +01:00
SteveSandersonMS
a91b6a6b5c Make HMR work again 2016-09-19 13:50:26 +01:00
SteveSandersonMS
a1c1bdb1e6 Simplify imports in boot-client.ts 2016-09-19 13:18:44 +01:00
SteveSandersonMS
297b4dbd92 Move more modules to vendor bundle. Remove explicit reflect-metadata reference (no longer needed). 2016-09-19 13:09:12 +01:00
SteveSandersonMS
8f550c5706 Simplify Angular 2 template where possible 2016-09-19 12:44:25 +01:00
SteveSandersonMS
243a9b4ef6 Add @types/node to avoid intellisense errors for "require" statements 2016-09-19 11:05:44 +01:00
SteveSandersonMS
1e08548aa0 Remove now-redundant 'typings' dir and custom-typings.d.ts 2016-09-19 10:33:02 +01:00
Mark Pieszak
ce0d2089d2 ng2 2.0, Universal 2.0, TS 2.0, Preboot 4.* 2016-09-19 09:12:03 +01:00
SteveSandersonMS
b71d139eb5 Update xproj files to reference dotnet build tooling 2016-09-15 14:36:42 +01:00
SteveSandersonMS
2ee0078cfd Fix HttpNodeInstanceEntryPoint to match latest NPM modules 2016-09-15 14:15:03 +01:00
SteveSandersonMS
591d548de7 Publish new Yeoman templates (0.2.9) 2016-09-15 12:34:24 +01:00
SteveSandersonMS
06ad36f830 In Angular 2 template, include prebuilt wwwroot/dist/* files to support VS and "dotnet new" templates (which can't run post-project-creation actions) 2016-09-15 12:32:01 +01:00
SteveSandersonMS
7a80d905b8 In Angular 2 template, include reflect-metadata and zone.js in vendor bundle 2016-09-15 12:07:49 +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
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