react-native-rename
react-native-rename copied to clipboard
feat: allow special characters (like &, -, −, etc.)
App name can consists of many characters that don't fit into \p{Letter}
regexp. For example, the app I currently working on contains &
. Like m&ms
. Also different type of hyphens are also popular.
-
clearAppName
clears the name from any non-alphanumeric characters for usage in paths and as identifiers. -
escapeEntities
escapes&<>
in names for usage in XML files -
isValidAppStoreName
is a draft for checking if an app name fits into AppStore rules -
--force
option to ignore AppStore rules (I find it useful if targeting only GooglePlay) -
package.json
name convertedtoLowerCase
since only lowercased package names are valid
Yeah... seems like prettier reformatted some lines I didn't touch. 😅