@bigcommerce/create-catalyst 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.cjs CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  const semver = require('semver');
4
4
 
5
- const catalystRequiredNodeVersion = '>=20';
5
+ const catalystRequiredNodeVersion = '^20';
6
6
  const userNodeVersion = process.version;
7
7
 
8
8
  if (!semver.satisfies(userNodeVersion, catalystRequiredNodeVersion)) {
9
- console.error(`\n\x1b[31mYou are using Node.js version: ${userNodeVersion}.`);
10
- console.error(`Catalyst requires Node.js version: ${catalystRequiredNodeVersion}.\x1b[0m\n`);
9
+ console.error(`\n\x1b[31mYou are using Node.js ${userNodeVersion}.`);
10
+ console.error(`Catalyst requires Node.js version ${catalystRequiredNodeVersion}.\x1b[0m\n`);
11
11
  process.exit(1);
12
12
  }
13
13