create-steedos-app 2.2.52-beta.6 → 2.2.53-beta.2

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 (89) hide show
  1. package/LICENSE.txt +2 -5
  2. package/README.md +40 -2
  3. package/dist/create-app.d.ts +10 -0
  4. package/dist/default/README-template.md +32 -0
  5. package/dist/default/docker-compose.yml +29 -0
  6. package/dist/default/env +32 -0
  7. package/dist/default/gitignore +17 -0
  8. package/{templates → dist}/default/steedos-app/main/default/client/analytics.baidu.client.js +0 -0
  9. package/dist/default/steedos-app/package.json +6 -0
  10. package/{templates → dist}/default/steedos-app/package.service.js +0 -0
  11. package/dist/default/steedos.config.js +18 -0
  12. package/dist/gitignore +17 -0
  13. package/dist/helpers/examples.d.ts +12 -0
  14. package/dist/helpers/get-pkg-manager.d.ts +2 -0
  15. package/dist/helpers/git.d.ts +1 -0
  16. package/dist/helpers/install.d.ts +22 -0
  17. package/dist/helpers/is-folder-empty.d.ts +1 -0
  18. package/dist/helpers/is-online.d.ts +1 -0
  19. package/dist/helpers/is-writeable.d.ts +1 -0
  20. package/dist/helpers/make-dir.d.ts +3 -0
  21. package/dist/helpers/validate-pkg.d.ts +4 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/index.js +385 -0
  24. package/package.json +35 -22
  25. package/createSteedosApp.js +0 -127
  26. package/index.js +0 -19
  27. package/templates/default/.scripts/env.sh +0 -7
  28. package/templates/default/.scripts/flush_cacher_db.js +0 -7
  29. package/templates/default/.scripts/setup.sh +0 -8
  30. package/templates/default/.scripts/tailscale.sh +0 -7
  31. package/templates/default/.scripts/tailscaled.sh +0 -6
  32. package/templates/default/.steedos/_package.json +0 -11
  33. package/templates/default/.steedos/steedos-packages.yml +0 -30
  34. package/templates/default/.steedos/yarn.lock +0 -35
  35. package/templates/default/.vscode/extensions.json +0 -5
  36. package/templates/default/.vscode/settings.json +0 -17
  37. package/templates/default/Dockerfile +0 -21
  38. package/templates/default/Dockerfile-codeserver +0 -37
  39. package/templates/default/README.md +0 -99
  40. package/templates/default/_package.json +0 -60
  41. package/templates/default/docker-compose.yml +0 -59
  42. package/templates/default/env +0 -35
  43. package/templates/default/gitignore +0 -35
  44. package/templates/default/gitpod.Dockerfile +0 -52
  45. package/templates/default/gitpod.yml +0 -47
  46. package/templates/default/index.js +0 -0
  47. package/templates/default/jsreport-app/_package.json +0 -16
  48. package/templates/default/jsreport-app/jsreport.config.json +0 -43
  49. package/templates/default/jsreport-app/server.js +0 -14
  50. package/templates/default/lerna.json +0 -10
  51. package/templates/default/moleculer.config.js +0 -268
  52. package/templates/default/node-red-app/LICENSE.txt +0 -706
  53. package/templates/default/node-red-app/README.md +0 -78
  54. package/templates/default/node-red-app/_package.json +0 -26
  55. package/templates/default/node-red-app/index.js +0 -137
  56. package/templates/default/node-red-app/public/css/simplegrid.css +0 -145
  57. package/templates/default/node-red-app/public/css/style.css +0 -482
  58. package/templates/default/node-red-app/public/favicon.ico +0 -0
  59. package/templates/default/node-red-app/public/first-run.html +0 -280
  60. package/templates/default/node-red-app/public/fonts/css.css +0 -224
  61. package/templates/default/node-red-app/public/images/progress-bar.png +0 -0
  62. package/templates/default/node-red-app/public/images/progress-left.png +0 -0
  63. package/templates/default/node-red-app/public/images/progress-middle.png +0 -0
  64. package/templates/default/node-red-app/public/images/progress-o-bar.png +0 -0
  65. package/templates/default/node-red-app/public/images/progress-o-left.png +0 -0
  66. package/templates/default/node-red-app/public/images/progress-o-middle.png +0 -0
  67. package/templates/default/node-red-app/public/images/progress-o-right.png +0 -0
  68. package/templates/default/node-red-app/public/images/progress-right.png +0 -0
  69. package/templates/default/node-red-app/public/images/spin.svg +0 -41
  70. package/templates/default/node-red-app/public/images/title-wave.png +0 -0
  71. package/templates/default/node-red-app/public/index.html +0 -220
  72. package/templates/default/node-red-app/public/scripts/jquery-1.11.2.min.js +0 -4
  73. package/templates/default/node-red-app/public/scripts/zxcvbn.js +0 -28
  74. package/templates/default/node-red-app/public/steedos.png +0 -0
  75. package/templates/default/node-red-app/red.js +0 -294
  76. package/templates/default/node-red-app/routers/health.js +0 -13
  77. package/templates/default/node-red-app/settings.js +0 -121
  78. package/templates/default/services/community.service.js +0 -19
  79. package/templates/default/services/enterprise.service.js +0 -26
  80. package/templates/default/services/sidecar-server.service.js +0 -7
  81. package/templates/default/steedos-app/README.md +0 -5
  82. package/templates/default/steedos-app/_package.json +0 -9
  83. package/templates/default/steedos-app/tsconfig.json +0 -74
  84. package/templates/default/steedos-config.yml +0 -95
  85. package/templates/default/steedos-packages/README.md +0 -1
  86. package/templates/default/steedos-packages/my-package/README.md +0 -3
  87. package/templates/default/steedos-packages/my-package/_package.json +0 -9
  88. package/templates/default/steedos-packages/my-package/main/default/client/analytics.baidu.client.js +0 -24
  89. package/templates/default/steedos-packages/my-package/package.service.js +0 -69
