Fix some issues when building with Korebuild. Also make it build the project templates.

This commit is contained in:
SteveSandersonMS
2016-10-05 10:59:24 +01:00
parent 81d96766ee
commit ff396377b9
8 changed files with 9 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
var VERSION='0.1' var VERSION='0.1'
var FULL_VERSION='0.1' var FULL_VERSION='0.1'
var AUTHORS='Microsoft Open Technologies, Inc.' var AUTHORS='Microsoft Open Technologies, Inc.'
var SAMPLES_PROJECT_GLOB='templates/*/project.json'
use-standard-lifecycle use-standard-lifecycle
k-standard-goals k-standard-goals

View File

@@ -37,7 +37,8 @@ namespace Webpack.ActionResults
_moduleExport, _moduleExport,
request.GetEncodedUrl(), request.GetEncodedUrl(),
request.Path + request.QueryString.Value, request.Path + request.QueryString.Value,
_dataToSupply _dataToSupply,
/* timeoutMilliseconds */ 30000
); );
response.ContentType = "text/html"; response.ContentType = "text/html";

View File

@@ -5,7 +5,7 @@
"main": "./dist/Exports", "main": "./dist/Exports",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "node node_modules/.bin/rimraf *.d.ts dist/*.d.ts && tsd install && tsc && node build.js" "prepublish": "rimraf *.d.ts dist/*.d.ts && tsd install && tsc && node build.js"
}, },
"typings": "dist/Exports", "typings": "dist/Exports",
"author": "Microsoft", "author": "Microsoft",

View File

@@ -5,7 +5,7 @@
"main": "main.js", "main": "main.js",
"typings": "main.d.ts", "typings": "main.d.ts",
"scripts": { "scripts": {
"prepublish": "node node_modules/.bin/rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'", "prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "Microsoft", "author": "Microsoft",

View File

@@ -4,7 +4,7 @@
"description": "Helpers for server-side rendering of JavaScript applications in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.", "description": "Helpers for server-side rendering of JavaScript applications in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"prepublish": "node node_modules/.bin/rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-prerendering\"'", "prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-prerendering\"'",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "Microsoft", "author": "Microsoft",

View File

@@ -4,7 +4,7 @@
"description": "Helpers for using Webpack with React in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.", "description": "Helpers for using Webpack with React in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"prepublish": "node node_modules/.bin/rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-webpack-react\"'", "prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-webpack-react\"'",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "Microsoft", "author": "Microsoft",

View File

@@ -4,7 +4,7 @@
"description": "Helpers for using Webpack in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.", "description": "Helpers for using Webpack in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"prepublish": "node node_modules/.bin/rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-webpack\"'", "prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"aspnet-webpack\"'",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "Microsoft", "author": "Microsoft",

View File

@@ -4,7 +4,7 @@
"description": "Tracks outstanding operations for a logical thread of execution", "description": "Tracks outstanding operations for a logical thread of execution",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"prepublish": "node node_modules/.bin/rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"domain-task\"'", "prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"domain-task\"'",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "Microsoft", "author": "Microsoft",