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
a53f22b7
Commit
a53f22b7
authored
7 years ago
by
Joe Haddad
Committed by
GitHub
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix AppVeyor CI (#2010)
parent
d6173fd2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tasks/e2e-installs.sh
+7
-0
tasks/e2e-installs.sh
tasks/e2e-kitchensink.sh
+7
-0
tasks/e2e-kitchensink.sh
tasks/e2e-simple.sh
+2
-4
tasks/e2e-simple.sh
with
16 additions
and
4 deletions
+16
-4
tasks/e2e-installs.sh
+
7
-
0
View file @
a53f22b7
...
@@ -83,7 +83,11 @@ set -x
...
@@ -83,7 +83,11 @@ set -x
cd
..
cd
..
root_path
=
$PWD
root_path
=
$PWD
# Prevent lerna bootstrap, we only want top-level dependencies
cp
package.json package.json.bak
grep
-v
"lerna bootstrap"
package.json
>
temp
&&
mv
temp package.json
npm
install
npm
install
mv
package.json.bak package.json
if
[
"
$USE_YARN
"
=
"yes"
]
if
[
"
$USE_YARN
"
=
"yes"
]
then
then
...
@@ -92,6 +96,9 @@ then
...
@@ -92,6 +96,9 @@ then
yarn cache clean
yarn cache clean
fi
fi
# We removed the postinstall, so do it manually
./node_modules/.bin/lerna bootstrap
--concurrency
=
1
# ******************************************************************************
# ******************************************************************************
# First, pack and install create-react-app.
# First, pack and install create-react-app.
# ******************************************************************************
# ******************************************************************************
...
...
This diff is collapsed.
Click to expand it.
tasks/e2e-kitchensink.sh
+
7
-
0
View file @
a53f22b7
...
@@ -66,7 +66,11 @@ set -x
...
@@ -66,7 +66,11 @@ set -x
cd
..
cd
..
root_path
=
$PWD
root_path
=
$PWD
# Prevent lerna bootstrap, we only want top-level dependencies
cp
package.json package.json.bak
grep
-v
"lerna bootstrap"
package.json
>
temp
&&
mv
temp package.json
npm
install
npm
install
mv
package.json.bak package.json
if
[
"
$USE_YARN
"
=
"yes"
]
if
[
"
$USE_YARN
"
=
"yes"
]
then
then
...
@@ -75,6 +79,9 @@ then
...
@@ -75,6 +79,9 @@ then
yarn cache clean
yarn cache clean
fi
fi
# We removed the postinstall, so do it manually
./node_modules/.bin/lerna bootstrap
--concurrency
=
1
# ******************************************************************************
# ******************************************************************************
# First, pack react-scripts and create-react-app so we can use them.
# First, pack react-scripts and create-react-app so we can use them.
# ******************************************************************************
# ******************************************************************************
...
...
This diff is collapsed.
Click to expand it.
tasks/e2e-simple.sh
+
2
-
4
View file @
a53f22b7
...
@@ -84,10 +84,8 @@ then
...
@@ -84,10 +84,8 @@ then
[[
$err_output
=
~ You
\
are
\
running
\
Node
]]
&&
exit
0
||
exit
1
[[
$err_output
=
~ You
\
are
\
running
\
Node
]]
&&
exit
0
||
exit
1
fi
fi
# Still use npm install instead of directly calling lerna bootstrap to test
# We removed the postinstall, so do it manually here
# postinstall script functionality (one npm install should result in a working
./node_modules/.bin/lerna bootstrap
--concurrency
=
1
# project)
npm
install
if
[
"
$USE_YARN
"
=
"yes"
]
if
[
"
$USE_YARN
"
=
"yes"
]
then
then
...
...
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