Commit Graph

434 Commits

Author SHA1 Message Date
SteveSandersonMS 06335eeee1 Fix building generator-aspnetcore-spa (something in a newer TypeScript version broke it) 2016-12-14 09:56:23 +00:00
SteveSandersonMS 4cc61d79e2 Add json-loader to add webpack.config.js files. Helps with #507. 2016-12-13 12:57:06 +00:00
SteveSandersonMS 633969c7b4 Update Dockerfiles for .NET Core 1.1.0. Fixes #489 2016-12-07 11:15:40 +00:00
SteveSandersonMS 5e669d6e7a Publish Yeoman generators 0.7.1 2016-11-30 17:54:46 +00:00
SteveSandersonMS 5d02728159 Publish Yeoman generators version 0.7.0. From here on, the templates produce ASP.NET Core 1.1.0 projects. 2016-11-30 17:09:24 +00:00
SteveSandersonMS 9001c191c1 Make Angular and React templates reference SpaServices directly. The AngularServices/ReactServices packages might be used in the future, but don't presently contain any extra usable functionality. 2016-11-30 12:19:05 +00:00
SteveSandersonMS d865e1f28b Specify latest 'current' SDK in all template global.json files 2016-11-30 11:29:57 +00:00
SteveSandersonMS 62c0680193 Make 'fetchdata' components in templates compatible with latest TypeScript compiler 2016-11-29 19:11:03 +00:00
SteveSandersonMS 5d14f11b1b Update all the project templates to .NET Core 1.1.0 2016-11-29 16:36:05 +00:00
SteveSandersonMS 834301e50d Publish generator-aspnetcore-spa 0.6.1 2016-11-28 17:48:08 +00:00
SteveSandersonMS 03774253eb Fix AureliaSpa TypeScript compile error introduced by newer version of TypeScript 2016-11-28 17:35:00 +00:00
SteveSandersonMS a3cba50e88 Make ReactReduxSpa able to do prerendering without node_modules at runtime 2016-11-28 17:30:09 +00:00
SteveSandersonMS 9cfea61f1e Make Angular2Spa able to do prerendering without node_modules at runtime 2016-11-28 17:30:04 +00:00
SteveSandersonMS 157b74a0cd Update Angular2Spa and ReactReduxSpa to use aspnet-prerendering 2.0.0 2016-11-28 16:56:02 +00:00
SteveSandersonMS dd97ae7316 Specify publicPath in all vendor build configs (otherwise, file-loader won't generate correct URLs to any static resources from the vendor bundle) 2016-11-28 16:55:53 +00:00
SteveSandersonMS ea2cfc277c Fix Angular2Spa "template parse errors" in production builds (was caused by html-loader's HTML minification feature) 2016-11-28 16:09:08 +00:00
SteveSandersonMS fadb2b3127 Remove README.md files from templates, as much of the content is irrelevant or outdated. Fixes #463. 2016-11-25 10:19:55 +00:00
SteveSandersonMS 8401bbf33a Add global.json to templates specifying SDK preview 2 (otherwise, preview 3 breaks it). Will need to exclude/modify this file when emitting csproj projects. 2016-11-25 09:56:53 +00:00
Scott Addie 3a4936dbf7 Add '-loader' suffix to all Webpack loader references 2016-11-21 10:14:37 +00:00
SteveSandersonMS d6c6408457 In AureliaSpa, lock local copy of Webpack to 2.1.0-beta.25 (not any later 2.1.0 beta) due to fix #436 2016-11-18 15:46:05 +00:00
SteveSandersonMS 9b048c54d4 Remove 'redux-typed' from ReactReduxSpa template, making it more standard as a Redux application 2016-11-11 15:32:51 -08:00
SteveSandersonMS cdd6c16dc6 Preparing to publish new generator-aspnetcore-spa 2016-11-10 13:38:36 -08:00
SteveSandersonMS 4f15bd6c50 Produce correct package.json from generator-aspnetcore-spa 2016-11-10 08:16:30 -08:00
SteveSandersonMS 828ed07cef In generator-aspnetcore-spa, offer user the choice of whether to include tests 2016-11-09 14:05:41 -08:00
SteveSandersonMS a734a31745 Add Karma/Jasmine/Chai test starting point to Angular2Spa 2016-11-09 13:10:43 -08:00
SteveSandersonMS b3dbb6e0f1 Yeoman generator, when running on Windows, ensures you have NPM 3+. Fixes #82. 2016-11-07 14:10:03 -08:00
SteveSandersonMS 11c45321aa In Angular2Spa, use angular2-template loader as a step towards AoT compilation. Implements #356 2016-11-07 13:45:29 -08:00
SteveSandersonMS f9145a43f6 In Angular2Spa server-side rendering, only render the <app> element, not an entire <html> doc 2016-10-31 11:46:00 +00:00
SteveSandersonMS 54f222e88f Update templates for Yarn compatibility 2016-10-28 17:36:55 +01:00
SteveSandersonMS 6259b7b938 In generator-aspnetcore-spa, use 'yarn' (if available) instead of 'npm' to restore dependencies because it's > 10x faster 2016-10-28 16:55:39 +01:00
SteveSandersonMS dfcaae6fda Include AureliaSpa in generator-aspnetcore-spa 2016-10-28 15:52:15 +01:00
SteveSandersonMS 4b507004b1 In AureliaSpa, use Webpack build mode to decide whether or not to enable debug logging 2016-10-28 15:52:15 +01:00
SteveSandersonMS bd86026bb9 Change AureliaSpa to use external source maps for compatibility with VS/VSCode debugging 2016-10-28 15:52:15 +01:00
SteveSandersonMS 996216c751 Tell aurelia-webpack-plugin to filter the set of dependencies it auto-imports. Note that this will have no effect until the next version of aurelia-webpack-plugin is published to NPM. 2016-10-28 15:52:14 +01:00
SteveSandersonMS 6bceb234d8 In AureliaSpa, use whatwg-fetch to provide type info 2016-10-28 15:52:14 +01:00
SteveSandersonMS acfb253a40 Change AureliaSpa to use vendor bundle like the other templates 2016-10-28 15:52:04 +01:00
SteveSandersonMS 3087352ea1 Simplify AureliaSpa's webpack.config.js 2016-10-28 11:40:32 +01:00
kmkatsma e60ea04f86 Add AureliaSpa template (#398) 2016-10-28 11:16:21 +01:00
SteveSandersonMS bf71e3e71c Publish updated generator-aspnetcore-spa 2016-10-24 10:09:58 +01:00
SteveSandersonMS c140b5014a Fix WebApplicationBasic config 2016-10-24 10:08:14 +01:00
SteveSandersonMS de9460fba5 Update KO template type dependencies. Fixes #397. 2016-10-24 10:06:26 +01:00
SteveSandersonMS a427d5f0f0 Fix source map generation in projects that also use ExtractTextPlugin 2016-10-21 13:53:34 +01:00
SteveSandersonMS e0c18ab269 Publish updated Yeoman generators 2016-10-21 10:52:10 +01:00
SteveSandersonMS f20ad391b6 Change ReactReduxSpa template to require redux-typed 2.0.0 (because the template uses TS 2.0 compiler) 2016-10-21 10:39:22 +01:00
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
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 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 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 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 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 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
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 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 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 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 9aaa519044 Bump Yeoman package version to 0.3.0 2016-09-21 11:22:01 +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 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 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 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 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 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 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 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 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
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
Aidan Steele a631f77a33 Copy only project.json before dotnet restore in Dockerfile templates 2016-08-04 17:49:50 +10:00
Aidan Steele cf1a127e7d Perform nodejs installation before COPY in Dockerfile templates 2016-08-04 17:49:40 +10:00
SteveSandersonMS c07bd96270 Update generator-aspnetcore-spa version 2016-08-04 17:45:04 +10:00
SteveSandersonMS 0a3463031b Add Node.js support in all the Docker containers 2016-07-27 13:09:54 +01:00
SteveSandersonMS e9ca434405 Update all templates to match latest "yo aspnet" output 2016-07-27 12:25:32 +01:00
SteveSandersonMS 698921d157 Update Dockerfile in all templates to match .NET Core 1.0 RTM. Fixes #120 2016-07-27 10:43:16 +01:00
SteveSandersonMS 2fe06ea784 Make the dependency on es6-shim explicit, and include it in the vendor bundle 2016-07-26 14:57:14 +01:00
Simon Kamlet 77b404188b fix angular's (click) events not being triggered on IE9 2016-07-26 14:50:17 +01:00
Mark Pieszak 96228711f2 chore(package): Update to rc4, beta router & universal 104.5
104.5 includes some bug fixes.
Router beta update required pathMatch on home.

Tested w/ JS on/off everything passes & works.
2016-07-26 14:46:11 +01:00
Mike Mazmanyan 64a8ef1112 Moving and updating "aspnet-webpack" package in templates (#207) 2016-07-26 14:44:07 +01:00
SteveSandersonMS f4afb25a2d Set ts-loader to "silent" mode until there's a fix for https://github.com/TypeStrong/ts-loader/issues/249 2016-07-18 16:54:52 +01:00
SteveSandersonMS 58bf117442 Update templates to domain-task 2.0.0. Fixes #166. 2016-07-11 12:16:41 +01:00
SteveSandersonMS c1a1bdf373 Update React template homepage as per #158 2016-07-07 15:50:37 +01:00
SteveSandersonMS 01d5c90e23 Include Microsoft.DotNet.Watcher.Tools in templates. Fixes #157 2016-07-07 15:47:48 +01:00
SteveSandersonMS 7ce5f8d4ad Remove trailing whitespace in KO template 2016-07-06 11:18:22 +01:00
SteveSandersonMS b6e2274163 In Redux templates, add .babelrc to publish output. Fixes #159 2016-07-01 14:10:33 +01:00
SteveSandersonMS b684aeb6d2 Bump Yeoman generator package version to 0.2.0 for publishing 2016-06-28 12:42:03 +01:00
SteveSandersonMS 8f2117cf89 Upgrade Angular template to Angular 2 RC3 and migrate to new @angular/router 2016-06-28 12:40:14 +01:00
SteveSandersonMS f1325d0cf2 Update 'templates' projects for .NET Core 1.0 RTM 2016-06-28 11:51:45 +01:00
SteveSandersonMS fc7097c2fe Publish Yeoman generators as version 0.1.9 2016-06-22 17:02:41 +01:00
SteveSandersonMS 8423233f44 Update to angular2-universal 0.103.0 and amend boot-server.ts to fix "there can only be one platform" issue 2016-06-22 17:02:11 +01:00
SteveSandersonMS ce6cdfd2bc Templates should also publish node_modules, since it's used at runtime 2016-06-22 13:47:44 +01:00
SteveSandersonMS 64caa7c86a Bump templates version to 0.1.7 for publishing 2016-06-22 13:14:12 +01:00
SteveSandersonMS 7ddd4cacec Amend all templates' project.json files to match current "yo aspnet" template content (plus the SPA-specific stuff) 2016-06-22 13:14:00 +01:00
SteveSandersonMS 73879918d4 Add web.config to all templates (matching "yo aspnet" output) 2016-06-22 12:52:56 +01:00
SteveSandersonMS 6848e3a11d Fix templates' project.json scripts for compatibility with dotnet RC2 tooling and Azure 2016-06-22 12:48:54 +01:00
SteveSandersonMS d3ded5bbdf Workaround for Yeoman generators not producing .gitignore files due to Yeoman issue #1862 2016-06-22 11:00:06 +01:00
SteveSandersonMS 6f8055b7bc Update Yeoman generators to use aspnet-prerendering 1.0.2+ and publish as version 0.1.5 2016-06-21 16:26:14 +01:00
SteveSandersonMS bb53a94cfa Fix #139 by pinning Angular 2 template to RC1 2016-06-21 10:58:17 +01:00
SteveSandersonMS 2ffc31a7c6 In ReactReduxSpa template, better report failure to match client-side routes 2016-06-14 11:35:12 +01:00
Andrei Tserakhau 95cba7f5dd refactor: apply default vs transform to xproj
refactor(spa-services): clean code

refactor(node-services): clean code, extract classes nto separate files

refactor(angular-services): prime cache cleanup
2016-05-25 16:08:49 +03:00
SteveSandersonMS 60e4e3a3f3 Rename NodeServices.sln to JavaScriptServices.sln 2016-05-18 23:12:34 +01:00
SteveSandersonMS 28aa7bfadb Bump yeoman generator package version 2016-05-18 10:52:57 +01:00
SteveSandersonMS 218ca1fa44 Avoid peer dependency warnings while angular2-universal expects a specific version of rxjs 2016-05-17 16:25:47 +01:00
SteveSandersonMS 9ea1ca0a9b Trivial tweak to import ordering 2016-05-17 16:25:15 +01:00
Andrei Tserakhau 41d1c14770 bug(ng2-template): fix issue with not disposed boot object 2016-05-17 16:00:16 +01:00
Andrei Tserakhau 58a1aa3538 chore(ng2-template): upgrade angular 2 template to rc1 version 2016-05-17 16:00:16 +01:00
SteveSandersonMS 352108be35 Update all projects for final .NET Core RC2 2016-05-17 11:56:06 +01:00
SteveSandersonMS d1964f087d Change from netstandardapp1.5 to netcoreapp1.0 everywhere 2016-05-04 15:26:14 -07:00
SteveSandersonMS 999641c4c2 Remove 'UseDefaultHostingConfiguration' references, as the API no longer exists and is not strictly needed 2016-05-04 13:16:13 -07:00
SteveSandersonMS 6980b2fe81 Simplify some .gitignore patterns for compatibility with gitignore-parser 2016-05-02 13:14:27 -07:00
SteveSandersonMS 9cb6d5d2b6 Update Yeoman generator references to aspnet to aspnetcore 2016-05-02 13:14:27 -07:00
SteveSandersonMS c073248981 Remove Angular 2 Music Store workarounds for an fx bug that was fixed in RC2 2016-05-02 13:13:50 -07:00
SteveSandersonMS 13beb7cf27 Add local pack script. Remove dnx451 framework references. May add back later if needed. 2016-05-02 13:13:49 -07:00
SteveSandersonMS 25c728f885 Change all Microsoft.AspNet.* namespaces and references to Microsoft.AspNetCore.* 2016-05-02 13:13:49 -07:00
SteveSandersonMS 649c6079ea Update WebApplicationBasic template to RC2 2016-05-02 13:13:48 -07:00
SteveSandersonMS 280979c708 Update ReactSpa template to RC2 2016-05-02 13:13:48 -07:00
SteveSandersonMS 5cbc5f438b Update ReactReduxSpa template to RC2 2016-05-02 13:13:48 -07:00
SteveSandersonMS 1468db1ba6 Update KnockoutSpa template to RC2 2016-05-02 13:13:48 -07:00
SteveSandersonMS 6a2a3d9532 Fix JSON formatting in Angular2Spa template 2016-05-02 13:13:48 -07:00
SteveSandersonMS 73caae2b78 Replace all references to ASPNET_ENV with ASPNETCORE_ENVIRONMENT 2016-05-02 13:13:48 -07:00
SteveSandersonMS 1cb4dd920c Partial migration to ASP.NET Core 1.0 RC2 (done the core packages, plus the ES2015/Webpack samples, and the Angular2Spa template). Only verified it builds/runs on .NET Core - not checked on net451. 2016-05-02 13:13:47 -07:00
SteveSandersonMS 992060b908 Further attempt to make the build pass 2016-05-02 12:47:58 -07:00
SteveSandersonMS 323711fc24 Hopefully make the build work on Windows 2016-05-02 12:28:04 -07:00
SteveSandersonMS 7d193108df Build using local 'tsc' tool instead of hoping the globally-installed one exists and is the right version 2016-05-02 12:18:52 -07:00
SteveSandersonMS ad4bf09407 Add yosay to Yeoman generator 2016-05-02 10:24:37 -07:00
SteveSandersonMS a846ea85e0 Update Yeoman generator version 2016-04-29 17:34:21 +01:00
SteveSandersonMS 5743d312c2 Improve VS compatibility using <TypeScriptCompileBlocked> in .xproj files 2016-04-29 17:33:31 +01:00
SteveSandersonMS abf79af5ca Fix NPM config for Yeoman generator 2016-04-29 12:35:13 +01:00
SteveSandersonMS 1e7912b8b6 package.json tweaks 2016-04-29 11:56:33 +01:00
SteveSandersonMS b51a035c68 Yeoman generator now installs NPM/DNX dependencies and runs webpack 2016-04-29 11:26:25 +01:00
SteveSandersonMS 4de2e9673f Basically working Yeoman template generator generator 2016-04-28 17:01:27 +01:00
SteveSandersonMS fc705e8bf8 Simplify by removing diff feature. Now just writes each template as an independent copy. 2016-04-28 14:34:47 +01:00
SteveSandersonMS 1830c20212 Beginning Yeoman generator generator. Currently creates templates in as patches vs a common set of files. 2016-04-28 14:28:34 +01:00
SteveSandersonMS a0c47252ca Update to latest Angular2/angular-universal and use relative URLs in template's HTTP request 2016-04-21 11:36:27 +01:00
SteveSandersonMS 6a325f8cc4 Clean up versions of referenced packages 2016-04-14 15:14:26 +01:00
SteveSandersonMS 51650f4623 Clean up RC1 bug workaround 2016-04-14 14:59:41 +01:00
SteveSandersonMS 39a8a4a128 Update to current versions of React/Redux/etc. 2016-04-13 15:34:23 +01:00
SteveSandersonMS 770a74c25b Update Angular2Spa template to newer dependencies 2016-04-08 11:41:20 +01:00
SteveSandersonMS 67483b4ab6 Fix Angular 2 polyfills 2016-04-07 15:44:29 +01:00
SteveSandersonMS c8a7ac95a9 Make async data fetching work on the server with Angular 2 2016-04-05 20:31:21 +01:00
SteveSandersonMS 89c8dd3b36 Update Angular2Spa to current versions of Angular 2, angular2-universal-preview, etc. 2016-03-31 16:41:24 +01:00
SteveSandersonMS ff5cdd1815 Fix Angular2Spa production builds 2016-03-24 12:07:28 +00:00
SteveSandersonMS 611f88fcb7 Simplify ReactReduxSpa template to use aspnet-* packages 2016-03-11 01:13:09 +00:00
SteveSandersonMS b28296f801 Fix aspnet-webpack-react, and simplify ReactSpa template to use it 2016-03-11 01:08:41 +00:00
SteveSandersonMS 294d898fd3 Simplify Angular 2 template to use aspnet-webpack etc. 2016-03-11 01:01:42 +00:00
SteveSandersonMS dfc2f9503b Simplify KnockoutSpa template using new aspnet-webpack package 2016-03-11 00:35:18 +00:00
SteveSandersonMS b519e58fc5 Simpler use of attribute routing 2016-03-08 18:15:09 +00:00
SteveSandersonMS 11d4873164 Demonstrate lazy-loading for Webpack-bundled KO components 2016-03-08 17:03:09 +00:00
SteveSandersonMS 25ba7986d8 Minor fixes to KO template (bundling config and menu styling) 2016-03-08 16:08:49 +00:00
SteveSandersonMS 515c659a47 Migrate from hasher.js to history.js to support HTML5-style navigation. Also clean up the HMR support. 2016-03-08 15:56:43 +00:00
SteveSandersonMS bbdbb449d5 Initial KnockoutSpa template 2016-03-08 12:16:22 +00:00
SteveSandersonMS 7d7e974b5f Add templates projects to .sln file 2016-03-08 09:57:36 +00:00
SteveSandersonMS 139f26726a Add a load of .xproj files 2016-03-07 16:27:13 +00:00
SteveSandersonMS 6b41e12830 Add missing reference to Bootstrap script 2016-03-07 15:33:04 +00:00
SteveSandersonMS c44ceebc12 Enable server-side prerendering in React+Redux template 2016-03-07 15:11:13 +00:00
SteveSandersonMS cf7a519919 Working React+Redux template 2016-03-07 14:32:36 +00:00
SteveSandersonMS ec9337754f Beginning React+Redux template as a direct copy of the React one 2016-03-07 10:20:31 +00:00
SteveSandersonMS 3ab3a1bf5f Make WebApplicationBasic consistent with other templates 2016-03-01 16:27:20 +00:00
SteveSandersonMS b797c9cc1a In all the app templates, load and execute the Bootstrap JS code 2016-03-01 16:26:05 +00:00
SteveSandersonMS 0167d5ca3f Change WebApplicationBasic template to use web pack vendor DLL and to load CSS as a file (not via JS). Also remove Babel as it's not doing anything here. 2016-03-01 16:25:37 +00:00
SteveSandersonMS 22cebe78d8 Make TS build a bit faster. This is pretty safe, but could easily be reverted if any problems emerge. 2016-03-01 15:47:58 +00:00
SteveSandersonMS 8a5dbf7a05 Re-add server-side prerendering to Angular2 template 2016-03-01 15:41:07 +00:00
SteveSandersonMS 4dcf63dab4 Change Angular2 template to use vendor DLL too. Temporarily disabled server-side prerendering. 2016-03-01 14:30:42 +00:00
SteveSandersonMS 2c3f29df11 Avoid bogus build warning about unused variable 2016-03-01 13:23:51 +00:00
SteveSandersonMS 60bcbc4d12 In ReactSpa template, change vendor bundle to be a prebuilt DLL (for faster builds) 2016-03-01 13:18:35 +00:00
SteveSandersonMS f7bc47875f Better organise ReactSpa template so all 3rd-party code goes in vendor bundle 2016-03-01 10:22:23 +00:00
SteveSandersonMS c55f14caf1 Minor tidy-up 2016-03-01 01:24:58 +00:00
SteveSandersonMS 74cac774f8 Normalise trailing whitespace and line endings everywhere 2016-03-01 01:10:43 +00:00
SteveSandersonMS c425137423 Remove unused files 2016-03-01 00:59:42 +00:00
SteveSandersonMS a5509b86e4 In Angular 2 template, always load CSS via ExtractTextPlugin (otherwise you get a bad FOUC when loading server-prerendered page) 2016-03-01 00:40:37 +00:00
SteveSandersonMS f830a5f90a For Angular 2 template, compile directly from TS->ES5. Remove use of Babel altogether. 2016-03-01 00:13:57 +00:00
SteveSandersonMS bfc993af50 Support loading prerenderer boot module via Webpack config; use this in Angular 2 template 2016-03-01 00:04:51 +00:00
SteveSandersonMS 47ba251923 Add server-side prerendering for Angular 2 template 2016-02-29 19:29:04 +00:00
SteveSandersonMS 6d2e51bf63 Add data fetching example for Angular 2 template 2016-02-29 11:27:19 +00:00
SteveSandersonMS 97ac684652 Change Angular 2 template to use app-style layout, like the React template 2016-02-29 11:11:07 +00:00
SteveSandersonMS d102fdb363 Enable Webpack dev middleware and basic (non-state-preserving) HMR for Angular template 2016-02-29 10:48:26 +00:00
SteveSandersonMS c1b808f8af Fix code style inconsistencies 2016-02-24 18:37:47 +00:00
SteveSandersonMS c668387dac Add data-loading example to ReactSpa template, and remove server-side rendering (because you really need Redux/Flux or similar for that to make sense) 2016-02-24 18:32:31 +00:00
SteveSandersonMS a6ea8b5101 Change ReactSpa template to something more like a dashboard with sidebar navigation 2016-02-24 14:41:29 +00:00
SteveSandersonMS eac76683cc Enable server-side rendering for ReactSpa template 2016-02-24 11:02:21 +00:00
SteveSandersonMS f0b0160419 Add Webpack dev middleware and React hot module replacement to ReactSpa template 2016-02-24 10:47:45 +00:00
SteveSandersonMS de488987c1 Add Angular2Spa template 2016-02-23 23:13:20 +00:00
SteveSandersonMS a55394638f Add ReactSpa template 2016-02-23 15:04:58 +00:00
SteveSandersonMS 0c5eabc022 Switch to Webpack 2016-02-23 13:48:07 +00:00
SteveSandersonMS 30cb9d3fa3 Stock WebApplicationBasic output from "yo aspnet" 2016-02-12 17:16:02 -08:00