Skip to content

Commit 233e3d0

Browse files
Merge pull request cerebral#10 from cerebral/build
chore(release): fix repo-cooker version and scripts
2 parents eb53491 + 890124d commit 233e3d0

File tree

7 files changed

+7
-11
lines changed

7 files changed

+7
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"prettier": "1.13.7",
6161
"react": "16.4.1",
6262
"react-test-renderer": "16.4.1",
63-
"repo-cooker": "^6.2.2",
63+
"repo-cooker": "^6.2.4",
6464
"rimraf": "2.6.2",
6565
"ts-jest": "23.0.0",
6666
"ts-loader": "4.4.2",

packages/node_modules/action-chain/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"typecheck": "tsc --noEmit",
1717
"test": "jest",
1818
"test:watch": "jest --watch --updateSnapshot --coverage false",
19-
"prepare": "npm run build",
2019
"prebuild": "npm run clean",
2120
"postbuild": "rimraf {lib,es}/**/__tests__",
2221
"posttest": "npm run typecheck"

packages/node_modules/overmind/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"typecheck": "tsc --noEmit",
1717
"test": "jest",
1818
"test:watch": "jest --watch --updateSnapshot --coverage false",
19-
"prepare": "npm run build",
2019
"prebuild": "npm run clean",
2120
"postbuild": "rimraf {lib,es}/**/__tests__",
2221
"posttest": "npm run typecheck"

packages/node_modules/overmind/src/views/react.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export default class ReactApp<
5050
const componentId = nextComponentId++
5151
let componentInstanceId = 0
5252
const instance = this
53-
const isClassComponent = typeof Component.prototype.render === 'function'
53+
const isClassComponent =
54+
Component.prototype && typeof Component.prototype.render === 'function'
5455

5556
if (isClassComponent) {
5657
const originalRender = Component.prototype.render

packages/node_modules/overmind/tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "es6",
44
"module": "commonjs",
55
"jsx": "react",
66
"rootDir": "src",
@@ -12,8 +12,7 @@
1212
"declaration": true,
1313
"pretty": true,
1414
"sourceMap": true,
15-
"inlineSources": true,
16-
"downlevelIteration": true
15+
"inlineSources": true
1716
},
1817
"exclude": ["node_modules", "dist", "es", "lib"]
1918
}

packages/node_modules/proxy-state-tree/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"typecheck": "tsc --noEmit",
1414
"test": "jest",
1515
"test:watch": "jest --watch --updateSnapshot --coverage false",
16-
"prepare": "npm run build",
1716
"prebuild": "npm run clean",
1817
"postbuild": "rimraf {lib,es}/**/__tests__",
1918
"posttest": "npm run typecheck"
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "es6",
44
"module": "commonjs",
55
"rootDir": "src",
66
"outDir": ".code",
@@ -11,8 +11,7 @@
1111
"declaration": true,
1212
"pretty": true,
1313
"sourceMap": true,
14-
"inlineSources": true,
15-
"downlevelIteration": true
14+
"inlineSources": true
1615
},
1716
"exclude": ["node_modules", "dist", "es", "lib"]
1817
}

0 commit comments

Comments
 (0)