Skip to content

Commit ea23782

Browse files
committed
revert workaround yarn commands since they operate on compiled repo
1 parent e675e93 commit ea23782

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tasks/e2e-installs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ CI=true npm test
173173
echo yes | npm run eject
174174

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

179179
# Ensure env file still exists
180180
exists src/react-app-env.d.ts

tasks/e2e-kitchensink-eject.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ npm link "$temp_module_path/node_modules/test-integrity"
121121
echo yes | npm run eject
122122

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

127127
# Link to test module
128128
npm link "$temp_module_path/node_modules/test-integrity"

0 commit comments

Comments
 (0)