Commit Graph

151 Commits

Author SHA1 Message Date
Steve Sanderson 214a908c92 Temporarily pin React to 15.4.x, because 15.5.0 has conflict with Babel (Babel injects code that tries to evaluate PropTypes) 2017-05-05 16:23:16 +01:00
Steve Sanderson 15ceec0b3f Have templates declare dependency on SpaServices 1.1.1 2017-05-04 14:15:16 +01:00
Steve Sanderson cbaeb1c055 Fix ReactReduxSpa build issue. Fixes #859 and #878 2017-05-04 13:17:24 +01:00
Erick Galassi ea429cccf4 Minimize CSS in production builds (all templates) 2017-04-11 14:51:31 +01:00
Steve Sanderson b9c387bf5f Remove obsolete references from gitignore files. Fixes #818 and #819. 2017-03-29 10:33:29 +01:00
Dan Harman 365b2c50cb Added babel-loader caching to improve subsequent build times. (#777) 2017-03-22 10:28:26 +00:00
Steve Sanderson 08ea344fcf Remove project.json-specific content from all the SPA templates 2017-03-14 17:23:08 -07:00
Mark Thiessen 3077b8a8c0 Modifies babel config to allow for webpack tree shaking 2017-03-13 11:20:05 -07:00
Steve Sanderson 5866713a05 Remove style-loader from vendor bundles. Fixes #715. 2017-03-13 11:11:38 -07:00
Steve Sanderson a79bc75671 Migrate to csproj (#703)
Migrate to csproj
2017-02-28 09:17:35 +00:00
Steve Sanderson a38db81b71 Templates that were waiting for awesome-typescript-loader 3.0.0 to ship no longer need to wait - it has shipped 2017-02-23 10:14:37 +00:00
Steve Sanderson 689f106181 Update templates to TypeScript 2.2.1 and fix whatwg-fetch related errors. Fixes #705 2017-02-23 10:07:03 +00:00
Steve Sanderson 3162946139 In ReactReduxSpa, configure store before matching routes. Fixes #663 2017-02-21 16:56:35 +00:00
Steve Sanderson c9526dd4d2 Remove Dockerfiles for consistency with other templates. Also fixes #694 2017-02-21 16:18:25 +00:00
SteveSandersonMS 481ca0a8e0 Replace 'loader' with 'use' in various Webpack configs. Fixes 'loader option has been deprecated' warnings. 2017-02-09 15:43:41 +00:00
SteveSandersonMS 28483e2cf3 In ReactReduxSpa, pin @types/react-router-redux to known-good version 4.0.30, because 4.0.40 is broken. Fixes #651 2017-02-09 15:35:11 +00:00
SteveSandersonMS e7785dff01 Update templates to match VS2017RC build 26127 project file format, plus latest ASP.NET Core 'Program.cs' convention. Fixes #620. 2017-01-30 13:02:16 +00:00
SteveSandersonMS 9f7bc75960 Update ReactReduxSpa to Webpack 2 (plus awesome-typescript-loader) 2017-01-30 11:21:12 +00:00
SteveSandersonMS 3313a7f0a6 Update Node version to 6.x (current LTS) in Dockerfiles. Fixes #591. 2017-01-20 12:38:57 +00:00
SteveSandersonMS 867d070263 Remove unused references to ThunkAction. Fixes a build error since @types/redux-thunk 2.2.0 removes the ThunkAction export. 2017-01-18 19:14:17 +00:00
SteveSandersonMS f8714e9653 Fix react/redux TypeScript build errors caused by breaking changes in dependencies. Fixes #529, #582, #583 2017-01-16 10:46:28 +00:00
SteveSandersonMS c377e6cd28 For project.json-based projects, fix Kudu deployment by adding a .deployment file at the root 2017-01-07 00:08:06 +00:00
SteveSandersonMS 59526ff16a Update templates' csproj files to fix first-time publishing (previously, it didn't deploy dist files if they were not already on disk) 2017-01-07 00:00:52 +00:00
SteveSandersonMS 67cd5f6093 In csproj projects, reference 1.1.0-preview4-final version of Razor tools 2016-12-15 18:10:43 +00:00
SteveSandersonMS a76b6e25d4 Add .csproj files for the templates. Some are set up for prerendering; others not. 2016-12-15 16:42:25 +00:00
SteveSandersonMS 6c16ba3da7 Remove template_nodemodules_placeholder.txt files - they are redundant now that we no longer need to publish node_modules to production 2016-12-15 16:35:48 +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 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 a3cba50e88 Make ReactReduxSpa able to do prerendering without node_modules at runtime 2016-11-28 17:30:09 +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 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 9b048c54d4 Remove 'redux-typed' from ReactReduxSpa template, making it more standard as a Redux application 2016-11-11 15:32:51 -08:00
SteveSandersonMS 54f222e88f Update templates for Yarn compatibility 2016-10-28 17:36:55 +01:00
SteveSandersonMS a427d5f0f0 Fix source map generation in projects that also use ExtractTextPlugin 2016-10-21 13:53:34 +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 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
SteveSandersonMS 53889c0fc1 Template updates as per Eilon's comments 2016-09-29 12:05:29 +01:00
SteveSandersonMS 0a961a7bd0 Updated ReactReduxSpa template to match current patterns 2016-09-28 17:43:22 +01:00
SteveSandersonMS b71d139eb5 Update xproj files to reference dotnet build tooling 2016-09-15 14:36:42 +01:00
SteveSandersonMS 7c316d5c74 Update to ASP.NET Core 1.0.1. Fixes #309 2016-09-14 11:36:53 +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 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 a4e3360e65 Bump aspnet-webpack-react package version 2016-08-18 14:07:11 -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 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
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 b6e2274163 In Redux templates, add .babelrc to publish output. Fixes #159 2016-07-01 14:10:33 +01:00
SteveSandersonMS f1325d0cf2 Update 'templates' projects for .NET Core 1.0 RTM 2016-06-28 11:51:45 +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 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 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 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 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 5cbc5f438b Update ReactReduxSpa template to RC2 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 5743d312c2 Improve VS compatibility using <TypeScriptCompileBlocked> in .xproj files 2016-04-29 17:33:31 +01:00
SteveSandersonMS 6a325f8cc4 Clean up versions of referenced packages 2016-04-14 15:14:26 +01:00
SteveSandersonMS 39a8a4a128 Update to current versions of React/Redux/etc. 2016-04-13 15:34:23 +01:00
SteveSandersonMS 611f88fcb7 Simplify ReactReduxSpa template to use aspnet-* packages 2016-03-11 01:13:09 +00:00
SteveSandersonMS b519e58fc5 Simpler use of attribute routing 2016-03-08 18:15:09 +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