@rulebricks/cli 1.9.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.
Files changed (93) hide show
  1. package/README.md +62 -0
  2. package/dist/commands/clone.d.ts +6 -0
  3. package/dist/commands/clone.js +60 -0
  4. package/dist/commands/deploy.d.ts +8 -0
  5. package/dist/commands/deploy.js +409 -0
  6. package/dist/commands/destroy.d.ts +8 -0
  7. package/dist/commands/destroy.js +298 -0
  8. package/dist/commands/init.d.ts +7 -0
  9. package/dist/commands/init.js +201 -0
  10. package/dist/commands/logs.d.ts +9 -0
  11. package/dist/commands/logs.js +222 -0
  12. package/dist/commands/open.d.ts +7 -0
  13. package/dist/commands/open.js +139 -0
  14. package/dist/commands/status.d.ts +5 -0
  15. package/dist/commands/status.js +125 -0
  16. package/dist/commands/upgrade.d.ts +7 -0
  17. package/dist/commands/upgrade.js +239 -0
  18. package/dist/components/DNSWaitScreen.d.ts +9 -0
  19. package/dist/components/DNSWaitScreen.js +73 -0
  20. package/dist/components/Wizard/WizardContext.d.ts +176 -0
  21. package/dist/components/Wizard/WizardContext.js +346 -0
  22. package/dist/components/Wizard/index.d.ts +2 -0
  23. package/dist/components/Wizard/index.js +2 -0
  24. package/dist/components/Wizard/steps/CloudProviderStep.d.ts +6 -0
  25. package/dist/components/Wizard/steps/CloudProviderStep.js +210 -0
  26. package/dist/components/Wizard/steps/CredentialsStep.d.ts +6 -0
  27. package/dist/components/Wizard/steps/CredentialsStep.js +22 -0
  28. package/dist/components/Wizard/steps/DatabaseStep.d.ts +6 -0
  29. package/dist/components/Wizard/steps/DatabaseStep.js +80 -0
  30. package/dist/components/Wizard/steps/DeploymentModeStep.d.ts +5 -0
  31. package/dist/components/Wizard/steps/DeploymentModeStep.js +26 -0
  32. package/dist/components/Wizard/steps/DomainStep.d.ts +6 -0
  33. package/dist/components/Wizard/steps/DomainStep.js +126 -0
  34. package/dist/components/Wizard/steps/FeatureConfigStep.d.ts +6 -0
  35. package/dist/components/Wizard/steps/FeatureConfigStep.js +765 -0
  36. package/dist/components/Wizard/steps/FeaturesStep.d.ts +6 -0
  37. package/dist/components/Wizard/steps/FeaturesStep.js +119 -0
  38. package/dist/components/Wizard/steps/ReviewStep.d.ts +6 -0
  39. package/dist/components/Wizard/steps/ReviewStep.js +56 -0
  40. package/dist/components/Wizard/steps/SMTPStep.d.ts +6 -0
  41. package/dist/components/Wizard/steps/SMTPStep.js +191 -0
  42. package/dist/components/Wizard/steps/SupabaseCredentialsStep.d.ts +6 -0
  43. package/dist/components/Wizard/steps/SupabaseCredentialsStep.js +76 -0
  44. package/dist/components/Wizard/steps/TierStep.d.ts +6 -0
  45. package/dist/components/Wizard/steps/TierStep.js +29 -0
  46. package/dist/components/Wizard/steps/VersionStep.d.ts +6 -0
  47. package/dist/components/Wizard/steps/VersionStep.js +113 -0
  48. package/dist/components/Wizard/steps/index.d.ts +12 -0
  49. package/dist/components/Wizard/steps/index.js +12 -0
  50. package/dist/components/common/AppShell.d.ts +31 -0
  51. package/dist/components/common/AppShell.js +31 -0
  52. package/dist/components/common/Box.d.ts +20 -0
  53. package/dist/components/common/Box.js +20 -0
  54. package/dist/components/common/Logo.d.ts +7 -0
  55. package/dist/components/common/Logo.js +22 -0
  56. package/dist/components/common/Spinner.d.ts +12 -0
  57. package/dist/components/common/Spinner.js +28 -0
  58. package/dist/components/common/index.d.ts +6 -0
  59. package/dist/components/common/index.js +5 -0
  60. package/dist/index.d.ts +2 -0
  61. package/dist/index.js +202 -0
  62. package/dist/lib/cloudCli.d.ts +156 -0
  63. package/dist/lib/cloudCli.js +691 -0
  64. package/dist/lib/config.d.ts +91 -0
  65. package/dist/lib/config.js +278 -0
  66. package/dist/lib/dns.d.ts +41 -0
  67. package/dist/lib/dns.js +235 -0
  68. package/dist/lib/dockerHub.d.ts +57 -0
  69. package/dist/lib/dockerHub.js +128 -0
  70. package/dist/lib/helm.d.ts +53 -0
  71. package/dist/lib/helm.js +209 -0
  72. package/dist/lib/helmValues.d.ts +17 -0
  73. package/dist/lib/helmValues.js +693 -0
  74. package/dist/lib/kubernetes.d.ts +161 -0
  75. package/dist/lib/kubernetes.js +755 -0
  76. package/dist/lib/terraform.d.ts +44 -0
  77. package/dist/lib/terraform.js +230 -0
  78. package/dist/lib/theme.d.ts +81 -0
  79. package/dist/lib/theme.js +115 -0
  80. package/dist/lib/validation.d.ts +47 -0
  81. package/dist/lib/validation.js +164 -0
  82. package/dist/lib/versions.d.ts +69 -0
  83. package/dist/lib/versions.js +139 -0
  84. package/dist/types/index.d.ts +718 -0
  85. package/dist/types/index.js +556 -0
  86. package/email-templates/email_change.html +325 -0
  87. package/email-templates/invite.html +383 -0
  88. package/email-templates/password_change.html +414 -0
  89. package/email-templates/verify.html +396 -0
  90. package/package.json +78 -0
  91. package/terraform/aws/main.tf +327 -0
  92. package/terraform/azure/main.tf +326 -0
  93. package/terraform/gcp/main.tf +369 -0
