Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
ebddb83d
Unverified
Commit
ebddb83d
authored
7 years ago
by
Joe Haddad
Committed by
GitHub
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Remove redundant steps in e2e tests (#3747)
* This doesn't look needed anymore * Remove unnecessary rebuilds
parent
29e06fc9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tasks/e2e-installs.sh
+1
-11
tasks/e2e-installs.sh
tasks/e2e-kitchensink.sh
+1
-11
tasks/e2e-kitchensink.sh
tasks/e2e-simple.sh
+1
-8
tasks/e2e-simple.sh
with
3 additions
and
30 deletions
+3
-30
tasks/e2e-installs.sh
+
1
-
11
View file @
ebddb83d
...
@@ -73,18 +73,8 @@ then
...
@@ -73,18 +73,8 @@ then
npm cache clean
||
npm cache verify
npm cache clean
||
npm cache verify
fi
fi
# Prevent bootstrap, we only want top-level dependencies
# Bootstrap monorepo
cp
package.json package.json.bak
grep
-v
"postinstall"
package.json
>
temp
&&
mv
temp package.json
yarn
yarn
mv
package.json.bak package.json
# We removed the postinstall, so do it manually
node bootstrap.js
cd
packages/react-error-overlay/
yarn run build:prod
cd
../..
# ******************************************************************************
# ******************************************************************************
# First, publish the monorepo.
# First, publish the monorepo.
...
...
This diff is collapsed.
Click to expand it.
tasks/e2e-kitchensink.sh
+
1
-
11
View file @
ebddb83d
...
@@ -65,18 +65,8 @@ then
...
@@ -65,18 +65,8 @@ then
npm cache clean
||
npm cache verify
npm cache clean
||
npm cache verify
fi
fi
# Prevent bootstrap, we only want top-level dependencies
# Bootstrap monorepo
cp
package.json package.json.bak
grep
-v
"postinstall"
package.json
>
temp
&&
mv
temp package.json
yarn
yarn
mv
package.json.bak package.json
# We removed the postinstall, so do it manually
node bootstrap.js
cd
packages/react-error-overlay/
yarn build:prod
cd
../..
# ******************************************************************************
# ******************************************************************************
# First, publish the monorepo.
# First, publish the monorepo.
...
...
This diff is collapsed.
Click to expand it.
tasks/e2e-simple.sh
+
1
-
8
View file @
ebddb83d
...
@@ -77,11 +77,8 @@ then
...
@@ -77,11 +77,8 @@ then
npm cache clean
||
npm cache verify
npm cache clean
||
npm cache verify
fi
fi
# Prevent bootstrap, we only want top-level dependencies
# Bootstrap monorepo
cp
package.json package.json.bak
grep
-v
"postinstall"
package.json
>
temp
&&
mv
temp package.json
yarn
yarn
mv
package.json.bak package.json
# Start local registry
# Start local registry
tmp_registry_log
=
`
mktemp
`
tmp_registry_log
=
`
mktemp
`
...
@@ -96,9 +93,6 @@ yarn config set registry http://localhost:4873
...
@@ -96,9 +93,6 @@ yarn config set registry http://localhost:4873
# Login so we can publish packages
# Login so we can publish packages
npx npm-cli-login@0.0.10
-u
user
-p
password
-e
user@example.com
-r
http://localhost:4873
--quotes
npx npm-cli-login@0.0.10
-u
user
-p
password
-e
user@example.com
-r
http://localhost:4873
--quotes
# We removed the postinstall, so do it manually here
node bootstrap.js
# Lint own code
# Lint own code
./node_modules/.bin/eslint
--max-warnings
0 packages/babel-preset-react-app/
./node_modules/.bin/eslint
--max-warnings
0 packages/babel-preset-react-app/
./node_modules/.bin/eslint
--max-warnings
0 packages/create-react-app/
./node_modules/.bin/eslint
--max-warnings
0 packages/create-react-app/
...
@@ -108,7 +102,6 @@ node bootstrap.js
...
@@ -108,7 +102,6 @@ node bootstrap.js
cd
packages/react-error-overlay/
cd
packages/react-error-overlay/
./node_modules/.bin/eslint
--max-warnings
0 src/
./node_modules/.bin/eslint
--max-warnings
0 src/
yarn
test
yarn
test
yarn build:prod
cd
../..
cd
../..
cd
packages/react-dev-utils/
cd
packages/react-dev-utils/
yarn
test
yarn
test
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment