@hero-design/rn 7.10.2 → 7.12.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/.turbo/turbo-build.log +8 -8
- package/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +3778 -728
- package/global-setup.js +3 -0
- package/jest.config.js +1 -0
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +3779 -726
- package/package.json +7 -3
- package/rollup.config.js +8 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/ContentNavigator/__tests__/index.spec.tsx +19 -2
- package/src/components/ContentNavigator/index.tsx +12 -1
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/FAB/ActionGroup/index.tsx +16 -5
- package/src/components/Icon/HeroIcon/selection.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/PinInput/PinCell.tsx +34 -0
- package/src/components/PinInput/StyledPinInput.tsx +88 -0
- package/src/components/PinInput/__tests__/PinCell.spec.tsx +48 -0
- package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +22 -0
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +186 -0
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +58 -0
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +1028 -0
- package/src/components/PinInput/__tests__/index.spec.tsx +91 -0
- package/src/components/PinInput/index.tsx +173 -0
- package/src/components/Select/MultiSelect/Option.tsx +1 -1
- package/src/components/Select/MultiSelect/OptionList.tsx +48 -26
- package/src/components/Select/MultiSelect/__tests__/OptionList.spec.tsx +13 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1062 -556
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +983 -889
- package/src/components/Select/MultiSelect/index.tsx +59 -31
- package/src/components/Select/SingleSelect/OptionList.tsx +45 -26
- package/src/components/Select/SingleSelect/__tests__/OptionList.spec.tsx +8 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +992 -500
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +880 -786
- package/src/components/Select/SingleSelect/index.tsx +60 -31
- package/src/components/Select/StyledOptionList.tsx +88 -0
- package/src/components/Select/StyledSelect.tsx +18 -16
- package/src/components/Select/__tests__/StyledSelect.spec.tsx +1 -14
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +0 -13
- package/src/components/Select/types.tsx +47 -0
- package/src/components/TextInput/__tests__/index.spec.tsx +15 -0
- package/src/components/TextInput/index.tsx +20 -16
- package/src/components/TimePicker/StyledTimePicker.tsx +8 -0
- package/src/components/TimePicker/TimePickerAndroid.tsx +61 -0
- package/src/components/TimePicker/TimePickerIOS.tsx +91 -0
- package/src/components/TimePicker/__tests__/TimePicker.spec.tsx +34 -0
- package/src/components/TimePicker/__tests__/TimePickerAndroid.spec.tsx +39 -0
- package/src/components/TimePicker/__tests__/TimePickerIOS.spec.tsx +46 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +200 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +513 -0
- package/src/components/TimePicker/index.tsx +15 -0
- package/src/components/TimePicker/types.ts +50 -0
- package/src/components/Typography/Text/StyledText.tsx +1 -1
- package/src/components/Typography/Text/__tests__/StyledText.spec.tsx +1 -0
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +22 -0
- package/src/components/Typography/Text/index.tsx +1 -1
- package/src/index.ts +4 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +44 -0
- package/src/theme/components/pinInput.ts +45 -0
- package/src/theme/components/select.ts +4 -0
- package/src/theme/components/timePicker.ts +11 -0
- package/src/theme/components/typography.ts +2 -0
- package/src/theme/global/colors.ts +1 -1
- package/src/theme/global/space.ts +10 -10
- package/src/theme/index.ts +9 -3
- package/testUtils/setup.tsx +10 -0
- package/types/components/ContentNavigator/index.d.ts +5 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/PinInput/PinCell.d.ts +8 -0
- package/types/components/PinInput/StyledPinInput.d.ts +73 -0
- package/types/components/PinInput/__tests__/PinCell.spec.d.ts +1 -0
- package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +1 -0
- package/types/components/PinInput/__tests__/index.spec.d.ts +1 -0
- package/types/components/PinInput/index.d.ts +48 -0
- package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
- package/types/components/Select/MultiSelect/index.d.ts +3 -25
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/index.d.ts +4 -26
- package/types/components/Select/StyledOptionList.d.ts +17 -0
- package/types/components/Select/StyledSelect.d.ts +7 -7
- package/types/components/Select/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +44 -0
- package/types/components/TimePicker/StyledTimePicker.d.ts +8 -0
- package/types/components/TimePicker/TimePickerAndroid.d.ts +3 -0
- package/types/components/TimePicker/TimePickerIOS.d.ts +3 -0
- package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +1 -0
- package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +1 -0
- package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +1 -0
- package/types/components/TimePicker/index.d.ts +3 -0
- package/types/components/TimePicker/types.d.ts +49 -0
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/index.d.ts +3 -1
- package/types/theme/components/pinInput.d.ts +35 -0
- package/types/theme/components/select.d.ts +4 -0
- package/types/theme/components/timePicker.d.ts +6 -0
- package/types/theme/components/typography.d.ts +2 -0
- package/types/theme/index.d.ts +6 -2
- package/src/components/Select/types.ts +0 -1
- package/src/components/TextInput/__tests__/.log/ti-10343.log +0 -62
- package/src/components/TextInput/__tests__/.log/tsserver.log +0 -15584
|
@@ -7,12 +7,6 @@ declare const OptionWrapper: import("@emotion/native").StyledComponent<import("r
|
|
|
7
7
|
}, {}, {
|
|
8
8
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
9
9
|
}>;
|
|
10
|
-
declare const OptionListWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
13
|
-
}, {}, {
|
|
14
|
-
ref?: import("react").Ref<View> | undefined;
|
|
15
|
-
}>;
|
|
16
10
|
declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
17
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
12
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -23,4 +17,10 @@ declare const FooterText: import("@emotion/native").StyledComponent<import("../T
|
|
|
23
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
18
|
as?: import("react").ElementType<any> | undefined;
|
|
25
19
|
}, {}, {}>;
|
|
26
|
-
|
|
20
|
+
declare const StyledSearchBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
21
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
+
as?: import("react").ElementType<any> | undefined;
|
|
23
|
+
}, {}, {
|
|
24
|
+
ref?: import("react").Ref<View> | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
export { OptionWrapper, Spacer, FooterText, StyledSearchBar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MultiSelect from './MultiSelect';
|
|
2
|
-
declare const _default: (<T>({
|
|
2
|
+
declare const _default: (<T>({ label, loading, onConfirm, onDimiss, onEndReached, onQueryChange, options, query, style, testID, value, }: import("./SingleSelect").SingleSelectProps<T>) => JSX.Element) & {
|
|
3
3
|
Multi: typeof MultiSelect;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,49 @@
|
|
|
1
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
1
2
|
export declare type OptionType<T> = {
|
|
2
3
|
value: T;
|
|
3
4
|
text: string;
|
|
4
5
|
key?: string;
|
|
5
6
|
};
|
|
7
|
+
export interface SelectProps<T> {
|
|
8
|
+
/**
|
|
9
|
+
* An array of options to be selected.
|
|
10
|
+
*/
|
|
11
|
+
options: OptionType<T>[];
|
|
12
|
+
/**
|
|
13
|
+
* Used to extract a unique key for a given option at the specified index. Key is used for caching and as the react key to track item re-ordering.
|
|
14
|
+
* The default extractor checks option.key, and then falls back to using the index, like React does.
|
|
15
|
+
*/
|
|
16
|
+
keyExtractor?: (option: OptionType<T>, index?: number) => string;
|
|
17
|
+
/**
|
|
18
|
+
* Current search value.
|
|
19
|
+
*/
|
|
20
|
+
query?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Search bar onChangeText event handler
|
|
23
|
+
*/
|
|
24
|
+
onQueryChange?: (value: string) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Event handler when selection dimiss
|
|
27
|
+
*/
|
|
28
|
+
onDimiss?: () => void;
|
|
29
|
+
/**
|
|
30
|
+
* Event handler when end of the list reached
|
|
31
|
+
*/
|
|
32
|
+
onEndReached?: () => void;
|
|
33
|
+
/**
|
|
34
|
+
* Show indicator at bottom of option list
|
|
35
|
+
*/
|
|
36
|
+
loading?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Field label.
|
|
39
|
+
*/
|
|
40
|
+
label: string;
|
|
41
|
+
/**
|
|
42
|
+
* Additional style.
|
|
43
|
+
*/
|
|
44
|
+
style?: StyleProp<ViewStyle>;
|
|
45
|
+
/**
|
|
46
|
+
* Testing id of the component.
|
|
47
|
+
*/
|
|
48
|
+
testID?: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { View, ViewProps } from 'react-native';
|
|
2
|
+
declare const StyledPickerWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, {}, {
|
|
6
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
export { StyledPickerWrapper };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
export interface TimePickerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Time picker input label.
|
|
5
|
+
*/
|
|
6
|
+
label: string;
|
|
7
|
+
/**
|
|
8
|
+
* Current time value. Must be in correct default format or format provided via format prop.
|
|
9
|
+
*/
|
|
10
|
+
value: Date | null;
|
|
11
|
+
/**
|
|
12
|
+
* Input placeholder. Time format will be used as placeholder if not specified.
|
|
13
|
+
*/
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Callback that is called when new value is selected.
|
|
17
|
+
*/
|
|
18
|
+
onChange: (value: Date) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Confirm label text. iOS only.
|
|
21
|
+
*/
|
|
22
|
+
confirmLabel: string;
|
|
23
|
+
/**
|
|
24
|
+
* Time display format of current value presented on the input. Default format is: HH:mm aa.
|
|
25
|
+
* Following date-fns's format (https://date-fns.org/v2.16.1/docs/format).
|
|
26
|
+
* This also change how the time picker display between 24 hour and 12 hour mode.
|
|
27
|
+
*/
|
|
28
|
+
displayFormat?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the Time picker is disabled.
|
|
31
|
+
*/
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Error message to display.
|
|
35
|
+
*/
|
|
36
|
+
error?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the value is required, if true, an asterisk will be appended to the label.
|
|
39
|
+
*/
|
|
40
|
+
required?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Addtional style.
|
|
43
|
+
*/
|
|
44
|
+
style?: StyleProp<ViewStyle>;
|
|
45
|
+
/**
|
|
46
|
+
* Testing id of the component..
|
|
47
|
+
*/
|
|
48
|
+
testID?: string;
|
|
49
|
+
}
|
|
@@ -3,7 +3,7 @@ declare const StyledText: import("@emotion/native").StyledComponent<import("reac
|
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
as?: import("react").ElementType<any> | undefined;
|
|
5
5
|
} & {
|
|
6
|
-
themeFontSize: 'small' | 'medium' | 'large' | 'xlarge';
|
|
6
|
+
themeFontSize: 'small' | 'medium' | 'large' | 'xlarge' | 'xxxxxlarge';
|
|
7
7
|
themeFontWeight: 'light' | 'regular' | 'semi-bold';
|
|
8
8
|
themeIntent: 'body' | 'subdued' | 'primary' | 'success' | 'info' | 'warning' | 'danger';
|
|
9
9
|
}, {}, {
|
package/types/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import Drawer from './components/Drawer';
|
|
|
15
15
|
import FAB from './components/FAB';
|
|
16
16
|
import Icon from './components/Icon';
|
|
17
17
|
import List from './components/List';
|
|
18
|
+
import PinInput from './components/PinInput';
|
|
18
19
|
import Progress from './components/Progress';
|
|
19
20
|
import Spinner from './components/Spinner';
|
|
20
21
|
import Radio from './components/Radio';
|
|
@@ -24,8 +25,9 @@ import Switch from './components/Switch';
|
|
|
24
25
|
import Tabs from './components/Tabs';
|
|
25
26
|
import Tag from './components/Tag';
|
|
26
27
|
import TextInput from './components/TextInput';
|
|
28
|
+
import TimePicker from './components/TimePicker';
|
|
27
29
|
import Toast from './components/Toast';
|
|
28
30
|
import Toolbar from './components/Toolbar';
|
|
29
31
|
import Typography from './components/Typography';
|
|
30
|
-
export { theme, getTheme, useTheme, scale, ThemeProvider, Alert, Avatar, Badge, BottomNavigation, BottomSheet, Button, Card, Collapse, Checkbox, ContentNavigator, Divider, Drawer, FAB, Icon, List, Progress, Spinner, Radio, SectionHeading, Select, Switch, Tabs, Tag, TextInput, Toast, Toolbar, Typography, };
|
|
32
|
+
export { theme, getTheme, useTheme, scale, ThemeProvider, Alert, Avatar, Badge, BottomNavigation, BottomSheet, Button, Card, Collapse, Checkbox, ContentNavigator, Divider, Drawer, FAB, Icon, List, PinInput, Progress, Spinner, Radio, SectionHeading, Select, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, };
|
|
31
33
|
export * from './types';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { GlobalTheme } from '../global';
|
|
2
|
+
declare const getPinInputTheme: (theme: GlobalTheme) => {
|
|
3
|
+
borderWidths: {
|
|
4
|
+
default: number;
|
|
5
|
+
focused: number;
|
|
6
|
+
};
|
|
7
|
+
colors: {
|
|
8
|
+
default: string;
|
|
9
|
+
mask: string;
|
|
10
|
+
error: string;
|
|
11
|
+
disabled: string;
|
|
12
|
+
};
|
|
13
|
+
fonts: {
|
|
14
|
+
cellText: string;
|
|
15
|
+
errorMessage: string;
|
|
16
|
+
};
|
|
17
|
+
fontSizes: {
|
|
18
|
+
cellText: number;
|
|
19
|
+
errorMessage: number;
|
|
20
|
+
};
|
|
21
|
+
sizes: {
|
|
22
|
+
cellWidth: number;
|
|
23
|
+
cellHeight: number;
|
|
24
|
+
mask: number;
|
|
25
|
+
};
|
|
26
|
+
space: {
|
|
27
|
+
spacer: number;
|
|
28
|
+
errorMessagePadding: number;
|
|
29
|
+
};
|
|
30
|
+
radii: {
|
|
31
|
+
cell: number;
|
|
32
|
+
mask: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default getPinInputTheme;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { GlobalTheme } from '../global';
|
|
2
2
|
declare const getSelectTheme: (theme: GlobalTheme) => {
|
|
3
3
|
space: {
|
|
4
|
+
minimumOptionListHeight: number;
|
|
4
5
|
optionPadding: number;
|
|
5
6
|
optionListPadding: number;
|
|
6
7
|
optionListSpacing: number;
|
|
8
|
+
searchBarMarginTopSpacing: number;
|
|
9
|
+
searchBarHorizontalSpacing: number;
|
|
10
|
+
searchBarBottomSpacing: number;
|
|
7
11
|
};
|
|
8
12
|
colors: {
|
|
9
13
|
option: string;
|
|
@@ -19,12 +19,14 @@ declare const getTypographyTheme: (theme: GlobalTheme) => {
|
|
|
19
19
|
medium: number;
|
|
20
20
|
large: number;
|
|
21
21
|
xlarge: number;
|
|
22
|
+
xxxxxlarge: number;
|
|
22
23
|
};
|
|
23
24
|
lineHeights: {
|
|
24
25
|
small: number;
|
|
25
26
|
medium: number;
|
|
26
27
|
large: number;
|
|
27
28
|
xlarge: number;
|
|
29
|
+
xxxxxlarge: number;
|
|
28
30
|
};
|
|
29
31
|
};
|
|
30
32
|
export default getTypographyTheme;
|
package/types/theme/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ import getDividerTheme from './components/divider';
|
|
|
12
12
|
import getDrawerTheme from './components/drawer';
|
|
13
13
|
import getFABTheme from './components/fab';
|
|
14
14
|
import getIconTheme from './components/icon';
|
|
15
|
+
import getListTheme from './components/list';
|
|
16
|
+
import getPinInputTheme from './components/pinInput';
|
|
15
17
|
import getProgressTheme from './components/progress';
|
|
16
18
|
import getRadioTheme from './components/radio';
|
|
17
19
|
import getSectionHeadingTheme from './components/sectionHeading';
|
|
@@ -21,10 +23,10 @@ import getSwitchTheme from './components/switch';
|
|
|
21
23
|
import getTabsTheme from './components/tabs';
|
|
22
24
|
import getTagTheme from './components/tag';
|
|
23
25
|
import getTextInputTheme from './components/textInput';
|
|
26
|
+
import getTimePickerTheme from './components/timePicker';
|
|
24
27
|
import getToastTheme from './components/toast';
|
|
25
28
|
import getToolbarTheme from './components/toolbar';
|
|
26
29
|
import getTypographyTheme from './components/typography';
|
|
27
|
-
import getListTheme from './components/list';
|
|
28
30
|
declare type Theme = GlobalTheme & {
|
|
29
31
|
__hd__: {
|
|
30
32
|
alert: ReturnType<typeof getAlertTheme>;
|
|
@@ -40,6 +42,8 @@ declare type Theme = GlobalTheme & {
|
|
|
40
42
|
drawer: ReturnType<typeof getDrawerTheme>;
|
|
41
43
|
fab: ReturnType<typeof getFABTheme>;
|
|
42
44
|
icon: ReturnType<typeof getIconTheme>;
|
|
45
|
+
list: ReturnType<typeof getListTheme>;
|
|
46
|
+
pinInput: ReturnType<typeof getPinInputTheme>;
|
|
43
47
|
progress: ReturnType<typeof getProgressTheme>;
|
|
44
48
|
radio: ReturnType<typeof getRadioTheme>;
|
|
45
49
|
sectionHeading: ReturnType<typeof getSectionHeadingTheme>;
|
|
@@ -49,10 +53,10 @@ declare type Theme = GlobalTheme & {
|
|
|
49
53
|
tabs: ReturnType<typeof getTabsTheme>;
|
|
50
54
|
tag: ReturnType<typeof getTagTheme>;
|
|
51
55
|
textInput: ReturnType<typeof getTextInputTheme>;
|
|
56
|
+
timePicker: ReturnType<typeof getTimePickerTheme>;
|
|
52
57
|
toast: ReturnType<typeof getToastTheme>;
|
|
53
58
|
toolbar: ReturnType<typeof getToolbarTheme>;
|
|
54
59
|
typography: ReturnType<typeof getTypographyTheme>;
|
|
55
|
-
list: ReturnType<typeof getListTheme>;
|
|
56
60
|
};
|
|
57
61
|
};
|
|
58
62
|
declare const getTheme: (scale?: Scale, systemPallete?: SystemPalette) => Theme;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type OptionType<T> = { value: T; text: string; key?: string };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
[11:04:28.905] Global cache location '/Users/kientran/Library/Caches/typescript/4.2', safe file path '/volumes/data/projects/hero-design/node_modules/typescript/lib/typingsafelist.json', types map path /volumes/data/projects/hero-design/node_modules/typescript/lib/typesmap.json
|
|
2
|
-
[11:04:28.906] Processing cache location '/Users/kientran/Library/Caches/typescript/4.2'
|
|
3
|
-
[11:04:28.906] Trying to find '/Users/kientran/Library/Caches/typescript/4.2/package.json'...
|
|
4
|
-
[11:04:28.908] Loaded content of '/Users/kientran/Library/Caches/typescript/4.2/package.json': {"private":true,"dependencies":{"types-registry":"^0.1.611"},"devDependencies":{"@types/argparse":"^2.0.10","@types/babel__core":"^7.1.19","@types/babel__preset-env":"^7.9.2","@types/call-bind":"^1.0.1","@types/debug":"^4.1.7","@types/dedent":"^0.7.0","@types/define-properties":"^1.1.3","@types/envinfo":"^7.8.1","@types/es-abstract":"^1.17.3","@types/eslint":"^8.4.6","@types/eslint-config-prettier":"^6.11.0","@types/eslint-scope":"^3.7.4","@types/eslint-utils":"^3.0.2","@types/estraverse":"^5.1.2","@types/glob-parent":"^5.1.1","@types/graceful-fs":"^4.1.5","@types/inherits":"^0.0.30","@types/is-callable":"^1.1.0","@types/is-regex":"^1.0.0","@types/is-string":"^1.0.0","@types/jest":"^28.1.1","@types/js-yaml":"^4.0.5","@types/object-inspect":"^1.8.1","@types/object-keys":"^1.0.1","@types/object.fromentries":"^2.0.1","@types/prelude-ls":"^1.1.29","@types/prettier":"^2.7.1","@types/prop-types":"^15.7.5","@types/react":"^18.0.21","@types/react-dom":"^18.0.6","@types/react-native":"^0.70.3","@types/react-test-renderer":"^18.0.0","@types/regenerator-runtime":"^0.13.1","@types/resolve":"^1.20.2","@types/scheduler":"^0.16.2","@types/semver":"^7.3.12","@types/type-check":"^0.3.27","@types/use-subscription":"^1.0.0","@types/ws":"^8.5.3","@types/yargs-parser":"^21.0.0"}}
|
|
5
|
-
[11:04:28.908] Loaded content of '/Users/kientran/Library/Caches/typescript/4.2/package-lock.json'
|
|
6
|
-
[11:04:28.938] Adding entry into typings cache: 'argparse' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/argparse/index.d.ts'
|
|
7
|
-
[11:04:28.956] Adding entry into typings cache: 'babel__core' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/babel__core/index.d.ts'
|
|
8
|
-
[11:04:28.963] Adding entry into typings cache: 'babel__preset-env' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/babel__preset-env/index.d.ts'
|
|
9
|
-
[11:04:28.972] Adding entry into typings cache: 'call-bind' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/call-bind/index.d.ts'
|
|
10
|
-
[11:04:28.984] Adding entry into typings cache: 'debug' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/debug/index.d.ts'
|
|
11
|
-
[11:04:28.993] Adding entry into typings cache: 'dedent' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/dedent/index.d.ts'
|
|
12
|
-
[11:04:29.001] Adding entry into typings cache: 'define-properties' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/define-properties/index.d.ts'
|
|
13
|
-
[11:04:29.009] Adding entry into typings cache: 'envinfo' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/envinfo/index.d.ts'
|
|
14
|
-
[11:04:29.017] Adding entry into typings cache: 'es-abstract' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/es-abstract/index.d.ts'
|
|
15
|
-
[11:04:29.023] Adding entry into typings cache: 'eslint' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/eslint/index.d.ts'
|
|
16
|
-
[11:04:29.028] Adding entry into typings cache: 'eslint-config-prettier' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/eslint-config-prettier/index.d.ts'
|
|
17
|
-
[11:04:29.031] Adding entry into typings cache: 'eslint-scope' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/eslint-scope/index.d.ts'
|
|
18
|
-
[11:04:29.034] Adding entry into typings cache: 'eslint-utils' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/eslint-utils/index.d.ts'
|
|
19
|
-
[11:04:29.038] Adding entry into typings cache: 'estraverse' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/estraverse/index.d.ts'
|
|
20
|
-
[11:04:29.042] Adding entry into typings cache: 'glob-parent' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/glob-parent/index.d.ts'
|
|
21
|
-
[11:04:29.043] Adding entry into typings cache: 'graceful-fs' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/graceful-fs/index.d.ts'
|
|
22
|
-
[11:04:29.047] Adding entry into typings cache: 'inherits' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/inherits/index.d.ts'
|
|
23
|
-
[11:04:29.048] Adding entry into typings cache: 'is-callable' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/is-callable/index.d.ts'
|
|
24
|
-
[11:04:29.049] Adding entry into typings cache: 'is-regex' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/is-regex/index.d.ts'
|
|
25
|
-
[11:04:29.052] Adding entry into typings cache: 'is-string' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/is-string/index.d.ts'
|
|
26
|
-
[11:04:29.059] Adding entry into typings cache: 'jest' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/jest/index.d.ts'
|
|
27
|
-
[11:04:29.063] Adding entry into typings cache: 'js-yaml' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/js-yaml/index.d.ts'
|
|
28
|
-
[11:04:29.067] Adding entry into typings cache: 'object-inspect' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/object-inspect/index.d.ts'
|
|
29
|
-
[11:04:29.068] Adding entry into typings cache: 'object-keys' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/object-keys/index.d.ts'
|
|
30
|
-
[11:04:29.069] Adding entry into typings cache: 'object.fromentries' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/object.fromentries/index.d.ts'
|
|
31
|
-
[11:04:29.069] Adding entry into typings cache: 'prelude-ls' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/prelude-ls/index.d.ts'
|
|
32
|
-
[11:04:29.075] Adding entry into typings cache: 'prettier' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/prettier/index.d.ts'
|
|
33
|
-
[11:04:29.079] Adding entry into typings cache: 'prop-types' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/prop-types/index.d.ts'
|
|
34
|
-
[11:04:29.084] Adding entry into typings cache: 'react' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/react/index.d.ts'
|
|
35
|
-
[11:04:29.089] Adding entry into typings cache: 'react-dom' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/react-dom/index.d.ts'
|
|
36
|
-
[11:04:29.091] Adding entry into typings cache: 'react-native' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/react-native/index.d.ts'
|
|
37
|
-
[11:04:29.092] Adding entry into typings cache: 'react-test-renderer' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/react-test-renderer/index.d.ts'
|
|
38
|
-
[11:04:29.092] Adding entry into typings cache: 'regenerator-runtime' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/regenerator-runtime/index.d.ts'
|
|
39
|
-
[11:04:29.093] Adding entry into typings cache: 'resolve' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/resolve/index.d.ts'
|
|
40
|
-
[11:04:29.093] Adding entry into typings cache: 'scheduler' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/scheduler/index.d.ts'
|
|
41
|
-
[11:04:29.094] Adding entry into typings cache: 'semver' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/semver/index.d.ts'
|
|
42
|
-
[11:04:29.099] Adding entry into typings cache: 'type-check' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/type-check/index.d.ts'
|
|
43
|
-
[11:04:29.100] Adding entry into typings cache: 'use-subscription' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/use-subscription/index.d.ts'
|
|
44
|
-
[11:04:29.101] Adding entry into typings cache: 'ws' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/ws/index.d.ts'
|
|
45
|
-
[11:04:29.105] Adding entry into typings cache: 'yargs-parser' => '/Users/kientran/Library/Caches/typescript/4.2/node_modules/@types/yargs-parser/index.d.ts'
|
|
46
|
-
[11:04:29.105] Finished processing cache location '/Users/kientran/Library/Caches/typescript/4.2'
|
|
47
|
-
[11:04:29.106] Process id: 10344
|
|
48
|
-
[11:04:29.106] NPM location: /Users/kientran/.nvm/versions/node/v16.17.0/bin/npm (explicit '--npmLocation' not provided)
|
|
49
|
-
[11:04:29.106] validateDefaultNpmLocation: false
|
|
50
|
-
[11:04:29.106] Npm config file: /Users/kientran/Library/Caches/typescript/4.2/package.json
|
|
51
|
-
[11:04:29.106] Updating types-registry npm package...
|
|
52
|
-
[11:04:29.106] Exec: /Users/kientran/.nvm/versions/node/v16.17.0/bin/npm install --ignore-scripts types-registry@latest
|
|
53
|
-
[11:04:30.593] Succeeded. stdout:
|
|
54
|
-
|
|
55
|
-
up to date, audited 71 packages in 1s
|
|
56
|
-
|
|
57
|
-
3 packages are looking for funding
|
|
58
|
-
run `npm fund` for details
|
|
59
|
-
|
|
60
|
-
found 0 vulnerabilities
|
|
61
|
-
|
|
62
|
-
[11:04:30.593] Updated types-registry npm package
|