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
SteveSandersonMS
9bd9444485
In Angular2Spa, put all NPM dependencies under "dependencies", not "devDependencies" (otherwise, if someone tries to publish while NODE_ENV=production, the build will fail)
2016-09-28 12:46:30 +01:00
SteveSandersonMS
4937fef28f
Publish updated version of generator-aspnetcore-spa
2016-09-28 12:19:50 +01:00
SteveSandersonMS
e87aa1f088
Change Angular2Spa template to build server (prerendering) bundle explicitly. This simplifies deployment, fixes various compatibility issues (like #306 ) and makes debugging much easier for developers using the template.
2016-09-28 10:55:45 +01:00
SteveSandersonMS
30dfe5e8b5
In Angular2Spa webpack config, use "--env.prod" arg to trigger prod builds instead of ASPNETCORE_ENVIRONMENT env var. This is to guarantee production mode when publishing.
2016-09-28 10:04:16 +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
85eba9ca27
Add README.md for generator-aspnetcore-spa. Fixes #308 .
2016-09-27 11:05:01 +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
67fc64309f
Update Angular 2 Music Store sample to declare dependency on .NET Core 1.0.1
2016-09-27 10:28:01 +01:00
SteveSandersonMS
5a9d3cb189
Update readme to mention dependency on .NET Core 1.0.1
2016-09-27 10:13:03 +01:00
SteveSandersonMS
f79936c104
In Angular2Spa webpack config, allow html/css files from node_modules to be loaded via Webpack.
2016-09-27 10:03:54 +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
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