react-native-ui-lib 8.2.2-snapshot.7681 → 8.2.2
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/package.json
CHANGED
|
@@ -3,16 +3,6 @@ const _ = require('lodash');
|
|
|
3
3
|
const chalk = require('chalk');
|
|
4
4
|
const childProcess = require('child_process');
|
|
5
5
|
const readline = require('readline');
|
|
6
|
-
const BRANCH_CATEGORIES = [
|
|
7
|
-
{name: 'features', branch: 'feat/', title: ':gift: Features'},
|
|
8
|
-
{name: 'web', branch: 'web/', title: ':spider_web: Web support'},
|
|
9
|
-
{name: 'fixes', branch: 'fix/', title: ':wrench: Fixes'},
|
|
10
|
-
{name: 'infra', branch: 'infra/', title: ':gear: Maintenance & Infra'}
|
|
11
|
-
];
|
|
12
|
-
|
|
13
|
-
function getBranchPrefixes() {
|
|
14
|
-
return BRANCH_CATEGORIES.map(category => category.branch);
|
|
15
|
-
}
|
|
16
6
|
|
|
17
7
|
function fetchLatestReleaseDate(tagPrefix, version) {
|
|
18
8
|
const release = childProcess.execSync(`gh release view ${tagPrefix}${version}`).toString();
|
|
@@ -181,7 +171,10 @@ function generateReleaseNotesFromPRs(PRs, categories, header) {
|
|
|
181
171
|
}
|
|
182
172
|
|
|
183
173
|
const prCategories = [
|
|
184
|
-
|
|
174
|
+
{name: 'features', branch: 'feat/', title: ':gift: Features'},
|
|
175
|
+
{name: 'web', branch: 'web/', title: ':spider_web: Web support'},
|
|
176
|
+
{name: 'fixes', branch: 'fix/', title: ':wrench: Fixes'},
|
|
177
|
+
{name: 'infra', branch: 'infra/', title: ':gear: Maintenance & Infra'},
|
|
185
178
|
...categories,
|
|
186
179
|
{name: 'others', branch: '', title: 'OTHERS'},
|
|
187
180
|
{
|
|
@@ -260,4 +253,4 @@ async function generateReleaseNotes(latestVersion,
|
|
|
260
253
|
});
|
|
261
254
|
}
|
|
262
255
|
|
|
263
|
-
module.exports = {generateReleaseNotes, generateReleaseNotesFromPRs, parsePR
|
|
256
|
+
module.exports = {generateReleaseNotes, generateReleaseNotesFromPRs, parsePR};
|
|
@@ -113,7 +113,7 @@ class GridListItem extends Component {
|
|
|
113
113
|
alignItems
|
|
114
114
|
}, {
|
|
115
115
|
width
|
|
116
|
-
}, containerStyle]}
|
|
116
|
+
}, containerStyle]} {...otherContainerProps} onPress={onPress && this.onItemPress} accessible={renderCustomItem ? true : undefined} {...Modifiers.extractAccessibilityProps(this.props)}>
|
|
117
117
|
{imageProps && <Image {...imageProps} style={[itemSize, imageProps?.style]} customOverlayContent={children} />}
|
|
118
118
|
{!_isNil(renderCustomItem) && <View style={{
|
|
119
119
|
width
|