Update aspnet-webpack-react to React 15

^15.0.0 is enough

Update ReactGrid example to work with newest Griddle version

Several fixes to stop build.sh from failing
This commit is contained in:
Geir Sagberg
2016-08-12 11:42:19 +02:00
committed by SteveSandersonMS
parent 6d8767d141
commit 0ad0483935
10 changed files with 45 additions and 37 deletions

View File

@@ -5,7 +5,7 @@
"main": "./dist/Exports",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "tsd install && tsc && node build.js"
"prepublish": "rimraf *.d.ts dist/*.d.ts && tsd install && tsc && node build.js"
},
"typings": "dist/Exports",
"author": "Microsoft",
@@ -17,6 +17,7 @@
"devDependencies": {
"es6-shim": "^0.35.0",
"reflect-metadata": "^0.1.2",
"rimraf": "^2.5.4",
"systemjs-builder": "^0.14.11",
"typescript": "^1.8.10",
"zone.js": "^0.6.10"

View File

@@ -5,12 +5,13 @@
"main": "main.js",
"typings": "main.d.ts",
"scripts": {
"prepublish": "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"
},
"author": "Microsoft",
"license": "Apache-2.0",
"devDependencies": {
"rimraf": "^2.5.4",
"typescript": "^1.8.10"
}
}

View File

@@ -38,5 +38,5 @@ export interface Reducer<TState> extends Function {
}
export interface ActionCreatorGeneric<TState> extends Function {
(dispatch: Dispatch, getState: () => TState): any;
(dispatch: Dispatch<TState>, getState: () => TState): any;
}

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.",
"main": "index.js",
"scripts": {
"prepublish": "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"
},
"author": "Microsoft",
@@ -14,6 +14,7 @@
"es6-promise": "^3.1.2"
},
"devDependencies": {
"rimraf": "^2.5.4",
"typescript": "^1.8.10"
}
}

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.",
"main": "index.js",
"scripts": {
"prepublish": "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"
},
"author": "Microsoft",
@@ -15,11 +15,12 @@
"babel-plugin-react-transform": "^2.0.2",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"react": "^0.14.7",
"react": "^15.0.0",
"react-transform-hmr": "^1.0.4",
"webpack": "^1.12.14"
},
"devDependencies": {
"rimraf": "^2.5.4",
"typescript": "^1.8.10"
}
}

View File

@@ -19,7 +19,7 @@
"webpack-externals-plugin": "^1.0.0"
},
"devDependencies": {
"typescript": "^1.8.10",
"rimraf": "^2.5.2"
"rimraf": "^2.5.4",
"typescript": "^1.8.10"
}
}

View File

@@ -4,7 +4,7 @@
"description": "Tracks outstanding operations for a logical thread of execution",
"main": "index.js",
"scripts": {
"prepublish": "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"
},
"author": "Microsoft",
@@ -14,6 +14,7 @@
"isomorphic-fetch": "^2.2.1"
},
"devDependencies": {
"rimraf": "^2.5.4",
"typescript": "^1.8.10"
}
}