@@ -0,0 +1,414 @@
1
+ <center
2
+ data-body-style="font-size:15px; font-family:arial,helvetica,sans-serif; color:#000000; background-color:#FFFFFF;"
3
+ data-link-color="#1188E6"
4
+ class="wrapper"
5
+ >
6
+ <div class="webkit">
7
+ <table
8
+ bgcolor="#FFFFFF"
9
+ class="wrapper"
10
+ width="100%"
11
+ border="0"
12
+ cellspacing="0"
13
+ cellpadding="0"
14
+ >
15
+ <tbody>
16
+ <tr>
17
+ <td width="100%" bgcolor="#FFFFFF" valign="top">
18
+ <table
19
+ border="0"
20
+ cellspacing="0"
21
+ cellpadding="0"
22
+ align="center"
23
+ class="outer"
24
+ role="content-container"
25
+ width="100%"
26
+ >
27
+ <tbody>
28
+ <tr>
29
+ <td width="100%">
30
+ <table
31
+ border="0"
32
+ cellspacing="0"
33
+ cellpadding="0"
34
+ width="100%"
35
+ >
36
+ <tbody>
37
+ <tr>
38
+ <td>
39
+ <table
40
+ align="center"
41
+ style="width: 100%; max-width: 600px"
42
+ border="0"
43
+ cellspacing="0"
44
+ cellpadding="0"
45
+ width="100%"
46
+ >
47
+ <tbody>
48
+ <tr>
49
+ <td
50
+ align="left"
51
+ width="100%"
52
+ bgcolor="#FFFFFF"
53
+ style="
54
+ padding: 0px 0px 0px 0px;
55
+ color: #000000;
56
+ text-align: left;
57
+ "
58
+ role="modules-container"
59
+ >
60
+ <table
61
+ style="
62
+ display: none !important;
63
+ mso-hide: all;
64
+ visibility: hidden;
65
+ opacity: 0;
66
+ color: transparent;
67
+ height: 0;
68
+ width: 0;
69
+ "
70
+ width="100%"
71
+ cellspacing="0"
72
+ cellpadding="0"
73
+ border="0"
74
+ data-type="preheader"
75
+ role="module"
76
+ class="module preheader preheader-hide"
77
+ >
78
+ <tbody>
79
+ <tr>
80
+ <td role="module-content">
81
+ <p>Reset your password</p>
82
+ </td>
83
+ </tr>
84
+ </tbody>
85
+ </table>
86
+ <table
87
+ data-muid="cd005b1f-0237-409b-a37c-71957250ef00"
88
+ style="table-layout: fixed"
89
+ width="100%"
90
+ cellspacing="0"
91
+ cellpadding="0"
92
+ border="0"
93
+ data-type="spacer"
94
+ role="module"
95
+ class="module"
96
+ >
97
+ <tbody>
98
+ <tr>
99
+ <td
100
+ bgcolor=""
101
+ role="module-content"
102
+ style="padding: 0px 0px 60px 0px"
103
+ ></td>
104
+ </tr>
105
+ </tbody>
106
+ </table>
107
+ <table
108
+ data-muid="b9125004-cfd9-4a7d-b702-e22ab2f8dd08"
109
+ style="table-layout: fixed"
110
+ width="100%"
111
+ cellspacing="0"
112
+ cellpadding="0"
113
+ border="0"
114
+ data-type="image"
115
+ role="module"
116
+ class="wrapper"
117
+ >
118
+ <tbody>
119
+ <tr>
120
+ <td
121
+ align="center"
122
+ valign="top"
123
+ style="
124
+ font-size: 6px;
125
+ line-height: 10px;
126
+ padding: 0px 200px 0px 200px;
127
+ "
128
+ >
129
+ <img
130
+ src="https://rulebricks.com/_next/image?url=%2Fstatic%2Fimages%2Fwide-logo.png&w=256&q=75"
131
+ data-responsive="true"
132
+ data-proportionally-constrained="true"
133
+ alt=""
134
+ width="600"
135
+ style="
136
+ display: block;
137
+ color: #000000;
138
+ text-decoration: none;
139
+ font-family: Helvetica, arial,
140
+ sans-serif;
141
+ font-size: 16px;
142
+ max-width: 100% !important;
143
+ width: 100%;
144
+ height: auto !important;
145
+ "
146
+ border="0"
147
+ class="max-width"
148
+ />
149
+ </td>
150
+ </tr>
151
+ </tbody>
152
+ </table>
153
+ <table
154
+ data-muid="503096b7-7b93-440a-8c46-9d8cf21a86ff"
155
+ style="table-layout: fixed"
156
+ width="100%"
157
+ cellspacing="0"
158
+ cellpadding="0"
159
+ border="0"
160
+ data-type="spacer"
161
+ role="module"
162
+ class="module"
163
+ >
164
+ <tbody>
165
+ <tr>
166
+ <td
167
+ bgcolor=""
168
+ role="module-content"
169
+ style="padding: 0px 0px 18px 0px"
170
+ ></td>
171
+ </tr>
172
+ </tbody>
173
+ </table>
174
+ <table
175
+ data-mc-module-version="2019-10-22"
176
+ data-muid="98944b68-e89b-488e-a9a0-3d8a6bd8510e"
177
+ style="table-layout: fixed"
178
+ width="100%"
179
+ cellspacing="0"
180
+ cellpadding="0"
181
+ border="0"
182
+ data-type="text"
183
+ role="module"
184
+ class="module"
185
+ >
186
+ <tbody>
187
+ <tr>
188
+ <td
189
+ role="module-content"
190
+ bgcolor=""
191
+ valign="top"
192
+ height="100%"
193
+ style="
194
+ padding: 18px 30px 18px 30px;
195
+ line-height: 22px;
196
+ text-align: inherit;
197
+ "
198
+ >
199
+ <div>
200
+ <div
201
+ style="
202
+ font-family: inherit;
203
+ text-align: inherit;
204
+ "
205
+ >
206
+ <span style="font-size: 16px"
207
+ >We've received a request to
208
+ help you reset your password.
209
+ If it was you, please </span
210
+ ><span
211
+ style="
212
+ color: #000000;
213
+ font-family: Colfax,
214
+ Helvetica, Arial,
215
+ sans-serif;
216
+ font-size: 16px;
217
+ font-style: normal;
218
+ font-variant-ligatures: normal;
219
+ font-variant-caps: normal;
220
+ font-weight: 400;
221
+ letter-spacing: normal;
222
+ orphans: 2;
223
+ text-align: start;
224
+ text-indent: 0px;
225
+ text-transform: none;
226
+ white-space: pre-wrap;
227
+ widows: 2;
228
+ word-spacing: 0px;
229
+ -webkit-text-stroke-width: 0px;
230
+ background-color: rgb(
231
+ 255,
232
+ 255,
233
+ 255
234
+ );
235
+ text-decoration-thickness: initial;
236
+ text-decoration-style: initial;
237
+ text-decoration-color: initial;
238
+ float: none;
239
+ display: inline;
240
+ "
241
+ >either</span
242
+ ><span style="font-size: 16px">
243
+ click the button below or use </span
244
+ ><a href="{{.ConfirmationURL}}"
245
+ ><span style="font-size: 16px"
246
+ >this link</span
247
+ ></a
248
+ ><span style="font-size: 16px">
249
+ to verify your
250
+ account.&nbsp;</span
251
+ >
252
+ </div>
253
+ <div
254
+ style="
255
+ font-family: inherit;
256
+ text-align: inherit;
257
+ "
258
+ >
259
+ <br />
260
+ </div>
261
+ <div
262
+ style="
263
+ font-family: inherit;
264
+ text-align: inherit;
265
+ "
266
+ >
267
+ <span style="font-size: 16px"
268
+ >If you believe you are
269
+ receiving this email in error
270
+ or are having any issues
271
+ setting up your account, you
272
+ can contact support by
273
+ replying to this email.</span
274
+ >
275
+ </div>
276
+ <div></div>
277
+ </div>
278
+ </td>
279
+ </tr>
280
+ </tbody>
281
+ </table>
282
+ <table
283
+ data-muid="ef0a3d96-9728-48bf-9333-f401d279f514"
284
+ style="table-layout: fixed"
285
+ width="100%"
286
+ cellspacing="0"
287
+ cellpadding="0"
288
+ border="0"
289
+ data-type="spacer"
290
+ role="module"
291
+ class="module"
292
+ >
293
+ <tbody>
294
+ <tr>
295
+ <td
296
+ bgcolor=""
297
+ role="module-content"
298
+ style="padding: 0px 0px 10px 0px"
299
+ ></td>
300
+ </tr>
301
+ </tbody>
302
+ </table>
303
+ <table
304
+ data-muid="8d1c7b39-04d4-4037-957c-181ebeceeba0"
305
+ width="100%"
306
+ style="table-layout: fixed"
307
+ role="module"
308
+ data-type="button"
309
+ data-role="module-button"
310
+ class="module"
311
+ cellspacing="0"
312
+ cellpadding="0"
313
+ border="0"
314
+ >
315
+ <tbody>
316
+ <tr>
317
+ <td
318
+ style="padding: 0px 0px 0px 0px"
319
+ class="outer-td"
320
+ bgcolor=""
321
+ align="center"
322
+ >
323
+ <table
324
+ style="text-align: center"
325
+ class="wrapper-mobile"
326
+ cellspacing="0"
327
+ cellpadding="0"
328
+ border="0"
329
+ >
330
+ <tbody>
331
+ <tr>
332
+ <td
333
+ style="
334
+ border-radius: 6px;
335
+ font-size: 16px;
336
+ text-align: center;
337
+ background-color: inherit;
338
+ "
339
+ class="inner-td"
340
+ bgcolor="#262626"
341
+ align="center"
342
+ >
343
+ <a
344
+ style="
345
+ background-color: #262626;
346
+ border: 1px solid
347
+ #262626;
348
+ border-color: #262626;
349
+ border-radius: 4px;
350
+ border-width: 1px;
351
+ color: #ffffff;
352
+ display: inline-block;
353
+ font-size: 16px;
354
+ font-weight: normal;
355
+ letter-spacing: 0px;
356
+ line-height: normal;
357
+ padding: 12px 18px 12px
358
+ 18px;
359
+ text-align: center;
360
+ text-decoration: none;
361
+ border-style: solid;
362
+ width: 240px;
363
+ font-family: inherit;
364
+ "
365
+ href="{{.ConfirmationURL}}"
366
+ >Reset password</a
367
+ >
368
+ </td>
369
+ </tr>
370
+ </tbody>
371
+ </table>
372
+ </td>
373
+ </tr>
374
+ </tbody>
375
+ </table>
376
+ <table
377
+ data-muid="8ca931bf-f02f-4745-b181-373cefb3cef6"
378
+ style="table-layout: fixed"
379
+ width="100%"
380
+ cellspacing="0"
381
+ cellpadding="0"
382
+ border="0"
383
+ data-type="spacer"
384
+ role="module"
385
+ class="module"
386
+ >
387
+ <tbody>
388
+ <tr>
389
+ <td
390
+ bgcolor=""
391
+ role="module-content"
392
+ style="padding: 0px 0px 60px 0px"
393
+ ></td>
394
+ </tr>
395
+ </tbody>
396
+ </table>
397
+ </td>
398
+ </tr>
399
+ </tbody>
400
+ </table>
401
+ </td>
402
+ </tr>
403
+ </tbody>
404
+ </table>
405
+ </td>
406
+ </tr>
407
+ </tbody>
408
+ </table>
409
+ </td>
410
+ </tr>
411
+ </tbody>
412
+ </table>
413
+ </div>
414
+ </center>