@@ -1,482 +0,0 @@
1
- body {
2
- color: #555;
3
- font-family: Arial;
4
- font-size: 16px;
5
- line-height: 1.6em;
6
-
7
- }
8
- a {
9
- text-decoration: none;
10
- color: #8f0000;
11
- }
12
- a:hover {
13
- text-decoration: underline;
14
- }
15
-
16
- h1,h2,h3,h4,h5 {
17
- font-family: "Roboto Slab";
18
- font-weight: normal;
19
- }
20
- h1 {
21
- font-size: 36px;
22
- font-weight: bold;
23
- }
24
- h2 {
25
- font-size: 30px;
26
- }
27
- h3 {
28
- font-size: 24px;
29
- }
30
- h4 {
31
- font-size: 18px;
32
- }
33
- h5 {
34
- font-size: 16px;
35
- margin: 1em 0;
36
- }
37
-
38
-
39
- .row2, .nodes {
40
- background: #eee;
41
- }
42
-
43
- .title {
44
- background: url(../images/title-wave.png) no-repeat 0% 100% #8f0000 ;
45
- border-top: 10px solid #a22222;
46
- text-align: center;
47
- }
48
-
49
- .blurb a {
50
- text-decoration: underline;
51
- color: #555;
52
- }
53
-
54
-
55
- a.button {
56
- text-decoration: none;
57
- display: inline-block;
58
- padding: 30px 40px;
59
- border: 1px solid #aa6767;
60
- border-radius: 1px;
61
- background: none;
62
- color: #aa6767;
63
- }
64
- a.button:hover {
65
- text-decoration: none;
66
- background: #aa6767;
67
- color: #eee;
68
- }
69
-
70
- .row3, .row4, .row5 {
71
- background: #fff;
72
- }
73
-
74
- .row9 {
75
- background: #676767;
76
- }
77
-
78
- .links {
79
- background: #444;
80
- }
81
- .links .grid {
82
- font-size: 16px;
83
- color: #aaa;
84
- padding-top: 20px;
85
- padding-bottom: 20px;
86
- font-family: Arial;
87
- }
88
- .links p {
89
- margin: 0 0 10px 0;
90
- }
91
-
92
- .links a {
93
- color: #eee;
94
- }
95
- .links ul {
96
- margin:0;
97
- padding:0;
98
- }
99
- .links .content {
100
- height: auto;
101
- min-height: 0;
102
- margin: 10px auto;
103
- }
104
-
105
- .content {
106
- min-height: 250px;
107
- padding: 60px 0;
108
- margin: 0;
109
- }
110
-
111
- .blurb {
112
- }
113
- .blurb p {
114
- margin-top: 0;
115
- }
116
- .blurb h3, .nodes h3 {
117
- font-family: "Roboto Slab";
118
- font-size: 24px;
119
- font-weight: normal;
120
- margin-top: 0;
121
- margin-bottom: 0.5em;
122
- }
123
- .blurb h4 {
124
- font-family: "Roboto Slab";
125
- font-size: 18px;
126
- font-weight: normal;
127
- margin-top: 0.8em;
128
- margin-bottom: 0.5em;
129
- }
130
- .feature {
131
- max-width: 485px;
132
- margin-left: auto;
133
- margin-right: auto;
134
- text-align: center;
135
- }
136
-
137
- .row3 .feature, .row4 .feature, .row5 .feature {
138
- border: none;
139
- }
140
- .feature img {
141
- max-width: 445px;
142
- width: 100%;
143
- }
144
- .title .content {
145
- height: 280px;
146
- }
147
- .title h1 {
148
- margin-top: 20px;
149
- margin-bottom: 10px;
150
- color: #f0f0f0;
151
- font-size: 2.5em;
152
- font-weight: normal;
153
- }
154
- .title h2 {
155
- margin-top: 0px;
156
- font-size: 20px;
157
- font-family: "Open Sans", sans-serif;
158
- font-weight: normal;
159
- color: #c19e9e;
160
- }
161
- .title p {
162
- color: #c19e9e;
163
- }
164
- .title img {
165
- margin: auto;
166
- max-width: 769px;
167
- width: 100%;
168
- }
169
-
170
- .nodes .content {
171
- text-align: center;
172
- height: auto;
173
- min-height: 0;
174
- margin: 40px 0 40px 0;
175
- }
176
- .nodes .grid {
177
- padding-top: 40px;
178
- padding-bottom: 40px;
179
- }
180
-
181
- .nodes h3 {
182
- text-align: center;
183
- }
184
- .nodes h4 {
185
- font-family: "Roboto Slab";
186
- text-align: center;
187
- font-weight: normal;
188
- margin-top: 3px;
189
- height: 50px;
190
- }
191
-
192
- .header {
193
- font-family: "Roboto Slab";
194
- font-size: 20px;
195
- line-height: 50px;
196
- color: #999;
197
- padding: 0px 10px;
198
- height: 62px;
199
- background: #333;
200
- }
201
- .header-content {
202
- width: 100%;
203
- max-width: 1155px;
204
- min-width: 755px;
205
- margin: 0 auto;
206
- background: #333;
207
- border-bottom: 5px solid #333;
208
- }
209
- .header-content .brand {
210
- display: inline-block;
211
- float: left;
212
- margin-top: 3px;
213
- font-size: 20px;
214
- padding: 0 15px 0 15px;
215
- color: #eee;
216
- }
217
-
218
- .guide {
219
- position: relative;
220
- border: 1px solid #666;
221
- border-radius: 2px;
222
- overflow: hidden;
223
- min-height: 700px;
224
- width: 800px;
225
- margin: 60px auto;
226
- }
227
- .body {
228
- position: absolute;
229
- width: 500%;
230
- }
231
- .toolbar {
232
- position: absolute;
233
- bottom: 0;
234
- left: 0;
235
- right: 0;
236
- height: 80px;
237
- border-top: 1px solid #999;
238
- padding: 20px;
239
- background: white;
240
- }
241
-
242
- button {
243
- border: 1px solid #666;
244
- padding: 10px;
245
- background: white;
246
- font-size: 16px;
247
- width: 100px;
248
- margin-left: 20px;
249
- cursor: pointer;
250
- }
251
- button:hover {
252
- border-color: #8f0000;
253
- color: #8f0000;
254
- }
255
- button:disabled {
256
- color: #ccc;
257
- border-color: #ccc;
258
- }
259
- .btn-group {
260
- float: right;
261
- }
262
-
263
- .page {
264
- vertical-align: top;
265
- display:inline-block;
266
- padding: 30px;
267
- width: calc(20% - 5px);
268
- }
269
- .hide {
270
- display:none;
271
- }
272
-
273
- .box-list {
274
- list-style-type: none;
275
- margin: 20px;
276
- padding: 0;
277
- }
278
-
279
- .box-list li {
280
- border: 1px solid #999;
281
- border-radius: 2px;
282
- margin-bottom: 10px;
283
- }
284
- .secureOptionLabel {
285
- padding: 20px;
286
- display: block;
287
- min-height: 65px;
288
- }
289
- label {
290
- cursor: pointer;
291
- }
292
- .box-list li input[type=radio] {
293
- vertical-align: middle;
294
- }
295
-
296
- .secureOption-info {
297
- padding: 0 20px 20px 50px;
298
- }
299
- .secureOption-info > div {
300
- line-height: 54px;
301
- }
302
-
303
- .secureOption-info label {
304
- display: inline-block;
305
- width: 120px;
306
- }
307
- .secureOption-info label.checkboxLabel {
308
- width: 100%;
309
- vertical-align: middle;
310
- }
311
- input[type=text],input[type=password] {
312
- border: 1px solid #999;
313
- border-radius: 2px;
314
- padding: 10px;
315
- font-size: 16px;
316
- width: 300px;
317
-
318
-
319
- }
320
-
321
- .progress {
322
- height: 30px;
323
- display: inline-block;
324
- width: 500px;
325
- font-size: 0;
326
- }
327
- .progress-step {
328
- display: inline-block;
329
- height: 100%;
330
- width: 20px;
331
- background: url(../images/progress-middle.png) repeat-x 50% 50%;
332
- }
333
- .progress-step.active {
334
- background-image: url(../images/progress-o-middle.png);
335
- }
336
-
337
- .progress-step:first-child {
338
- background-image: url(../images/progress-left.png);
339
- }
340
- .progress-step.active:first-child {
341
- background-image: url(../images/progress-o-left.png);
342
- }
343
- .progress-step:last-child {
344
- background-image: url(../images/progress-right.png);
345
- }
346
- .progress-step.active:last-child {
347
- background-image: url(../images/progress-o-right.png);
348
- }
349
- .progress-bar {
350
- display: inline-block;
351
- height: 100%;
352
- width: calc((500px - (5*20px)) / 4 );
353
- background: url(../images/progress-bar.png) repeat-x 50% 50%;
354
- }
355
- .progress-bar.active {
356
- background-image: url(../images/progress-o-bar.png);
357
- }
358
- .password-hints {
359
- font-size: 0.8em;
360
- color: #999;
361
- margin-left: 10px;
362
- line-height: 12px;
363
- display: inline-block;
364
- }
365
- .secureOption-password-box {
366
- position: relative;
367
- display: inline-block;
368
- vertical-align: top;
369
- margin-top: 6px;
370
- line-height: 1em;
371
- }
372
- .password-strength {
373
- display: inline-block;
374
- position: absolute;
375
- text-align: right;
376
- width: 55px;
377
- margin-top:3px;
378
- font-size: 0.8em;
379
- line-height: 12px;
380
- }
381
- #secureOption-password {
382
- display: block;
383
- }
384
- meter {
385
- width: 240px;
386
- height: 16px;
387
- border: 1px solid #ccc;
388
- -moz-appearance: none;
389
- appearance: none;
390
- background: none;
391
- }
392
-
393
- meter::-webkit-meter-bar {
394
- background: none;
395
- }
396
- meter[value="0"]::-webkit-meter-optimum-value { background: white; }
397
- meter[value="1"]::-webkit-meter-optimum-value { background: red; }
398
- meter[value="2"]::-webkit-meter-optimum-value { background: red; }
399
- meter[value="3"]::-webkit-meter-optimum-value { background: yellow; }
400
- meter[value="4"]::-webkit-meter-optimum-value { background: yellowgreen; }
401
- meter[value="5"]::-webkit-meter-optimum-value { background: green; }
402
-
403
- meter[value="0"]::-moz-meter-bar { background: white; }
404
- meter[value="1"]::-moz-meter-bar { background: red; }
405
- meter[value="2"]::-moz-meter-bar { background: red; }
406
- meter[value="3"]::-moz-meter-bar { background: yellow; }
407
- meter[value="4"]::-moz-meter-bar { background: yellowgreen; }
408
- meter[value="5"]::-moz-meter-bar { background: green; }
409
-
410
- meter::-webkit-meter-optimum-value {
411
- transition: width .5s , background-color .5s;
412
- }
413
- .nodelistContainer {
414
- background: #f9f9f9;
415
- height: 340px;
416
- border-top: 1px solid #aaa;
417
- overflow-y: scroll;
418
- padding: 35px;
419
- width: 800px;
420
- margin-left: -30px;
421
- }
422
- .nodelist {
423
- list-style-type: none;
424
- padding: 0;
425
- margin:0;
426
- }
427
-
428
- .nodelist li {
429
- background: white;
430
- display: inline-block;
431
- width: 330px;
432
- margin: 10px;
433
- font-size: 14px;
434
- height: 100px;
435
- vertical-align: top;
436
- line-height: 1.7em;
437
- }
438
-
439
- .nodelist h4 {
440
- margin: 0;
441
- font-size: 16px;
442
- color: #333;
443
- }
444
- .nodelist a {
445
- border: 1px solid #999;
446
- border-radius: 2px;
447
- color: #999;
448
- display: inline-block;
449
- width: 100%;
450
- height: 100%;
451
- padding: 5px;
452
- }
453
- .nodelist a:hover {
454
- border-color: #8f0000;
455
- text-decoration: none;
456
- }
457
-
458
- .deploy {
459
- margin-top: 200px;
460
- text-align: center;
461
- }
462
-
463
- ul.customisations {
464
- list-style-type: none;
465
- padding: 0;
466
- margin: 0;
467
- }
468
-
469
- ul.customisations > li {
470
- border: 1px solid #999;
471
- border-radius: 2px;
472
- margin-bottom: 20px;
473
- }
474
- ul.customisations > li > h4 {
475
- margin: 0;
476
- padding: 12px;
477
- cursor: pointer;
478
- }
479
- ul.customisations > li > .custom-content {
480
- padding: 8px 16px;
481
- display: none;
482
- }