Skip to content

Commit

Permalink
revert workaround yarn commands since they operate on compiled repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Aug 23, 2021
1 parent e675e93 commit ea23782
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tasks/e2e-installs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ CI=true npm test
echo yes | npm run eject

# Temporary workaround for https://github.com/facebook/create-react-app/issues/6099
rm package-lock.json
npm install @babel/plugin-transform-react-jsx-source @babel/plugin-syntax-jsx @babel/plugin-transform-react-jsx @babel/plugin-transform-react-jsx-self
rm yarn.lock
yarn add @babel/plugin-transform-react-jsx-source @babel/plugin-syntax-jsx @babel/plugin-transform-react-jsx @babel/plugin-transform-react-jsx-self

# Ensure env file still exists
exists src/react-app-env.d.ts
Expand Down
4 changes: 2 additions & 2 deletions tasks/e2e-kitchensink-eject.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ npm link "$temp_module_path/node_modules/test-integrity"
echo yes | npm run eject

# Temporary workaround for https://github.com/facebook/create-react-app/issues/6099
rm package-lock.json
npm install @babel/plugin-transform-react-jsx-source @babel/plugin-syntax-jsx @babel/plugin-transform-react-jsx @babel/plugin-transform-react-jsx-self
rm yarn.lock
yarn add @babel/plugin-transform-react-jsx-source @babel/plugin-syntax-jsx @babel/plugin-transform-react-jsx @babel/plugin-transform-react-jsx-self

# Link to test module
npm link "$temp_module_path/node_modules/test-integrity"
Expand Down

0 comments on commit ea23782

Please sign in to comment.