-
Notifications
You must be signed in to change notification settings - Fork 1k
/
modules.yaml
218 lines (206 loc) · 6.79 KB
/
modules.yaml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
# List of all modules in this repo with settings needed by various `ci_scripts`.
# Note: Stripe3DS2 should not be included in this list.
#
# - podspec (required):
# The podspec file for this module.
#
# - scheme (required):
# The Xcode scheme name for this module. This is used to build and export the
# module by `export_builds.rb`.
#
# - framework_name (required):
# The name of the `.xcframework` file that's exported by `export_builds.rb`.
# This should match the name of the module.
#
# - supports_catalyst (required):
# Whether the framework supports macOS Catalyst.
#
# - localization_dir (optional):
# The source directory to check for localized strings and where a
# `Resources/Localizations` directory will be generated.
# If omitted, localization will not be performed on this module.
#
# After adding a module's `localization_dir`, run
# `./ci_scripts/create_localizable_strings_files.sh` to create the directory
# structure and drag the resulting `Resources` folder into the project.
#
# - custom_string_convertible_dir (optional):
# The source directory to write the autogenerated CustomStringConvertible
# conformance file for Objective-C enums.
# If omitted, the file will not be generated for this module.
#
# After adding a module's `custom_string_convertible_dir`, run
# `ruby ./ci_scripts/generate_objc_enum_string_values.rb` and add the
# Enums+CustomStringConvertible.swift file to the module's project
# file.
#
# - size_report (optional):
# If present, a size report will be generated for this module and all of its
# dependencies.
#
# - max_compressed_size (optional):
# The maximum allowable compressed size, in kilobytes (kb), before alerting
# in CI.
#
# - max_uncompressed_size (optional):
# The maximum allowable uncompressed size, in kilobytes (kb), before alerting
# in CI.
#
# - max_incremental_uncompressed_size (optional):
# The maximum allowable kilobytes (kb) that a single PR can add to this SDK
# before alerting in CI.
#
# - docs (optional):
# Configurations used by `build_documentation.rb` to generate docs.
# If omitted, docs will not be generated for this module.
#
# - output (required):
# The output directory for generated docs.
#
# - readme (optional):
# The path to a markdown README file that will be embedded in the index page
# of the docs for this module. Used as the `--readme` argument to Jazzy.
# If omitted, uses Jazzy default (the root directory's README.md file).
#
# - include (optional):
# An array of modules to be combined with this module, for the purpose of documentation.
#
# TODO(mludowise): Update localization, export_builds, & pod_tools scripts to use modules.yaml
#
modules:
- podspec: Stripe.podspec
scheme: StripeiOS
framework_name: Stripe
custom_string_convertible_dir: Stripe/StripeiOS/Source
supports_catalyst: true
docs:
output: docs/docs
readme: README.md
include:
- StripeCore
- StripeApplePay
- StripePayments
- StripePaymentsUI
size_report:
max_incremental_uncompressed_size: 100
- podspec: StripePayments.podspec
scheme: StripePayments
localization_dir: StripePayments/StripePayments
framework_name: StripePayments
supports_catalyst: true
custom_string_convertible_dir: StripePayments/StripePayments/Categories
docs:
output: docs/stripepayments
readme: StripePayments/README.md
include:
- StripeCore
size_report:
max_incremental_uncompressed_size: 100
- podspec: StripePaymentsUI.podspec
scheme: StripePaymentsUI
framework_name: StripePaymentsUI
localization_dir: StripePaymentsUI/StripePaymentsUI
custom_string_convertible_dir: StripePaymentsUI/StripePaymentsUI/Categories
docs:
output: docs/stripepaymentsui
readme: StripePaymentsUI/README.md
include:
- StripeCore
supports_catalyst: true
size_report:
max_incremental_uncompressed_size: 100
- podspec: StripePaymentSheet.podspec
scheme: StripePaymentSheet
framework_name: StripePaymentSheet
localization_dir: StripePaymentSheet/StripePaymentSheet
supports_catalyst: true
docs:
output: docs/stripepaymentsheet
readme: StripePaymentSheet/README.md
include:
- StripeCore
size_report:
max_incremental_uncompressed_size: 100
- podspec: StripeCameraCore.podspec
scheme: StripeCameraCore
framework_name: StripeCameraCore
supports_catalyst: false
- podspec: StripeCore.podspec
scheme: StripeCore
framework_name: StripeCore
localization_dir: StripeCore/StripeCore
custom_string_convertible_dir: StripeCore/StripeCore/Source/Categories
supports_catalyst: true
- podspec: StripeIdentity.podspec
scheme: StripeIdentity
framework_name: StripeIdentity
localization_dir: StripeIdentity/StripeIdentity
custom_string_convertible_dir: StripeIdentity/StripeIdentity/Source
supports_catalyst: false
docs:
output: docs/stripeidentity
readme: StripeIdentity/README.md
size_report: true
- podspec: StripeApplePay.podspec
scheme: StripeApplePay
framework_name: StripeApplePay
supports_catalyst: true
docs:
output: docs/stripeapplepay
readme: StripeApplePay/README.md
size_report:
max_compressed_size: 700
max_uncompressed_size: 1700
max_incremental_uncompressed_size: 100
- podspec: StripeCardScan.podspec
scheme: StripeCardScan
framework_name: StripeCardScan
supports_catalyst: false
docs:
output: docs/stripecardscan
readme: StripeCardScan/README.md
localization_dir: StripeCardScan/StripeCardScan
- podspec: StripeFinancialConnections.podspec
scheme: StripeFinancialConnections
framework_name: StripeFinancialConnections
docs:
output: docs/stripefinancialconnections
readme: StripeFinancialConnections/README.md
include:
- StripeCore
size_report:
max_compressed_size: 3000
max_uncompressed_size: 5000
max_incremental_uncompressed_size: 100
- podspec: StripeUICore.podspec
scheme: StripeUICore
framework_name: StripeUICore
localization_dir: StripeUICore/StripeUICore
custom_string_convertible_dir: StripeUICore/StripeUICore/Source/Categories
supports_catalyst: true
- podspec: StripeConnect.podspec
scheme: StripeConnect
framework_name: StripeConnect
supports_catalyst: false
docs:
output: docs/stripeconnect
readme: StripeConnect/README.md
include:
- StripeCore
size_report: true
# All podspecs that get pushed to Cocoapods in the order of dependencies such
# that a pods dependencies must appear before it in the list.
# This is the order that podspecs will be pushed to `pod trunk`.
pod_push_order:
- StripeCore.podspec
- StripeUICore.podspec
- StripeCameraCore.podspec
- StripeApplePay.podspec
- StripePayments.podspec
- StripePaymentsUI.podspec
- StripePaymentSheet.podspec
- Stripe.podspec
- StripeIdentity.podspec
- StripeCardScan.podspec
- StripeFinancialConnections.podspec
- StripeConnect.podspec