We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 324428f commit 971f249Copy full SHA for 971f249
packages/create-react-app/createReactApp.js
@@ -443,6 +443,8 @@ function run(
443
)
444
.then(({ isOnline, packageInfo, templateInfo }) => {
445
let packageVersion = semver.coerce(packageInfo.version);
446
+
447
+ // This environment variable can be removed post-release.
448
const templatesVersionMinimum = process.env.CRA_INTERNAL_TEST
449
? '3.2.0'
450
: '3.3.0';
@@ -454,7 +456,7 @@ function run(
454
456
455
457
// Only support templates when used alongside new react-scripts versions.
458
const supportsTemplates = semver.gte(
- semver.coerce(packageVersion),
459
+ packageVersion,
460
templatesVersionMinimum
461
);
462
if (supportsTemplates) {
0 commit comments