diff --git a/package.json b/package.json index e02a51dba..87a385ff6 100644 --- a/package.json +++ b/package.json @@ -17,16 +17,16 @@ "precommit": "lint-staged" }, "devDependencies": { - "@types/jest": "^20.0.4", - "@types/node": "^7.0.21", - "@types/react": "^15.6.1", - "@types/react-dom": "^15.5.0", - "eslint": "^4.4.1", - "husky": "^0.13.2", - "lerna": "2.6.0", - "lerna-changelog": "^0.6.0", - "lint-staged": "^3.3.1", - "prettier": "1.6.1" + "@types/jest": "^23.3.1", + "@types/node": "^10.5.7", + "@types/react": "^16.4.9", + "@types/react-dom": "^16.0.7", + "eslint": "^5.3.0", + "husky": "^0.14.3", + "lerna": "^3.0.1", + "lerna-changelog": "^0.8.0", + "lint-staged": "^7.2.0", + "prettier": "^1.14.2" }, "lint-staged": { "*.js": [ diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json index eab07c1be..440a60776 100644 --- a/packages/react-dev-utils/package.json +++ b/packages/react-dev-utils/package.json @@ -60,5 +60,8 @@ }, "scripts": { "test": "jest" + }, + "jest": { + "testURL": "http://localhost/" } } diff --git a/packages/react-error-overlay/package.json b/packages/react-error-overlay/package.json index fe6c7fd68..93aa7d57a 100644 --- a/packages/react-error-overlay/package.json +++ b/packages/react-error-overlay/package.json @@ -76,6 +76,7 @@ "/node_modules/", "/fixtures/", "setupJest.js" - ] + ], + "testURL": "http://localhost/" } } diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index d1150a874..3cf57247f 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -75,7 +75,7 @@ root_path=$PWD if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify + npm cache verify fi # Bootstrap monorepo diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index 9a3f895a5..8598ab1c2 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -67,7 +67,7 @@ root_path=$PWD if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify + npm cache verify fi # Bootstrap monorepo diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index a1eecbaf0..1671a54f9 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -79,7 +79,7 @@ fi if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify + npm cache verify fi # Bootstrap monorepo diff --git a/tasks/publish.sh b/tasks/publish.sh index c1cae86c2..f81a8658e 100755 --- a/tasks/publish.sh +++ b/tasks/publish.sh @@ -36,4 +36,5 @@ cd packages/react-error-overlay/ npm run build:prod cd ../.. # Go! -./node_modules/.bin/lerna publish --independent "$@" \ No newline at end of file +git checkout master +./node_modules/.bin/lerna publish