Skip to content

Commit

Permalink
Run yarn after eject
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Oct 29, 2017
1 parent 2ca4c84 commit dea7cd7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ E2E_FILE=./build/index.html \
# Eject...
echo yes | npm run eject

if hash yarnpkg 2>/dev/null
then
yarn install --check-files
fi

# ...but still link to the local packages
install_package "$root_path"/packages/babel-preset-react-app
install_package "$root_path"/packages/eslint-config-react-app
Expand Down
5 changes: 5 additions & 0 deletions tasks/e2e-simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ verify_module_scope
# Eject...
echo yes | npm run eject

if hash yarnpkg 2>/dev/null
then
yarn install --check-files
fi

# ...but still link to the local packages
install_package "$root_path"/packages/babel-preset-react-app
install_package "$root_path"/packages/eslint-config-react-app
Expand Down

0 comments on commit dea7cd7

Please sign in to comment.