Commit Graph

408 Commits

Author SHA1 Message Date
Steve Sanderson a6e0955581 In Yeoman/dotnetnew generators, remove support for producing project.json projects 2017-03-14 17:09:33 -07:00
Steve Sanderson d8143e2603 Update Yeoman package README 2017-03-14 17:07:42 -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 7aacf2151c Bump templates packages versions to 0.8.7 for release 2017-03-13 09:55:48 -07:00
Steve Sanderson e4623bb186 Add Vue template to Yeoman generator 2017-03-13 09:32:02 -07:00
Steve Sanderson 59e09816c7 Fix typos (etc) in description on homepage 2017-03-13 09:25:23 -07:00
Steve Sanderson c3ad9e8c2f Remove Vue template server-side prerendering because of limitations 2017-03-13 09:25:23 -07:00
Steve Sanderson 119b274c19 Add server-side rendering (via bundleRenderer, as this is what the Vue docs recommend, and apparently the only way it does encapsulation) 2017-03-13 09:25:23 -07:00
Steve Sanderson 360688f78b Add Vue template 2017-03-13 09:25:23 -07:00
Maciej Lelito 0a1ac6a70a Added missing import in boot.ts in Aurelia template 2017-03-10 13:58:32 +00:00
Kyle Summers 8d27d9d583 Updates Aurelia project url (#741)
aurealia.io doesn't appear to support https currently
2017-03-10 13:36:37 +00:00
Nate McMaster 3058c050bb Unify dependency versions across all non-template projects 2017-03-01 09:28:11 +00:00
Steve Sanderson a79bc75671 Migrate to csproj (#703)
Migrate to csproj
2017-02-28 09:17:35 +00:00
Steve Sanderson 795aac241e Bump templates package versions to 0.8.6 for release 2017-02-23 10:23:34 +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 3c2fd50e8f Add fields to dotnet new NuSpec file 2017-02-13 16:38:56 +00:00
SteveSandersonMS 5a593d657d Bump generator-aspnetcore-spa to 0.8.5 2017-02-13 15:44:49 +00:00
SteveSandersonMS 5a67ca35be Add 'primaryOutputs' to dotnet new template.json files (and reorder JSON properties alphabetically) 2017-02-13 15:28:12 +00:00
SteveSandersonMS 72dabb3664 After building "dotnet new" package, put it in "artifacts" dir 2017-02-13 15:06:41 +00:00
SteveSandersonMS b7314359c8 When building "dotnet new" templates, always prebuild and include client-side 'dist' files for all templates, because dotnet new can't run arbitrary post-generation steps 2017-02-13 14:59:43 +00:00
SteveSandersonMS 1bf283877e More updates to "dotnet new" template to produce correct template.json values 2017-02-13 14:42:47 +00:00
SteveSandersonMS 1115a0aff5 Fix package.json files in Angular2Spa and AureliaSpa to have replaceable name (not hardcoded as Angular2Spa, etc.). Other templates were already set up like this. 2017-02-13 14:38:44 +00:00
SteveSandersonMS 70ad900f59 Further update dotnet new template builder to produce correct template.son contents 2017-02-13 14:05:36 +00:00
SteveSandersonMS fadc5d7b98 Update dotnet new template builder to match tooling preview 4 file structure 2017-02-13 13:12:44 +00:00
SteveSandersonMS 85dcc66723 Update the version of NuGet.exe used when building "dotnet new" templates to v4 (rc) 2017-02-13 13:07:24 +00:00
SteveSandersonMS f0825bec1d In generator-aspnetcore-spa, change internal name of Angular template from "angular-2" to "angular" to comply with suggested Angular branding 2017-02-13 13:05:59 +00:00
SteveSandersonMS 0ec6178617 Remove the Angular 2.0.2 template; define the 2.4.5+ template as the standard Angular one. Makes issue #665 no longer apply. 2017-02-13 12:55:48 +00:00
SteveSandersonMS 0f3e3ebb3b Fix TypeScript build error with updated lodash type definitions 2017-02-13 12:50:25 +00:00
SteveSandersonMS 9017ef6fdc Fix issues in KnockoutSpa/ReactSpa webpack 2 configs. Bump generator version to 0.8.4. 2017-02-09 18:10:58 +00:00
SteveSandersonMS 520ef02b98 Bump generator-aspnetcore-spa version to 0.8.3 for release 2017-02-09 15:49:39 +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 e8dd8089d4 In Angular2Spa, fix HMR with 2.4.6 and relax version dependency to allow arbitrary 2.x again. Fixes #643 2017-02-09 15:14:30 +00:00
SteveSandersonMS 66148dacf3 Move angular2-template-loader dependency version to ^0.6.2 now that the bug in 0.6.1 is fixed. Fixes #649. 2017-02-09 10:12:46 +00:00
SteveSandersonMS 8ca45f0d77 Bump generator-aspnetcore-spa to 0.8.2 for release 2017-02-07 17:57:21 +00:00
SteveSandersonMS 0559bbb9af Temporarily pin to Angular 2.4.5 and angular2-template-loader 0.6.0 because of bugs in their patch releases (#643, #649) 2017-02-07 17:52:37 +00:00
SteveSandersonMS 7b28d05373 Pin AureliaSpa to extract-text-webpack-plugin 2.0.0-beta.4 until it can move to Webpack 2.2.0 final. 2017-02-03 11:50:05 +00:00
Mark Pieszak a9e97f6783 fix(ng-router): update to 3.4.5 for experimental version
When everything is 4.x they'll all be on the same page / semantic versioning :)
2017-02-03 10:00:52 +00:00
SteveSandersonMS f8f4016b33 Minor tweak in Yeoman generator source to clarify intent (makes no difference in current cases, so no need to re-release the package for this) 2017-01-31 16:09:36 +00:00
SteveSandersonMS 59dbb1f88f Bump generator-aspnetcore-spa version to 0.8.1 for release 2017-01-31 15:26:27 +00:00
SteveSandersonMS ac75a3136d In generator-aspnetcore-spa, add option to produce Angular 2.4.5 project (with 'experimental' caveat) 2017-01-31 15:26:12 +00:00
SteveSandersonMS a3af5c0b25 In Angular2Spa, reference angular2-universal-patch. This will allow for upgrades to Angular 2.4.5. 2017-01-31 14:19:14 +00:00
SteveSandersonMS 847430a0d9 Update Karma config to allow for Webpack 2-style config file. Fixes #625. 2017-01-31 11:49:21 +00:00
SteveSandersonMS 55c3156df2 Bump generator-aspnetcore-spa version to 0.8.0 for release 2017-01-30 13:02:16 +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 6ed34ddd33 Update KnockoutSpa to Webpack 2 (plus awesome-typescript-loader) 2017-01-30 11:21:12 +00:00
SteveSandersonMS 9f7bc75960 Update ReactReduxSpa to Webpack 2 (plus awesome-typescript-loader) 2017-01-30 11:21:12 +00:00
SteveSandersonMS bdd7cfd38b Update ReactSpa to Webpack 2 (plus awesome-typescript-loader) 2017-01-30 11:21:12 +00:00
SteveSandersonMS be3fb6e876 Update Angular2Spa to Webpack 2 (plus awesome-typescript-loader for improved build speed) 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 1a49a27344 Use correct docker base image for csproj projects. Fixes #574. 2017-01-16 15:25:41 +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 a93f59c660 Add Aurelia to generator's README.md. Fixes #561. 2017-01-09 14:43: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 2a1435d9c1 Bump generator-aspnetcore-spa version to 0.7.3 2017-01-07 00:04:50 +00:00
SteveSandersonMS 6789dbc102 csproj-based projects don't need the _placeholder.txt files, because the publishing code correctly includes dist files even if they were not on disk before 2017-01-07 00:04:20 +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 8c456aa0fc Make Karma serve .ts files with executable MIME type, otherwise newer versions of Chrome won't run it. Fixes #499 2017-01-03 17:35:30 +00:00
SteveSandersonMS dad095b749 Bump generator-aspnetcore-spa version to 0.7.2 2017-01-02 11:59:51 +00:00
SteveSandersonMS f31b96fe1e Yeoman package builder emits .tar.gz artifact 2017-01-02 11:59:16 +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 4580412f73 Don't leave behind an unused package.json.tmp file 2016-12-15 16:42:25 +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 2135d77189 generator-aspnetcore-spa support for selecting between project.json and .csproj 2016-12-15 16:42:25 +00:00
SteveSandersonMS 62b676174e generator-aspnetcore-spa now displays its own version number on startup 2016-12-15 16:41:10 +00:00
SteveSandersonMS 6decb30681 Make 'counter' components use <h1> headers to be consistent with other pages 2016-12-15 16:37:29 +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 495c95d227 If generator fails because NPM is too old, exit with nonzero status code 2016-12-15 16:35:48 +00:00
SteveSandersonMS 4dd91a9b78 Make template package build script automate running the prepublish steps needed for the Angular2Spa template 2016-12-14 10:21:04 +00:00
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