@react-native-community/cli-tools
Advanced tools
Comparing version 14.0.0-alpha.2 to 14.0.0-alpha.3
@@ -35,5 +35,5 @@ "use strict"; | ||
// if the version is a 1000.0.0 version or 0.0.0, we want to bail | ||
// if the version is a nightly/canary build, we want to bail | ||
// since they are nightlies or unreleased versions | ||
if (currentVersion.includes('1000.0.0') || currentVersion.includes('0.0.0')) { | ||
if (['-canary', '-nightly'].some(s => currentVersion.includes(s))) { | ||
return; | ||
@@ -40,0 +40,0 @@ } |
import { SemVer } from 'semver'; | ||
import { Release } from './getLatestRelease'; | ||
import { type Release } from './getLatestRelease'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Logs out a message if the user's version is behind a stable version of React Native |
@@ -1,2 +0,2 @@ | ||
import { Release } from './getLatestRelease'; | ||
import type { Release } from './getLatestRelease'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Notifies the user that a newer version of React Native is available. |
{ | ||
"name": "@react-native-community/cli-tools", | ||
"version": "14.0.0-alpha.2", | ||
"version": "14.0.0-alpha.3", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "main": "build/index.js", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "14.0.0-alpha.2", | ||
"@react-native-community/cli-types": "14.0.0-alpha.3", | ||
"@types/lodash": "^4.14.149", | ||
@@ -42,3 +42,3 @@ "@types/mime": "^2.0.1", | ||
}, | ||
"gitHead": "61b6be6b86152fa9b6036968a15d7189de04ace8" | ||
"gitHead": "be880b86cdb3f4ea104cf232b95d11f84613321b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201263