-
Notifications
You must be signed in to change notification settings - Fork 121
/
Copy pathconstants.ts
31 lines (26 loc) · 894 Bytes
/
constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
export const DEFAULT_APP_NAME = 'RnDiffApp'
export const DEFAULT_APP_PACKAGE = 'com.rndiffapp'
export const FIRST_PRE_060_VERSION = '0.60'
export const FIRST_PRE_070_VERSION = '0.70'
export const PACKAGE_NAMES = {
RN: 'react-native',
RNM: 'react-native-macos',
RNW: 'react-native-windows',
}
export const LANGUAGE_NAMES = {
CPP: 'cpp',
CS: 'cs',
}
export const RN_DIFF_REPOSITORIES = {
[PACKAGE_NAMES.RN]: 'react-native-community/rn-diff-purge',
[PACKAGE_NAMES.RNM]: 'acoates-ms/rnw-diff',
[PACKAGE_NAMES.RNW]: 'acoates-ms/rnw-diff',
}
export const RN_CHANGELOG_URLS = {
[PACKAGE_NAMES.RN]:
'https://github.com/facebook/react-native/blob/main/CHANGELOG.md',
[PACKAGE_NAMES.RNM]:
'https://github.com/microsoft/react-native-macos/releases/tag/',
[PACKAGE_NAMES.RNW]:
'https://github.com/microsoft/react-native-windows/releases/tag/react-native-windows_',
}