@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,383 @@
1
+ <center
2
+ class="wrapper"
3
+ data-link-color="#1188E6"
4
+ data-body-style="font-size:15px; font-family:arial,helvetica,sans-serif; color:#000000; background-color:#FFFFFF;"
5
+ >
6
+ <div class="webkit">
7
+ <table
8
+ cellpadding="0"
9
+ cellspacing="0"
10
+ border="0"
11
+ width="100%"
12
+ class="wrapper"
13
+ bgcolor="#FFFFFF"
14
+ >
15
+ <tbody>
16
+ <tr>
17
+ <td valign="top" bgcolor="#FFFFFF" width="100%">
18
+ <table
19
+ width="100%"
20
+ role="content-container"
21
+ class="outer"
22
+ align="center"
23
+ cellpadding="0"
24
+ cellspacing="0"
25
+ border="0"
26
+ >
27
+ <tbody>
28
+ <tr>
29
+ <td width="100%">
30
+ <table
31
+ width="100%"
32
+ cellpadding="0"
33
+ cellspacing="0"
34
+ border="0"
35
+ >
36
+ <tbody>
37
+ <tr>
38
+ <td>
39
+ <table
40
+ width="100%"
41
+ cellpadding="0"
42
+ cellspacing="0"
43
+ border="0"
44
+ style="width: 100%; max-width: 600px"
45
+ align="center"
46
+ >
47
+ <tbody>
48
+ <tr>
49
+ <td
50
+ role="modules-container"
51
+ style="
52
+ padding: 0px 0px 0px 0px;
53
+ color: #000000;
54
+ text-align: left;
55
+ "
56
+ bgcolor="#FFFFFF"
57
+ width="100%"
58
+ align="left"
59
+ >
60
+ <table
61
+ class="module preheader preheader-hide"
62
+ role="module"
63
+ data-type="preheader"
64
+ border="0"
65
+ cellpadding="0"
66
+ cellspacing="0"
67
+ width="100%"
68
+ style="
69
+ display: none !important;
70
+ mso-hide: all;
71
+ visibility: hidden;
72
+ opacity: 0;
73
+ color: transparent;
74
+ height: 0;
75
+ width: 0;
76
+ "
77
+ >
78
+ <tbody>
79
+ <tr>
80
+ <td role="module-content">
81
+ <p>Join your team on Rulebricks</p>
82
+ </td>
83
+ </tr>
84
+ </tbody>
85
+ </table>
86
+ <table
87
+ class="module"
88
+ role="module"
89
+ data-type="spacer"
90
+ border="0"
91
+ cellpadding="0"
92
+ cellspacing="0"
93
+ width="100%"
94
+ style="table-layout: fixed"
95
+ data-muid="cd005b1f-0237-409b-a37c-71957250ef00"
96
+ >
97
+ <tbody>
98
+ <tr>
99
+ <td
100
+ style="padding: 0px 0px 60px 0px"
101
+ role="module-content"
102
+ bgcolor=""
103
+ ></td>
104
+ </tr>
105
+ </tbody>
106
+ </table>
107
+ <table
108
+ class="wrapper"
109
+ role="module"
110
+ data-type="image"
111
+ border="0"
112
+ cellpadding="0"
113
+ cellspacing="0"
114
+ width="100%"
115
+ style="table-layout: fixed"
116
+ data-muid="b9125004-cfd9-4a7d-b702-e22ab2f8dd08"
117
+ >
118
+ <tbody>
119
+ <tr>
120
+ <td
121
+ style="
122
+ font-size: 6px;
123
+ line-height: 10px;
124
+ padding: 0px 200px 0px 200px;
125
+ "
126
+ valign="top"
127
+ align="center"
128
+ >
129
+ <img
130
+ class="max-width"
131
+ border="0"
132
+ style="
133
+ display: block;
134
+ color: #000000;
135
+ text-decoration: none;
136
+ font-family: Helvetica, arial,
137
+ sans-serif;
138
+ font-size: 16px;
139
+ max-width: 100% !important;
140
+ width: 100%;
141
+ height: auto !important;
142
+ "
143
+ width="600"
144
+ alt=""
145
+ data-proportionally-constrained="true"
146
+ data-responsive="true"
147
+ src="https://rulebricks.com/_next/image?url=%2Fstatic%2Fimages%2Fwide-logo.png&w=256&q=75"
148
+ />
149
+ </td>
150
+ </tr>
151
+ </tbody>
152
+ </table>
153
+ <table
154
+ class="module"
155
+ role="module"
156
+ data-type="spacer"
157
+ border="0"
158
+ cellpadding="0"
159
+ cellspacing="0"
160
+ width="100%"
161
+ style="table-layout: fixed"
162
+ data-muid="503096b7-7b93-440a-8c46-9d8cf21a86ff"
163
+ >
164
+ <tbody>
165
+ <tr>
166
+ <td
167
+ style="padding: 0px 0px 18px 0px"
168
+ role="module-content"
169
+ bgcolor=""
170
+ ></td>
171
+ </tr>
172
+ </tbody>
173
+ </table>
174
+ <table
175
+ class="module"
176
+ role="module"
177
+ data-type="text"
178
+ border="0"
179
+ cellpadding="0"
180
+ cellspacing="0"
181
+ width="100%"
182
+ style="table-layout: fixed"
183
+ data-muid="98944b68-e89b-488e-a9a0-3d8a6bd8510e"
184
+ data-mc-module-version="2019-10-22"
185
+ >
186
+ <tbody>
187
+ <tr>
188
+ <td
189
+ style="
190
+ padding: 18px 30px 18px 30px;
191
+ line-height: 22px;
192
+ text-align: inherit;
193
+ "
194
+ height="100%"
195
+ valign="top"
196
+ bgcolor=""
197
+ role="module-content"
198
+ >
199
+ <div>
200
+ <div
201
+ style="
202
+ font-family: inherit;
203
+ text-align: inherit;
204
+ "
205
+ >
206
+ <span style="font-size: 16px"
207
+ >A team member has invited you
208
+ to manage rules with them on
209
+ Rulebricks! Your account has
210
+ already been created, use the
211
+ button below or click </span
212
+ ><a
213
+ href="{{ .SiteURL }}/invite/accept#invite_token={{ .TokenHash }}&parent={{ .Data.parent }}&email={{ .Email }}"
214
+ ><span style="font-size: 16px"
215
+ >this link</span
216
+ ></a
217
+ ><span style="font-size: 16px">
218
+ to create a password and join
219
+ them.&nbsp;</span
220
+ >
221
+ </div>
222
+ <div
223
+ style="
224
+ font-family: inherit;
225
+ text-align: inherit;
226
+ "
227
+ >
228
+ <br />
229
+ </div>
230
+ <div
231
+ style="
232
+ font-family: inherit;
233
+ text-align: inherit;
234
+ "
235
+ >
236
+ <span style="font-size: 16px"
237
+ >If you believe you are
238
+ receiving this email in error
239
+ or are having any issues
240
+ setting up your account, you
241
+ can contact support by
242
+ replying to this email.</span
243
+ >
244
+ </div>
245
+ <div></div>
246
+ </div>
247
+ </td>
248
+ </tr>
249
+ </tbody>
250
+ </table>
251
+ <table
252
+ class="module"
253
+ role="module"
254
+ data-type="spacer"
255
+ border="0"
256
+ cellpadding="0"
257
+ cellspacing="0"
258
+ width="100%"
259
+ style="table-layout: fixed"
260
+ data-muid="ef0a3d96-9728-48bf-9333-f401d279f514"
261
+ >
262
+ <tbody>
263
+ <tr>
264
+ <td
265
+ style="padding: 0px 0px 10px 0px"
266
+ role="module-content"
267
+ bgcolor=""
268
+ ></td>
269
+ </tr>
270
+ </tbody>
271
+ </table>
272
+ <table
273
+ border="0"
274
+ cellpadding="0"
275
+ cellspacing="0"
276
+ class="module"
277
+ data-role="module-button"
278
+ data-type="button"
279
+ role="module"
280
+ style="table-layout: fixed"
281
+ width="100%"
282
+ data-muid="8d1c7b39-04d4-4037-957c-181ebeceeba0"
283
+ >
284
+ <tbody>
285
+ <tr>
286
+ <td
287
+ align="center"
288
+ bgcolor=""
289
+ class="outer-td"
290
+ style="padding: 0px 0px 0px 0px"
291
+ >
292
+ <table
293
+ border="0"
294
+ cellpadding="0"
295
+ cellspacing="0"
296
+ class="wrapper-mobile"
297
+ style="text-align: center"
298
+ >
299
+ <tbody>
300
+ <tr>
301
+ <td
302
+ align="center"
303
+ bgcolor="#262626"
304
+ class="inner-td"
305
+ style="
306
+ border-radius: 6px;
307
+ font-size: 16px;
308
+ text-align: center;
309
+ background-color: inherit;
310
+ "
311
+ >
312
+ <a
313
+ href="{{ .SiteURL }}/invite/accept#invite_token={{ .TokenHash }}&parent={{ .Data.parent }}&email={{ .Email }}"
314
+ style="
315
+ background-color: #262626;
316
+ border: 1px solid
317
+ #262626;
318
+ border-color: #262626;
319
+ border-radius: 4px;
320
+ border-width: 1px;
321
+ color: #ffffff;
322
+ display: inline-block;
323
+ font-size: 16px;
324
+ font-weight: normal;
325
+ letter-spacing: 0px;
326
+ line-height: normal;
327
+ padding: 12px 18px 12px
328
+ 18px;
329
+ text-align: center;
330
+ text-decoration: none;
331
+ border-style: solid;
332
+ width: 240px;
333
+ font-family: inherit;
334
+ "
335
+ >Accept Invite</a
336
+ >
337
+ </td>
338
+ </tr>
339
+ </tbody>
340
+ </table>
341
+ </td>
342
+ </tr>
343
+ </tbody>
344
+ </table>
345
+ <table
346
+ class="module"
347
+ role="module"
348
+ data-type="spacer"
349
+ border="0"
350
+ cellpadding="0"
351
+ cellspacing="0"
352
+ width="100%"
353
+ style="table-layout: fixed"
354
+ data-muid="8ca931bf-f02f-4745-b181-373cefb3cef6"
355
+ >
356
+ <tbody>
357
+ <tr>
358
+ <td
359
+ style="padding: 0px 0px 60px 0px"
360
+ role="module-content"
361
+ bgcolor=""
362
+ ></td>
363
+ </tr>
364
+ </tbody>
365
+ </table>
366
+ </td>
367
+ </tr>
368
+ </tbody>
369
+ </table>
370
+ </td>
371
+ </tr>
372
+ </tbody>
373
+ </table>
374
+ </td>
375
+ </tr>
376
+ </tbody>
377
+ </table>
378
+ </td>
379
+ </tr>
380
+ </tbody>
381
+ </table>
382
+ </div>
383
+ </center>