jetbridge 0.1.0-rc.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/schema/v1.json ADDED
@@ -0,0 +1,351 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "properties": {
4
+ "$schema": {
5
+ "type": "string"
6
+ },
7
+ "configVersion": {
8
+ "const": 1,
9
+ "type": "number"
10
+ },
11
+ "configurations": {
12
+ "default": {},
13
+ "properties": {
14
+ "archive": {
15
+ "default": "Release",
16
+ "minLength": 1,
17
+ "type": "string"
18
+ },
19
+ "available": {
20
+ "default": ["Debug", "Release"],
21
+ "items": {
22
+ "minLength": 1,
23
+ "type": "string"
24
+ },
25
+ "minItems": 1,
26
+ "type": "array"
27
+ },
28
+ "sim": {
29
+ "default": "Debug",
30
+ "minLength": 1,
31
+ "type": "string"
32
+ },
33
+ "wired": {
34
+ "default": "Debug",
35
+ "minLength": 1,
36
+ "type": "string"
37
+ }
38
+ },
39
+ "type": "object"
40
+ },
41
+ "credentials": {
42
+ "default": {},
43
+ "properties": {
44
+ "ascIssuerId": {
45
+ "default": "ASC_API_ISSUER_ID",
46
+ "minLength": 1,
47
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
48
+ "type": "string"
49
+ },
50
+ "ascKeyId": {
51
+ "default": "ASC_API_KEY_ID",
52
+ "minLength": 1,
53
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
54
+ "type": "string"
55
+ },
56
+ "ascKeyPath": {
57
+ "default": "ASC_API_KEY_PATH",
58
+ "minLength": 1,
59
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
60
+ "type": "string"
61
+ }
62
+ },
63
+ "type": "object"
64
+ },
65
+ "git": {
66
+ "default": {},
67
+ "properties": {
68
+ "defaultBranch": {
69
+ "default": "main",
70
+ "minLength": 1,
71
+ "type": "string"
72
+ },
73
+ "requireCleanDefaultBranch": {
74
+ "default": false,
75
+ "type": "boolean"
76
+ }
77
+ },
78
+ "type": "object"
79
+ },
80
+ "hooks": {
81
+ "default": {},
82
+ "properties": {
83
+ "postBuild": {
84
+ "minLength": 1,
85
+ "type": "string"
86
+ },
87
+ "preBuild": {
88
+ "minLength": 1,
89
+ "type": "string"
90
+ }
91
+ },
92
+ "type": "object"
93
+ },
94
+ "ota": {
95
+ "properties": {
96
+ "access": {
97
+ "default": "path",
98
+ "enum": ["path", "none"],
99
+ "type": "string"
100
+ },
101
+ "branding": {
102
+ "default": {},
103
+ "properties": {
104
+ "accent": {
105
+ "pattern": "^#[0-9a-fA-F]{6}$",
106
+ "type": "string"
107
+ },
108
+ "title": {
109
+ "minLength": 1,
110
+ "type": "string"
111
+ }
112
+ },
113
+ "type": "object"
114
+ },
115
+ "exportMethod": {
116
+ "default": "ad-hoc",
117
+ "enum": ["ad-hoc", "enterprise"],
118
+ "type": "string"
119
+ },
120
+ "maxBuilds": {
121
+ "default": 60,
122
+ "exclusiveMinimum": 0,
123
+ "maximum": 500,
124
+ "type": "integer"
125
+ },
126
+ "storage": {
127
+ "properties": {
128
+ "accessKeyId": {
129
+ "default": "JETBRIDGE_S3_ACCESS_KEY_ID",
130
+ "minLength": 1,
131
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
132
+ "type": "string"
133
+ },
134
+ "bucket": {
135
+ "minLength": 1,
136
+ "type": "string"
137
+ },
138
+ "endpoint": {
139
+ "format": "uri",
140
+ "type": "string"
141
+ },
142
+ "prefix": {
143
+ "default": "builds",
144
+ "type": "string"
145
+ },
146
+ "publicBaseUrl": {
147
+ "format": "uri",
148
+ "type": "string"
149
+ },
150
+ "region": {
151
+ "default": "us-east-1",
152
+ "minLength": 1,
153
+ "type": "string"
154
+ },
155
+ "secretAccessKey": {
156
+ "default": "JETBRIDGE_S3_SECRET_ACCESS_KEY",
157
+ "minLength": 1,
158
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
159
+ "type": "string"
160
+ }
161
+ },
162
+ "required": ["bucket", "publicBaseUrl"],
163
+ "type": "object"
164
+ }
165
+ },
166
+ "required": ["storage"],
167
+ "type": "object"
168
+ },
169
+ "project": {
170
+ "properties": {
171
+ "appIcon": {
172
+ "minLength": 1,
173
+ "type": "string"
174
+ },
175
+ "baseBundleId": {
176
+ "pattern": "^[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)+$",
177
+ "type": "string"
178
+ },
179
+ "deviceTypes": {
180
+ "default": ["iPhone"],
181
+ "items": {
182
+ "enum": ["iPhone", "iPad"],
183
+ "type": "string"
184
+ },
185
+ "minItems": 1,
186
+ "type": "array"
187
+ },
188
+ "iosDir": {
189
+ "default": ".",
190
+ "minLength": 1,
191
+ "type": "string"
192
+ },
193
+ "projectYml": {
194
+ "minLength": 1,
195
+ "type": "string"
196
+ },
197
+ "scheme": {
198
+ "minLength": 1,
199
+ "type": "string"
200
+ },
201
+ "teamId": {
202
+ "pattern": "^[A-Z0-9]{10}$",
203
+ "type": "string"
204
+ },
205
+ "xcodegen": {
206
+ "default": false,
207
+ "type": "boolean"
208
+ },
209
+ "xcodeproj": {
210
+ "minLength": 1,
211
+ "pattern": ".*\\.xcodeproj$",
212
+ "type": "string"
213
+ },
214
+ "xcworkspace": {
215
+ "minLength": 1,
216
+ "pattern": ".*\\.xcworkspace$",
217
+ "type": "string"
218
+ }
219
+ },
220
+ "required": ["scheme", "teamId", "baseBundleId"],
221
+ "type": "object"
222
+ },
223
+ "variant": {
224
+ "properties": {
225
+ "buildSettings": {
226
+ "default": {},
227
+ "properties": {
228
+ "bundleSuffix": {
229
+ "default": "JETBRIDGE_BUNDLE_SUFFIX",
230
+ "minLength": 1,
231
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
232
+ "type": "string"
233
+ },
234
+ "displayName": {
235
+ "default": "JETBRIDGE_DISPLAY_NAME",
236
+ "minLength": 1,
237
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
238
+ "type": "string"
239
+ },
240
+ "gitSha": {
241
+ "default": "JETBRIDGE_GIT_SHA",
242
+ "minLength": 1,
243
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
244
+ "type": "string"
245
+ },
246
+ "signStyle": {
247
+ "default": "JETBRIDGE_SIGN_STYLE",
248
+ "minLength": 1,
249
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
250
+ "type": "string"
251
+ }
252
+ },
253
+ "type": "object"
254
+ },
255
+ "displayName": {
256
+ "minLength": 1,
257
+ "type": "string"
258
+ },
259
+ "labelBudget": {
260
+ "default": 14,
261
+ "exclusiveMinimum": 0,
262
+ "maximum": 9007199254740991,
263
+ "type": "integer"
264
+ },
265
+ "labelPrefix": {
266
+ "minLength": 1,
267
+ "type": "string"
268
+ },
269
+ "noiseWords": {
270
+ "items": {
271
+ "minLength": 1,
272
+ "type": "string"
273
+ },
274
+ "type": "array"
275
+ },
276
+ "profilePrefix": {
277
+ "minLength": 1,
278
+ "type": "string"
279
+ },
280
+ "targets": {
281
+ "default": [],
282
+ "items": {
283
+ "properties": {
284
+ "bundleIdSuffix": {
285
+ "pattern": "^[a-z0-9]+$",
286
+ "type": "string"
287
+ },
288
+ "capabilities": {
289
+ "default": [],
290
+ "items": {
291
+ "pattern": "^[A-Z0-9_]+$",
292
+ "type": "string"
293
+ },
294
+ "type": "array"
295
+ },
296
+ "entitlements": {
297
+ "minLength": 1,
298
+ "type": "string"
299
+ },
300
+ "name": {
301
+ "minLength": 1,
302
+ "type": "string"
303
+ },
304
+ "profileSetting": {
305
+ "minLength": 1,
306
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
307
+ "type": "string"
308
+ },
309
+ "variantEntitlements": {
310
+ "minLength": 1,
311
+ "type": "string"
312
+ }
313
+ },
314
+ "required": ["name"],
315
+ "type": "object"
316
+ },
317
+ "type": "array"
318
+ }
319
+ },
320
+ "required": ["displayName"],
321
+ "type": "object"
322
+ },
323
+ "xcconfigOverrides": {
324
+ "properties": {
325
+ "file": {
326
+ "minLength": 1,
327
+ "type": "string"
328
+ },
329
+ "key": {
330
+ "minLength": 1,
331
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
332
+ "type": "string"
333
+ },
334
+ "presets": {
335
+ "additionalProperties": {
336
+ "type": "string"
337
+ },
338
+ "default": {},
339
+ "propertyNames": {
340
+ "type": "string"
341
+ },
342
+ "type": "object"
343
+ }
344
+ },
345
+ "required": ["file", "key"],
346
+ "type": "object"
347
+ }
348
+ },
349
+ "required": ["configVersion", "project", "variant"],
350
+ "type": "object"
351
+ }
@@ -0,0 +1,165 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
6
+ <meta name="theme-color" content="#0a0a0a" />
7
+ <meta name="robots" content="noindex,nofollow" />
8
+ <title>{{BRAND_TITLE}} — installable builds</title>
9
+ <style>
10
+ :root {
11
+ --bg: #0a0a0a;
12
+ --ink: #ffffff;
13
+ --ink-dim: rgba(255, 255, 255, 0.62);
14
+ --accent: {{ACCENT}};
15
+ --card: rgba(255, 255, 255, 0.05);
16
+ --card-bd: rgba(255, 255, 255, 0.09);
17
+ }
18
+ * {
19
+ box-sizing: border-box;
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+ html,
24
+ body {
25
+ background: var(--bg);
26
+ color: var(--ink);
27
+ font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
28
+ min-height: 100vh;
29
+ -webkit-font-smoothing: antialiased;
30
+ }
31
+ body {
32
+ padding: max(28px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
33
+ max-width: 560px;
34
+ margin: 0 auto;
35
+ }
36
+ header {
37
+ text-align: center;
38
+ margin-bottom: 22px;
39
+ }
40
+ .brand {
41
+ font-family: ui-monospace, Menlo, monospace;
42
+ font-size: 12px;
43
+ letter-spacing: 3px;
44
+ text-transform: uppercase;
45
+ color: var(--accent);
46
+ margin-bottom: 8px;
47
+ }
48
+ h1 {
49
+ font-size: 25px;
50
+ font-weight: 800;
51
+ letter-spacing: -0.4px;
52
+ margin-bottom: 8px;
53
+ }
54
+ .sub {
55
+ font-size: 13px;
56
+ color: var(--ink-dim);
57
+ line-height: 1.5;
58
+ }
59
+ .build {
60
+ background: var(--card);
61
+ border: 1px solid var(--card-bd);
62
+ border-radius: 16px;
63
+ padding: 14px 15px 15px;
64
+ margin-bottom: 12px;
65
+ }
66
+ .build .top {
67
+ display: flex;
68
+ justify-content: space-between;
69
+ align-items: baseline;
70
+ gap: 10px;
71
+ margin-bottom: 10px;
72
+ }
73
+ .build .title {
74
+ font-size: 15px;
75
+ font-weight: 700;
76
+ }
77
+ .badge {
78
+ font-family: ui-monospace, Menlo, monospace;
79
+ font-size: 10px;
80
+ text-transform: uppercase;
81
+ letter-spacing: 1px;
82
+ white-space: nowrap;
83
+ padding: 3px 7px;
84
+ border-radius: 5px;
85
+ background: rgba(255, 255, 255, 0.08);
86
+ color: var(--ink-dim);
87
+ border: 1px solid rgba(255, 255, 255, 0.14);
88
+ }
89
+ dl {
90
+ display: grid;
91
+ grid-template-columns: 66px 1fr;
92
+ align-items: baseline;
93
+ row-gap: 2px;
94
+ margin-bottom: 13px;
95
+ }
96
+ dt {
97
+ font-size: 10.5px;
98
+ color: rgba(255, 255, 255, 0.4);
99
+ letter-spacing: 0.3px;
100
+ padding: 2px 0;
101
+ }
102
+ dd {
103
+ font-family: ui-monospace, Menlo, monospace;
104
+ font-size: 11.5px;
105
+ color: #e6e6ee;
106
+ padding: 2px 0;
107
+ word-break: break-all;
108
+ }
109
+ dd .dim {
110
+ color: rgba(255, 255, 255, 0.45);
111
+ }
112
+ .install-btn {
113
+ display: block;
114
+ text-align: center;
115
+ background: var(--accent);
116
+ color: #000;
117
+ font-size: 15px;
118
+ font-weight: 700;
119
+ padding: 12px 20px;
120
+ border-radius: 999px;
121
+ text-decoration: none;
122
+ }
123
+ .install-btn:active {
124
+ transform: scale(0.98);
125
+ }
126
+ .empty {
127
+ text-align: center;
128
+ color: var(--ink-dim);
129
+ font-size: 14px;
130
+ padding: 40px 0;
131
+ }
132
+ footer {
133
+ text-align: center;
134
+ margin-top: 26px;
135
+ font-size: 11px;
136
+ color: rgba(255, 255, 255, 0.34);
137
+ font-family: ui-monospace, Menlo, monospace;
138
+ line-height: 1.6;
139
+ }
140
+ </style>
141
+ </head>
142
+ <body>
143
+ <header>
144
+ <div class="brand">{{BRAND_TITLE}}</div>
145
+ <h1>Installable builds</h1>
146
+ <p class="sub">
147
+ {{BUILD_COUNT}} build(s) available over the air. Open this page in
148
+ <strong>Safari</strong> on your iPhone and tap Install on any version.
149
+ </p>
150
+ </header>
151
+
152
+ <!--
153
+ One card per build, newest first. Each link hands off to the iOS
154
+ installer, which reads that build's own manifest. Builds with different
155
+ bundle ids install side by side, which is what makes comparing two
156
+ versions on one phone possible.
157
+ -->
158
+ {{ROWS}}
159
+
160
+ <footer>
161
+ Regenerated {{GENERATED_AT}}<br />
162
+ Not indexed · an install needs this device's UDID in the signing profile
163
+ </footer>
164
+ </body>
165
+ </html>
@@ -0,0 +1,187 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
6
+ <meta name="theme-color" content="#0a0a0a" />
7
+ <meta name="robots" content="noindex,nofollow" />
8
+ <title>Install {{APP_NAME}}</title>
9
+ <style>
10
+ :root {
11
+ --bg: #0a0a0a;
12
+ --ink: #ffffff;
13
+ --ink-dim: rgba(255, 255, 255, 0.65);
14
+ --accent: {{ACCENT}};
15
+ --card: rgba(255, 255, 255, 0.05);
16
+ --card-bd: rgba(255, 255, 255, 0.09);
17
+ }
18
+ * {
19
+ box-sizing: border-box;
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+ html,
24
+ body {
25
+ background: var(--bg);
26
+ color: var(--ink);
27
+ font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
28
+ min-height: 100vh;
29
+ -webkit-font-smoothing: antialiased;
30
+ }
31
+ body {
32
+ display: flex;
33
+ flex-direction: column;
34
+ align-items: center;
35
+ justify-content: center;
36
+ padding: max(32px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
37
+ text-align: center;
38
+ }
39
+ .brand {
40
+ font-family: ui-monospace, Menlo, monospace;
41
+ font-size: 12px;
42
+ letter-spacing: 3px;
43
+ text-transform: uppercase;
44
+ color: var(--accent);
45
+ margin-bottom: 10px;
46
+ }
47
+ h1 {
48
+ font-size: 30px;
49
+ font-weight: 800;
50
+ letter-spacing: -0.5px;
51
+ margin-bottom: 18px;
52
+ }
53
+ .spec {
54
+ background: var(--card);
55
+ border: 1px solid var(--card-bd);
56
+ border-radius: 16px;
57
+ padding: 14px 15px 12px;
58
+ width: 100%;
59
+ max-width: 380px;
60
+ text-align: left;
61
+ margin-bottom: 18px;
62
+ }
63
+ .spec .hdr {
64
+ display: flex;
65
+ justify-content: space-between;
66
+ align-items: baseline;
67
+ gap: 10px;
68
+ margin-bottom: 10px;
69
+ }
70
+ .spec .name {
71
+ font-size: 15px;
72
+ font-weight: 700;
73
+ }
74
+ .badge {
75
+ font-family: ui-monospace, Menlo, monospace;
76
+ font-size: 10px;
77
+ text-transform: uppercase;
78
+ letter-spacing: 1px;
79
+ white-space: nowrap;
80
+ padding: 3px 7px;
81
+ border-radius: 5px;
82
+ background: rgba(255, 255, 255, 0.08);
83
+ color: var(--ink-dim);
84
+ border: 1px solid rgba(255, 255, 255, 0.14);
85
+ }
86
+ dl {
87
+ display: grid;
88
+ grid-template-columns: 66px 1fr;
89
+ align-items: baseline;
90
+ row-gap: 2px;
91
+ }
92
+ dt {
93
+ font-size: 10.5px;
94
+ color: rgba(255, 255, 255, 0.4);
95
+ letter-spacing: 0.3px;
96
+ padding: 2px 0;
97
+ }
98
+ dd {
99
+ font-family: ui-monospace, Menlo, monospace;
100
+ font-size: 11.5px;
101
+ color: #e6e6ee;
102
+ padding: 2px 0;
103
+ word-break: break-all;
104
+ }
105
+ dd .dim {
106
+ color: rgba(255, 255, 255, 0.45);
107
+ }
108
+ .foot {
109
+ margin-top: 10px;
110
+ font-size: 11px;
111
+ color: rgba(255, 255, 255, 0.36);
112
+ font-family: ui-monospace, Menlo, monospace;
113
+ }
114
+ .install-btn {
115
+ display: block;
116
+ width: 100%;
117
+ max-width: 380px;
118
+ text-align: center;
119
+ background: var(--accent);
120
+ color: #000;
121
+ font-size: 16px;
122
+ font-weight: 700;
123
+ padding: 14px 20px;
124
+ border-radius: 999px;
125
+ text-decoration: none;
126
+ }
127
+ .install-btn:active {
128
+ transform: scale(0.98);
129
+ }
130
+ .helper {
131
+ margin-top: 14px;
132
+ max-width: 340px;
133
+ font-size: 13px;
134
+ line-height: 1.5;
135
+ color: var(--ink-dim);
136
+ }
137
+ </style>
138
+ </head>
139
+ <body>
140
+ <div class="brand">{{BRAND_TITLE}}</div>
141
+ <h1>Install {{APP_NAME}}</h1>
142
+
143
+ <!--
144
+ Every value below is read back out of the archive that produced this .ipa,
145
+ not out of the build's inputs — so the page cannot claim something the
146
+ binary does not contain.
147
+ -->
148
+ <div class="spec">
149
+ <div class="hdr">
150
+ <span class="name">{{APP_NAME}}</span>
151
+ <span class="badge">{{VARIANT_BADGE}}</span>
152
+ </div>
153
+ <dl>
154
+ <dt>Bundle</dt>
155
+ <dd>{{BUNDLE_ID}}</dd>
156
+ <dt>Version</dt>
157
+ <dd>{{VERSION}} <span class="dim">· build {{BUILD}}</span></dd>
158
+ <dt>Branch</dt>
159
+ <dd>{{GIT_BRANCH}}</dd>
160
+ <dt>Commit</dt>
161
+ <dd>{{GIT_COMMIT}}</dd>
162
+ <dt>Config</dt>
163
+ <dd>{{CONFIGURATION}} <span class="dim">· {{ARCHS}}</span></dd>
164
+ <dt>Size</dt>
165
+ <dd>{{IPA_SIZE}}</dd>
166
+ <dt>iOS</dt>
167
+ <dd>{{MIN_IOS}}+ <span class="dim">· SDK {{SDK}} · Xcode {{XCODE_BUILD}}</span></dd>
168
+ <dt>Signed</dt>
169
+ <dd>{{SIGNED_BY}} <span class="dim">· team {{TEAM_ID}}</span></dd>
170
+ </dl>
171
+ <div class="foot">Built {{BUILT_AT}}</div>
172
+ </div>
173
+
174
+ <!--
175
+ The itms-services scheme hands off to the iOS installer: it fetches the
176
+ manifest, downloads the .ipa named inside it, and asks the user to
177
+ confirm. It needs HTTPS with a valid certificate on both, a profile that
178
+ covers this device's UDID, and Safari — an in-app browser swallows the
179
+ scheme with no error.
180
+ -->
181
+ <a class="install-btn" href="{{INSTALL_HREF}}">Install on iPhone</a>
182
+ <p class="helper">
183
+ Open this page in <strong>Safari</strong>. iOS asks to confirm — tap Install. The app appears
184
+ on the home screen in about 30 seconds.
185
+ </p>
186
+ </body>
187
+ </html>