File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,18 @@ if [ "$(ls -1 ./test-app-should-remain | wc -l | tr -d '[:space:]')" != "1" ]; t
145
145
false
146
146
fi
147
147
148
+ # ******************************************************************************
149
+ # Test --scripts-version with a scoped fork tgz of react-scripts
150
+ # ******************************************************************************
151
+
152
+ cd $temp_app_path
153
+ curl " https://registry.npmjs.org/@enoah_netzach/react-scripts/-/react-scripts-0.9.0.tgz" -o enoah-scripts-0.9.0.tgz
154
+ create_react_app --scripts-version=$temp_app_path /enoah-scripts-0.9.0.tgz test-app-scoped-fork-tgz
155
+ cd test-app-scoped-fork
156
+
157
+ # Check corresponding scripts version is installed.
158
+ exists node_modules/@enoah_netzach/react-scripts
159
+
148
160
# ******************************************************************************
149
161
# Test nested folder path as the project name
150
162
# ******************************************************************************
You can’t perform that action at this time.
0 commit comments