-
-
Notifications
You must be signed in to change notification settings - Fork 397
/
config.ts
64 lines (64 loc) · 2.34 KB
/
config.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
export default {
/** A list of glob patterns to define the files to include in the package */
includeFiles: [
// Theme lib
'lib/theme/**/*.(js|jsx|ts|tsx)',
'lib/styled*',
'lib/date-utils*',
// Avatar
'components/Avatar*',
// Typography
'components/Text..*',
// Toasts
'components/Toast*',
// Layout
'components/Grid..*',
'components/Container',
// Misc helpers
'components/Currency.*',
// Filters
'components/filters/*',
// Loading
'components/Loading*',
// Styled components
'components/StyledAmountPicker.*',
'components/StyledButtonSet.*',
'components/StyledButton.*',
'components/StyledCard.*',
'components/StyledCarousel.*',
'components/StyledCheckbox.*',
// 'components/StyledCollectiveCard.*', // Depends on Link
'components/StyledDropdown.*',
// 'components/StyledDropzone.*', // Not included as it contains API calls. Should be separated in two components, a "dumb" one and a "plugged" one
'components/StyledFilters.*',
'components/StyledHr.*',
'components/StyledInputAmount.*',
'components/StyledInputField.*',
// 'components/StyledInputFormikField.*', // To enable, add formik to peerDependencies
'components/StyledInputGroup.*',
'components/StyledInputLocation.*',
'components/StyledInputMask.*',
'components/StyledInputPercentage.*',
'components/StyledInputSlider.*',
'components/EditTags.*',
'components/StyledInput.*',
'components/StyledKeyframes.*',
'components/StyledLinkButton.*',
'components/StyledLink.*',
// 'components/StyledMembershipCard.*', // Contains a reference to StyledCollectiveCard, and thus to Link
// 'components/StyledModal.*', // Contains a reference to Router for `warnIfUnsavedChanges`
'components/StyledMultiEmailInput.*',
'components/StyledProgressBar.*',
'components/StyledRadioList.*',
'components/StyledRoundButton.*',
'components/StyledSelectCreatable.*',
'components/StyledSelectFilter.*',
'components/StyledSelect.*',
'components/StyledSpinner.*',
'components/StyledTag.*',
'components/StyledTextarea.*',
'components/StyledTooltip.*',
],
/** Will be marked as peerDependencies. Remember to update scripts/publish-components/static/README.md. */
peerDependencies: ['react', 'react-dom', 'styled-components'],
};