@cocreate/cli 1.39.4 → 1.40.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [1.40.0](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.39.4...v1.40.0) (2023-09-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * coc upload -w and coc upload '../' -w to watch files for changes and upload. Replaces watch.js ([236eaba](https://github.com/CoCreate-app/CoCreate-cli/commit/236eabaa87038e9535f33e7e55a21bab72404d1d))
7
+
1
8
  ## [1.39.4](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.39.3...v1.39.4) (2023-08-21)
2
9
 
3
10
 
@@ -1,481 +1,430 @@
1
- module.exports = {
2
- "organization_id": "",
3
- "key": "",
4
- "host": "",
5
- "sources": [
6
- {
7
- "array": "files",
8
- "object": {
9
- "_id": "637ca36250234ef1671ce30f",
10
- "name": "index.html",
11
- "path": "/docs/cli/index.html",
12
- "src": "{{./docs/index.html}}",
13
- "host": [
14
- "*",
15
- "general.cocreate.app"
16
- ],
17
- "directory": "/docs/cli",
18
- "parentDirectory": "{{parentDirectory}}",
19
- "content-type": "{{content-type}}",
20
- "public": "true",
21
- "website_id": "644d4bff8036fb9d1d1fd69c"
22
- }
23
- }
24
- ],
25
- "repositories": [
26
-
27
- {
28
- 'path': '../../CoCreateJS',
29
- 'repo': 'github.com/CoCreate-app/CoCreateJS.git'
30
- },
31
- {
32
- 'path': '../../CoCreateCSS',
33
- 'repo': 'github.com/CoCreate-app/CoCreateCSS.git'
34
- },
35
- {
36
- 'path': '../../CoCreate-admin',
37
- 'repo': 'github.com/CoCreate-app/CoCreate-admin.git'
38
- },
39
- {
40
- 'path': '../../CoCreate-website',
41
- 'repo': 'github.com/CoCreate-app/CoCreate-website.git'
42
- },
43
- // {
44
- // 'path': '../../CoCreate-website-template',
45
- // 'repo': 'github.com/CoCreate-app/CoCreate-website-template.git'
46
- // },
47
-
48
- // Components
49
- {
50
- 'path': '../CoCreate-actions',
51
- 'repo': 'github.com/CoCreate-app/CoCreate-actions.git'
52
- },
53
- {
54
- 'path': '../CoCreate-api',
55
- 'repo': 'github.com/CoCreate-app/CoCreate-api.git'
56
- },
57
- {
58
- 'path': '../CoCreate-attributes',
59
- 'repo': 'github.com/CoCreate-app/CoCreate-attributes.git'
60
- },
61
- {
62
- 'path': '../CoCreate-calculation',
63
- 'repo': 'github.com/CoCreate-app/CoCreate-calculation.git'
64
- },
65
- {
66
- 'path': '../CoCreate-cli',
67
- 'repo': 'github.com/CoCreate-app/CoCreate-cli.git'
68
- },
69
- {
70
- 'path': '../CoCreate-clone',
71
- 'repo': 'github.com/CoCreate-app/CoCreate-clone.git'
72
- },
73
- {
74
- 'path': '../CoCreate-codearea',
75
- 'repo': 'github.com/CoCreate-app/CoCreate-codearea.git'
76
- },
77
- {
78
- 'path': '../CoCreate-conditional-logic',
79
- 'repo': 'github.com/CoCreate-app/CoCreate-conditional-logic.git'
80
- },
81
- {
82
- 'path': '../CoCreate-config',
83
- 'repo': 'github.com/CoCreate-app/CoCreate-config.git'
84
- },
85
- {
86
- 'path': '../CoCreate-crdt',
87
- 'repo': 'github.com/CoCreate-app/CoCreate-crdt.git',
88
- },
89
- {
90
- 'path': '../CoCreate-crud-client',
91
- 'repo': 'github.com/CoCreate-app/CoCreate-crud-client.git'
92
- },
93
- {
94
- 'path': '../CoCreate-css-parser',
95
- 'repo': 'github.com/CoCreate-app/CoCreate-css-parser.git'
96
- },
97
- {
98
- 'path': '../CoCreate-cursors',
99
- 'repo': 'github.com/CoCreate-app/CoCreate-cursors.git'
100
- },
101
- {
102
- 'path': '../CoCreate-dnd',
103
- 'repo': 'github.com/CoCreate-app/CoCreate-dnd.git'
104
- },
105
- {
106
- 'path': '../CoCreate-docs',
107
- 'repo': 'github.com/CoCreate-app/CoCreate-docs.git'
108
- },
109
- {
110
- 'path': '../CoCreate-element-config',
111
- 'repo': 'github.com/CoCreate-app/CoCreate-element-config.git'
112
- },
113
- {
114
- 'path': '../CoCreate-element-prototype',
115
- 'repo': 'github.com/CoCreate-app/CoCreate-element-prototype.git'
116
- },
117
- {
118
- 'path': '../CoCreate-elements',
119
- 'repo': 'github.com/CoCreate-app/CoCreate-elements.git'
120
- },
121
- {
122
- 'path': '../CoCreate-events',
123
- 'repo': 'github.com/CoCreate-app/CoCreate-events.git'
124
- },
125
- {
126
- 'path': '../CoCreate-file',
127
- 'repo': 'github.com/CoCreate-app/CoCreate-file.git'
128
- },
129
- {
130
- 'path': '../CoCreate-filter',
131
- 'repo': 'github.com/CoCreate-app/CoCreate-filter.git'
132
- },
133
- {
134
- 'path': '../CoCreate-floating-label',
135
- 'repo': 'github.com/CoCreate-app/CoCreate-floating-label.git'
136
- },
137
- {
138
- 'path': '../CoCreate-fullscreen',
139
- 'repo': 'github.com/CoCreate-app/CoCreate-fullscreen.git'
140
- },
141
- {
142
- 'path': '../CoCreate-indexeddb',
143
- 'repo': 'github.com/CoCreate-app/CoCreate-indexeddb.git'
144
- },
145
- {
146
- 'path': '../CoCreate-industry',
147
- 'repo': 'github.com/CoCreate-app/CoCreate-industry.git'
148
- },
149
- {
150
- 'path': '../CoCreate-lazy-loader',
151
- 'repo': 'github.com/CoCreate-app/CoCreate-lazy-loader.git'
152
- },
153
- {
154
- 'path': '../CoCreate-local-storage',
155
- 'repo': 'github.com/CoCreate-app/CoCreate-local-storage.git'
156
- },
157
- {
158
- 'path': '../CoCreate-link',
159
- 'repo': 'github.com/CoCreate-app/CoCreate-link.git'
160
- },
161
- {
162
- 'path': '../CoCreate-message-client',
163
- 'repo': 'github.com/CoCreate-app/CoCreate-message-client.git'
164
- },
165
- {
166
- 'path': '../CoCreate-modal',
167
- 'repo': 'github.com/CoCreate-app/CoCreate-modal.git'
168
- },
169
- {
170
- 'path': '../CoCreate-observer',
171
- 'repo': 'github.com/CoCreate-app/CoCreate-observer.git'
172
- },
173
- {
174
- 'path': '../CoCreate-organizations',
175
- 'repo': 'github.com/CoCreate-app/CoCreate-organizations.git'
176
- },
177
- {
178
- 'path': '../CoCreate-overlay-scroll',
179
- 'repo': 'github.com/CoCreate-app/CoCreate-overlay-scroll.git'
180
- },
181
- {
182
- 'path': '../CoCreate-parallax',
183
- 'repo': 'github.com/CoCreate-app/CoCreate-parallax.git'
184
- },
185
- {
186
- 'path': '../CoCreate-pass',
187
- 'repo': 'github.com/CoCreate-app/CoCreate-pass.git'
188
- },
189
- {
190
- 'path': '../CoCreate-position',
191
- 'repo': 'github.com/CoCreate-app/CoCreate-position.git'
192
- },
193
- {
194
- 'path': '../CoCreate-progress',
195
- 'repo': 'github.com/CoCreate-app/CoCreate-progress.git'
196
- },
197
- {
198
- 'path': '../CoCreate-pwa',
199
- 'repo': 'github.com/CoCreate-app/CoCreate-pwa.git'
200
- },
201
- {
202
- 'path': '../CoCreate-random-color',
203
- 'repo': 'github.com/CoCreate-app/CoCreate-random-color.git'
204
- },
205
- {
206
- 'path': '../CoCreate-remove',
207
- 'repo': 'github.com/CoCreate-app/CoCreate-remove.git'
208
- },
209
- {
210
- 'path': '../CoCreate-render',
211
- 'repo': 'github.com/CoCreate-app/CoCreate-render.git'
212
- },
213
- {
214
- 'path': '../CoCreate-resize',
215
- 'repo': 'github.com/CoCreate-app/CoCreate-resize.git'
216
- },
217
- {
218
- 'path': '../CoCreate-resize-observer',
219
- 'repo': 'github.com/CoCreate-app/CoCreate-resize-observer.git'
220
- },
221
- {
222
- 'path': '../CoCreate-rich-text',
223
- 'repo': 'github.com/CoCreate-app/CoCreate-rich-text.git'
224
- },
225
- {
226
- 'path': '../CoCreate-scroll',
227
- 'repo': 'github.com/CoCreate-app/CoCreate-scroll.git'
228
- },
229
- {
230
- 'path': '../CoCreate-search',
231
- 'repo': 'github.com/CoCreate-app/CoCreate-search.git'
232
- },
233
- {
234
- 'path': '../CoCreate-select',
235
- 'repo': 'github.com/CoCreate-app/CoCreate-select.git'
236
- },
237
- {
238
- 'path': '../CoCreate-selection',
239
- 'repo': 'github.com/CoCreate-app/CoCreate-selection.git'
240
- },
241
- {
242
- 'path': '../CoCreate-signup-animation',
243
- 'repo': 'github.com/CoCreate-app/CoCreate-signup-animation.git'
244
- },
245
- {
246
- 'path': '../CoCreate-socket-client',
247
- 'repo': 'github.com/CoCreate-app/CoCreate-socket-client.git'
248
- },
249
- {
250
- 'path': '../CoCreate-social-share',
251
- 'repo': 'github.com/CoCreate-app/CoCreate-social-share.git'
252
- },
253
- {
254
- 'path': '../CoCreate-text',
255
- 'repo': 'github.com/CoCreate-app/CoCreate-text.git'
256
- },
257
- {
258
- 'path': '../CoCreate-toolbar',
259
- 'repo': 'github.com/CoCreate-app/CoCreate-toolbar.git'
260
- },
261
- {
262
- 'path': '../CoCreate-unique',
263
- 'repo': 'github.com/CoCreate-app/CoCreate-unique.git'
264
- },
265
- {
266
- 'path': '../CoCreate-users',
267
- 'repo': 'github.com/CoCreate-app/CoCreate-users.git'
268
- },
269
- {
270
- 'path': '../CoCreate-utils',
271
- 'repo': 'github.com/CoCreate-app/CoCreate-utils.git'
272
- },
273
- {
274
- 'path': '../CoCreate-uuid',
275
- 'repo': 'github.com/CoCreate-app/CoCreate-uuid.git'
276
- },
277
- {
278
- 'path': '../CoCreate-validation',
279
- 'repo': 'github.com/CoCreate-app/CoCreate-validation.git'
280
- },
281
- {
282
- 'path': '../CoCreate-vdom',
283
- 'repo': 'github.com/CoCreate-app/CoCreate-vdom.git'
284
- },
285
-
286
- // Modules
287
- {
288
- 'path': '../../CoCreate-apps/CoCreate-builder',
289
- 'repo': 'github.com/CoCreate-app/CoCreate-builder.git'
290
- },
291
- // {
292
- // 'path':'../../CoCreate-apps/CoCreate-calendar',
293
- // 'repo' : 'github.com/CoCreate-app/CoCreate-calendar.git'
294
- // },
295
- // {
296
- // 'path':'../../CoCreate-apps/CoCreate-checkout',
297
- // 'repo' : 'github.com/CoCreate-app/CoCreate-checkout.git'
298
- // },
299
- {
300
- 'path': '../../CoCreate-apps/CoCreate-dashboard',
301
- 'repo': 'github.com/CoCreate-app/CoCreate-dashboard.git'
302
- },
303
- {
304
- 'path': '../../CoCreate-apps/CoCreate-datatable',
305
- 'repo': 'github.com/CoCreate-app/CoCreate-datatable.git'
306
- },
307
- // {
308
- // 'path':'../../CoCreate-apps/CoCreate-email',
309
- // 'repo' : 'github.com/CoCreate-app/CoCreate-email.git'
310
- // },
311
- {
312
- 'path': '../../CoCreate-apps/CoCreate-kanban',
313
- 'repo': 'github.com/CoCreate-app/CoCreate-kanban.git'
314
- },
315
- {
316
- 'path': '../../CoCreate-apps/CoCreate-sandbox',
317
- 'repo': 'github.com/CoCreate-app/CoCreate-sandbox.git'
318
- },
319
-
320
- // Plugins
321
- {
322
- 'path': '../../CoCreate-plugins/CoCreate-charts',
323
- 'repo': 'github.com/CoCreate-app/CoCreate-charts.git'
324
- },
325
- {
326
- 'path': '../../CoCreate-plugins/CoCreate-croppie',
327
- 'repo': 'github.com/CoCreate-app/CoCreate-croppie.git'
328
- },
329
- {
330
- 'path': '../../CoCreate-plugins/CoCreate-domain',
331
- 'repo': 'github.com/CoCreate-app/CoCreate-domain.git'
332
- },
333
- {
334
- 'path': '../../CoCreate-plugins/CoCreate-fullcalendar',
335
- 'repo': 'github.com/CoCreate-app/CoCreate-fullcalendar.git'
336
- },
337
- {
338
- 'path': '../../CoCreate-plugins/CoCreate-facebook',
339
- 'repo': 'github.com/CoCreate-app/CoCreate-facebook.git'
340
- },
341
- {
342
- 'path': '../../CoCreate-plugins/CoCreate-google-maps',
343
- 'repo': 'github.com/CoCreate-app/CoCreate-google-maps.git'
344
- },
345
- {
346
- 'path': '../../CoCreate-plugins/CoCreate-google-auth',
347
- 'repo': 'github.com/CoCreate-app/CoCreate-google-auth.git'
348
- },
349
- {
350
- 'path': '../../CoCreate-plugins/CoCreate-instagram',
351
- 'repo': 'github.com/CoCreate-app/CoCreate-instagram.git'
352
- },
353
- {
354
- 'path': '../../CoCreate-plugins/CoCreate-lighthouse',
355
- 'repo': 'github.com/CoCreate-app/CoCreate-lighthouse.git'
356
- },
357
- {
358
- 'path': '../../CoCreate-plugins/CoCreate-linkedin',
359
- 'repo': 'github.com/CoCreate-app/CoCreate-linkedin.git'
360
- },
361
- {
362
- 'path': '../../CoCreate-plugins/CoCreate-pickr',
363
- 'repo': 'github.com/CoCreate-app/CoCreate-pickr.git'
364
- },
365
- {
366
- 'path': '../../CoCreate-plugins/CoCreate-pinterest',
367
- 'repo': 'github.com/CoCreate-app/CoCreate-pinterest.git'
368
- },
369
- {
370
- 'path': '../../CoCreate-plugins/CoCreate-plaid',
371
- 'repo': 'github.com/CoCreate-app/CoCreate-plaid.git'
372
- },
373
- {
374
- 'path': '../../CoCreate-plugins/CoCreate-prism',
375
- 'repo': 'github.com/CoCreate-app/CoCreate-prism.git'
376
- },
377
- {
378
- 'path': '../../CoCreate-plugins/CoCreate-s3',
379
- 'repo': 'github.com/CoCreate-app/CoCreate-s3.git'
380
- },
381
- {
382
- 'path': '../../CoCreate-plugins/CoCreate-sendgrid',
383
- 'repo': 'github.com/CoCreate-app/CoCreate-sendgrid.git'
384
- },
385
- {
386
- 'path': '../../CoCreate-plugins/CoCreate-shipengine',
387
- 'repo': 'github.com/CoCreate-app/CoCreate-shipengine.git'
388
- },
389
- {
390
- 'path': '../../CoCreate-plugins/CoCreate-stripe',
391
- 'repo': 'github.com/CoCreate-app/CoCreate-stripe.git'
392
- },
393
- {
394
- 'path': '../../CoCreate-plugins/CoCreate-tui-image-editor',
395
- 'repo': 'github.com/CoCreate-app/CoCreate-tui-image-editor.git'
396
- },
397
- {
398
- 'path': '../../CoCreate-plugins/CoCreate-twilio',
399
- 'repo': 'github.com/CoCreate-app/CoCreate-twilio.git'
400
- },
401
- {
402
- 'path': '../../CoCreate-plugins/CoCreate-twitter',
403
- 'repo': 'github.com/CoCreate-app/CoCreate-twitter.git'
404
- },
405
-
406
- // {
407
- // 'path': '../CoCreateApi',
408
- // 'repo': 'github.com/CoCreate-app/CoCreateApi.git'
409
- // },
410
-
411
- // {
412
- // 'path': '../CoCreateLB',
413
- // 'repo': 'github.com/CoCreate-app/CoCreateLB.git'
414
- // },
415
-
416
-
417
- // Server
418
- {
419
- 'path': '../../CoCreateWS',
420
- 'repo': 'github.com/CoCreate-app/CoCreateWS.git'
421
- },
422
-
423
- // Server Components
424
- {
425
- 'path': '../CoCreate-authenticate',
426
- 'repo': 'github.com/CoCreate-app/CoCreate-authenticate.git'
427
- },
428
- {
429
- 'path': '../CoCreate-authorize',
430
- 'repo': 'github.com/CoCreate-app/CoCreate-authorize.git'
431
- },
432
- {
433
- 'path': '../CoCreate-crud-server',
434
- 'repo': 'github.com/CoCreate-app/CoCreate-crud-server.git'
435
- },
436
- {
437
- 'path': '../CoCreate-file-server',
438
- 'repo': 'github.com/CoCreate-app/CoCreate-file-server.git'
439
- },
440
- {
441
- 'path': '../CoCreate-loadtest',
442
- 'repo': 'github.com/CoCreate-app/CoCreate-loadtest.git'
443
- },
444
- {
445
- 'path': '../CoCreate-message-server',
446
- 'repo': 'github.com/CoCreate-app/CoCreate-message-server.git'
447
- },
448
- {
449
- 'path': '../CoCreate-metrics-server',
450
- 'repo': 'github.com/CoCreate-app/CoCreate-metrics-server.git'
451
- },
452
- {
453
- 'path': '../CoCreate-mongodb',
454
- 'repo': 'github.com/CoCreate-app/CoCreate-mongodb.git'
455
- },
456
- {
457
- 'path': '../CoCreate-node-autoscaler',
458
- 'repo': 'github.com/CoCreate-app/CoCreate-node-autoscaler.git'
459
- },
460
- {
461
- 'path': '../CoCreate-server-side-render',
462
- 'repo': 'github.com/CoCreate-app/CoCreate-server-side-render.git'
463
- },
464
- {
465
- 'path': '../CoCreate-socket-server',
466
- 'repo': 'github.com/CoCreate-app/CoCreate-socket-server.git'
467
- },
468
-
469
- // Maybe depreciated
470
- // {
471
- // 'path': '../CoCreate-ide',
472
- // 'repo': 'github.com/CoCreate-app/CoCreate-ide.git'
473
- // },
474
- // {
475
- // 'path': '../CoCreateEmail',
476
- // 'repo': 'github.com/CoCreate-app/CoCreateEmail.git'
477
- // },
478
-
479
- ]
480
-
481
- }
1
+ module.exports = {
2
+ "organization_id": "",
3
+ "key": "",
4
+ "host": "",
5
+ "sources": [
6
+ {
7
+ "array": "files",
8
+ "object": {
9
+ "_id": "637ca36250234ef1671ce30f",
10
+ "name": "index.html",
11
+ "path": "/docs/cli/index.html",
12
+ "src": "{{./docs/index.html}}",
13
+ "host": [
14
+ "*"
15
+ ],
16
+ "directory": "/docs/cli",
17
+ "parentDirectory": "{{parentDirectory}}",
18
+ "content-type": "{{content-type}}",
19
+ "public": "true",
20
+ "website_id": "644d4bff8036fb9d1d1fd69c"
21
+ }
22
+ }
23
+ ],
24
+ "repositories": [
25
+ {
26
+ "path": "../../CoCreateJS",
27
+ "repo": "github.com/CoCreate-app/CoCreateJS.git"
28
+ },
29
+ {
30
+ "path": "../../CoCreateCSS",
31
+ "repo": "github.com/CoCreate-app/CoCreateCSS.git"
32
+ },
33
+ {
34
+ "path": "../../CoCreate-admin",
35
+ "repo": "github.com/CoCreate-app/CoCreate-admin.git"
36
+ },
37
+ {
38
+ "path": "../../CoCreate-website",
39
+ "repo": "github.com/CoCreate-app/CoCreate-website.git"
40
+ },
41
+ {
42
+ "path": "../CoCreate-actions",
43
+ "repo": "github.com/CoCreate-app/CoCreate-actions.git"
44
+ },
45
+ {
46
+ "path": "../CoCreate-api",
47
+ "repo": "github.com/CoCreate-app/CoCreate-api.git"
48
+ },
49
+ {
50
+ "path": "../CoCreate-attributes",
51
+ "repo": "github.com/CoCreate-app/CoCreate-attributes.git"
52
+ },
53
+ {
54
+ "path": "../CoCreate-calculation",
55
+ "repo": "github.com/CoCreate-app/CoCreate-calculation.git"
56
+ },
57
+ {
58
+ "path": "../CoCreate-cli",
59
+ "repo": "github.com/CoCreate-app/CoCreate-cli.git"
60
+ },
61
+ {
62
+ "path": "../CoCreate-clone",
63
+ "repo": "github.com/CoCreate-app/CoCreate-clone.git"
64
+ },
65
+ {
66
+ "path": "../CoCreate-codearea",
67
+ "repo": "github.com/CoCreate-app/CoCreate-codearea.git"
68
+ },
69
+ {
70
+ "path": "../CoCreate-conditional-logic",
71
+ "repo": "github.com/CoCreate-app/CoCreate-conditional-logic.git"
72
+ },
73
+ {
74
+ "path": "../CoCreate-config",
75
+ "repo": "github.com/CoCreate-app/CoCreate-config.git"
76
+ },
77
+ {
78
+ "path": "../CoCreate-crdt",
79
+ "repo": "github.com/CoCreate-app/CoCreate-crdt.git"
80
+ },
81
+ {
82
+ "path": "../CoCreate-crud-client",
83
+ "repo": "github.com/CoCreate-app/CoCreate-crud-client.git"
84
+ },
85
+ {
86
+ "path": "../CoCreate-css-parser",
87
+ "repo": "github.com/CoCreate-app/CoCreate-css-parser.git"
88
+ },
89
+ {
90
+ "path": "../CoCreate-cursors",
91
+ "repo": "github.com/CoCreate-app/CoCreate-cursors.git"
92
+ },
93
+ {
94
+ "path": "../CoCreate-dnd",
95
+ "repo": "github.com/CoCreate-app/CoCreate-dnd.git"
96
+ },
97
+ {
98
+ "path": "../CoCreate-docs",
99
+ "repo": "github.com/CoCreate-app/CoCreate-docs.git"
100
+ },
101
+ {
102
+ "path": "../CoCreate-element-config",
103
+ "repo": "github.com/CoCreate-app/CoCreate-element-config.git"
104
+ },
105
+ {
106
+ "path": "../CoCreate-element-prototype",
107
+ "repo": "github.com/CoCreate-app/CoCreate-element-prototype.git"
108
+ },
109
+ {
110
+ "path": "../CoCreate-elements",
111
+ "repo": "github.com/CoCreate-app/CoCreate-elements.git"
112
+ },
113
+ {
114
+ "path": "../CoCreate-events",
115
+ "repo": "github.com/CoCreate-app/CoCreate-events.git"
116
+ },
117
+ {
118
+ "path": "../CoCreate-file",
119
+ "repo": "github.com/CoCreate-app/CoCreate-file.git"
120
+ },
121
+ {
122
+ "path": "../CoCreate-filter",
123
+ "repo": "github.com/CoCreate-app/CoCreate-filter.git"
124
+ },
125
+ {
126
+ "path": "../CoCreate-floating-label",
127
+ "repo": "github.com/CoCreate-app/CoCreate-floating-label.git"
128
+ },
129
+ {
130
+ "path": "../CoCreate-fullscreen",
131
+ "repo": "github.com/CoCreate-app/CoCreate-fullscreen.git"
132
+ },
133
+ {
134
+ "path": "../CoCreate-indexeddb",
135
+ "repo": "github.com/CoCreate-app/CoCreate-indexeddb.git"
136
+ },
137
+ {
138
+ "path": "../CoCreate-industry",
139
+ "repo": "github.com/CoCreate-app/CoCreate-industry.git"
140
+ },
141
+ {
142
+ "path": "../CoCreate-lazy-loader",
143
+ "repo": "github.com/CoCreate-app/CoCreate-lazy-loader.git"
144
+ },
145
+ {
146
+ "path": "../CoCreate-local-storage",
147
+ "repo": "github.com/CoCreate-app/CoCreate-local-storage.git"
148
+ },
149
+ {
150
+ "path": "../CoCreate-link",
151
+ "repo": "github.com/CoCreate-app/CoCreate-link.git"
152
+ },
153
+ {
154
+ "path": "../CoCreate-message-client",
155
+ "repo": "github.com/CoCreate-app/CoCreate-message-client.git"
156
+ },
157
+ {
158
+ "path": "../CoCreate-modal",
159
+ "repo": "github.com/CoCreate-app/CoCreate-modal.git"
160
+ },
161
+ {
162
+ "path": "../CoCreate-observer",
163
+ "repo": "github.com/CoCreate-app/CoCreate-observer.git"
164
+ },
165
+ {
166
+ "path": "../CoCreate-organizations",
167
+ "repo": "github.com/CoCreate-app/CoCreate-organizations.git"
168
+ },
169
+ {
170
+ "path": "../CoCreate-overlay-scroll",
171
+ "repo": "github.com/CoCreate-app/CoCreate-overlay-scroll.git"
172
+ },
173
+ {
174
+ "path": "../CoCreate-parallax",
175
+ "repo": "github.com/CoCreate-app/CoCreate-parallax.git"
176
+ },
177
+ {
178
+ "path": "../CoCreate-pass",
179
+ "repo": "github.com/CoCreate-app/CoCreate-pass.git"
180
+ },
181
+ {
182
+ "path": "../CoCreate-position",
183
+ "repo": "github.com/CoCreate-app/CoCreate-position.git"
184
+ },
185
+ {
186
+ "path": "../CoCreate-progress",
187
+ "repo": "github.com/CoCreate-app/CoCreate-progress.git"
188
+ },
189
+ {
190
+ "path": "../CoCreate-pwa",
191
+ "repo": "github.com/CoCreate-app/CoCreate-pwa.git"
192
+ },
193
+ {
194
+ "path": "../CoCreate-random-color",
195
+ "repo": "github.com/CoCreate-app/CoCreate-random-color.git"
196
+ },
197
+ {
198
+ "path": "../CoCreate-remove",
199
+ "repo": "github.com/CoCreate-app/CoCreate-remove.git"
200
+ },
201
+ {
202
+ "path": "../CoCreate-render",
203
+ "repo": "github.com/CoCreate-app/CoCreate-render.git"
204
+ },
205
+ {
206
+ "path": "../CoCreate-resize",
207
+ "repo": "github.com/CoCreate-app/CoCreate-resize.git"
208
+ },
209
+ {
210
+ "path": "../CoCreate-resize-observer",
211
+ "repo": "github.com/CoCreate-app/CoCreate-resize-observer.git"
212
+ },
213
+ {
214
+ "path": "../CoCreate-rich-text",
215
+ "repo": "github.com/CoCreate-app/CoCreate-rich-text.git"
216
+ },
217
+ {
218
+ "path": "../CoCreate-scroll",
219
+ "repo": "github.com/CoCreate-app/CoCreate-scroll.git"
220
+ },
221
+ {
222
+ "path": "../CoCreate-search",
223
+ "repo": "github.com/CoCreate-app/CoCreate-search.git"
224
+ },
225
+ {
226
+ "path": "../CoCreate-select",
227
+ "repo": "github.com/CoCreate-app/CoCreate-select.git"
228
+ },
229
+ {
230
+ "path": "../CoCreate-selection",
231
+ "repo": "github.com/CoCreate-app/CoCreate-selection.git"
232
+ },
233
+ {
234
+ "path": "../CoCreate-signup-animation",
235
+ "repo": "github.com/CoCreate-app/CoCreate-signup-animation.git"
236
+ },
237
+ {
238
+ "path": "../CoCreate-socket-client",
239
+ "repo": "github.com/CoCreate-app/CoCreate-socket-client.git"
240
+ },
241
+ {
242
+ "path": "../CoCreate-social-share",
243
+ "repo": "github.com/CoCreate-app/CoCreate-social-share.git"
244
+ },
245
+ {
246
+ "path": "../CoCreate-text",
247
+ "repo": "github.com/CoCreate-app/CoCreate-text.git"
248
+ },
249
+ {
250
+ "path": "../CoCreate-toolbar",
251
+ "repo": "github.com/CoCreate-app/CoCreate-toolbar.git"
252
+ },
253
+ {
254
+ "path": "../CoCreate-unique",
255
+ "repo": "github.com/CoCreate-app/CoCreate-unique.git"
256
+ },
257
+ {
258
+ "path": "../CoCreate-users",
259
+ "repo": "github.com/CoCreate-app/CoCreate-users.git"
260
+ },
261
+ {
262
+ "path": "../CoCreate-utils",
263
+ "repo": "github.com/CoCreate-app/CoCreate-utils.git"
264
+ },
265
+ {
266
+ "path": "../CoCreate-uuid",
267
+ "repo": "github.com/CoCreate-app/CoCreate-uuid.git"
268
+ },
269
+ {
270
+ "path": "../CoCreate-validation",
271
+ "repo": "github.com/CoCreate-app/CoCreate-validation.git"
272
+ },
273
+ {
274
+ "path": "../CoCreate-vdom",
275
+ "repo": "github.com/CoCreate-app/CoCreate-vdom.git"
276
+ },
277
+ {
278
+ "path": "../../CoCreate-apps/CoCreate-builder",
279
+ "repo": "github.com/CoCreate-app/CoCreate-builder.git"
280
+ },
281
+ {
282
+ "path": "../../CoCreate-apps/CoCreate-dashboard",
283
+ "repo": "github.com/CoCreate-app/CoCreate-dashboard.git"
284
+ },
285
+ {
286
+ "path": "../../CoCreate-apps/CoCreate-datatable",
287
+ "repo": "github.com/CoCreate-app/CoCreate-datatable.git"
288
+ },
289
+ {
290
+ "path": "../../CoCreate-apps/CoCreate-kanban",
291
+ "repo": "github.com/CoCreate-app/CoCreate-kanban.git"
292
+ },
293
+ {
294
+ "path": "../../CoCreate-apps/CoCreate-sandbox",
295
+ "repo": "github.com/CoCreate-app/CoCreate-sandbox.git"
296
+ },
297
+ {
298
+ "path": "../../CoCreate-plugins/CoCreate-charts",
299
+ "repo": "github.com/CoCreate-app/CoCreate-charts.git"
300
+ },
301
+ {
302
+ "path": "../../CoCreate-plugins/CoCreate-croppie",
303
+ "repo": "github.com/CoCreate-app/CoCreate-croppie.git"
304
+ },
305
+ {
306
+ "path": "../../CoCreate-plugins/CoCreate-domain",
307
+ "repo": "github.com/CoCreate-app/CoCreate-domain.git"
308
+ },
309
+ {
310
+ "path": "../../CoCreate-plugins/CoCreate-fullcalendar",
311
+ "repo": "github.com/CoCreate-app/CoCreate-fullcalendar.git"
312
+ },
313
+ {
314
+ "path": "../../CoCreate-plugins/CoCreate-facebook",
315
+ "repo": "github.com/CoCreate-app/CoCreate-facebook.git"
316
+ },
317
+ {
318
+ "path": "../../CoCreate-plugins/CoCreate-google-maps",
319
+ "repo": "github.com/CoCreate-app/CoCreate-google-maps.git"
320
+ },
321
+ {
322
+ "path": "../../CoCreate-plugins/CoCreate-google-auth",
323
+ "repo": "github.com/CoCreate-app/CoCreate-google-auth.git"
324
+ },
325
+ {
326
+ "path": "../../CoCreate-plugins/CoCreate-instagram",
327
+ "repo": "github.com/CoCreate-app/CoCreate-instagram.git"
328
+ },
329
+ {
330
+ "path": "../../CoCreate-plugins/CoCreate-lighthouse",
331
+ "repo": "github.com/CoCreate-app/CoCreate-lighthouse.git"
332
+ },
333
+ {
334
+ "path": "../../CoCreate-plugins/CoCreate-linkedin",
335
+ "repo": "github.com/CoCreate-app/CoCreate-linkedin.git"
336
+ },
337
+ {
338
+ "path": "../../CoCreate-plugins/CoCreate-pickr",
339
+ "repo": "github.com/CoCreate-app/CoCreate-pickr.git"
340
+ },
341
+ {
342
+ "path": "../../CoCreate-plugins/CoCreate-pinterest",
343
+ "repo": "github.com/CoCreate-app/CoCreate-pinterest.git"
344
+ },
345
+ {
346
+ "path": "../../CoCreate-plugins/CoCreate-plaid",
347
+ "repo": "github.com/CoCreate-app/CoCreate-plaid.git"
348
+ },
349
+ {
350
+ "path": "../../CoCreate-plugins/CoCreate-prism",
351
+ "repo": "github.com/CoCreate-app/CoCreate-prism.git"
352
+ },
353
+ {
354
+ "path": "../../CoCreate-plugins/CoCreate-s3",
355
+ "repo": "github.com/CoCreate-app/CoCreate-s3.git"
356
+ },
357
+ {
358
+ "path": "../../CoCreate-plugins/CoCreate-sendgrid",
359
+ "repo": "github.com/CoCreate-app/CoCreate-sendgrid.git"
360
+ },
361
+ {
362
+ "path": "../../CoCreate-plugins/CoCreate-shipengine",
363
+ "repo": "github.com/CoCreate-app/CoCreate-shipengine.git"
364
+ },
365
+ {
366
+ "path": "../../CoCreate-plugins/CoCreate-stripe",
367
+ "repo": "github.com/CoCreate-app/CoCreate-stripe.git"
368
+ },
369
+ {
370
+ "path": "../../CoCreate-plugins/CoCreate-tui-image-editor",
371
+ "repo": "github.com/CoCreate-app/CoCreate-tui-image-editor.git"
372
+ },
373
+ {
374
+ "path": "../../CoCreate-plugins/CoCreate-twilio",
375
+ "repo": "github.com/CoCreate-app/CoCreate-twilio.git"
376
+ },
377
+ {
378
+ "path": "../../CoCreate-plugins/CoCreate-twitter",
379
+ "repo": "github.com/CoCreate-app/CoCreate-twitter.git"
380
+ },
381
+ {
382
+ "path": "../../CoCreateWS",
383
+ "repo": "github.com/CoCreate-app/CoCreateWS.git"
384
+ },
385
+ {
386
+ "path": "../CoCreate-authenticate",
387
+ "repo": "github.com/CoCreate-app/CoCreate-authenticate.git"
388
+ },
389
+ {
390
+ "path": "../CoCreate-authorize",
391
+ "repo": "github.com/CoCreate-app/CoCreate-authorize.git"
392
+ },
393
+ {
394
+ "path": "../CoCreate-crud-server",
395
+ "repo": "github.com/CoCreate-app/CoCreate-crud-server.git"
396
+ },
397
+ {
398
+ "path": "../CoCreate-file-server",
399
+ "repo": "github.com/CoCreate-app/CoCreate-file-server.git"
400
+ },
401
+ {
402
+ "path": "../CoCreate-loadtest",
403
+ "repo": "github.com/CoCreate-app/CoCreate-loadtest.git"
404
+ },
405
+ {
406
+ "path": "../CoCreate-message-server",
407
+ "repo": "github.com/CoCreate-app/CoCreate-message-server.git"
408
+ },
409
+ {
410
+ "path": "../CoCreate-metrics-server",
411
+ "repo": "github.com/CoCreate-app/CoCreate-metrics-server.git"
412
+ },
413
+ {
414
+ "path": "../CoCreate-mongodb",
415
+ "repo": "github.com/CoCreate-app/CoCreate-mongodb.git"
416
+ },
417
+ {
418
+ "path": "../CoCreate-node-autoscaler",
419
+ "repo": "github.com/CoCreate-app/CoCreate-node-autoscaler.git"
420
+ },
421
+ {
422
+ "path": "../CoCreate-server-side-render",
423
+ "repo": "github.com/CoCreate-app/CoCreate-server-side-render.git"
424
+ },
425
+ {
426
+ "path": "../CoCreate-socket-server",
427
+ "repo": "github.com/CoCreate-app/CoCreate-socket-server.git"
428
+ }
429
+ ]
430
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cli",
3
- "version": "1.39.4",
3
+ "version": "1.40.0",
4
4
  "description": "Polyrepo management bash CLI tool. Run all git commands and yarn commands on multiple repositories. Also includes a few custom macros for cloning, installing, etc.",
5
5
  "keywords": [
6
6
  "cli",
@@ -0,0 +1,36 @@
1
+ const fs = require('fs')
2
+ const path = require('path')
3
+
4
+ function symlink(dir, dest, option) {
5
+ if (!fs.existsSync(dir)) {
6
+ return console.log(dir, 'does not exist')
7
+ } else
8
+ dir = path.resolve(dir)
9
+
10
+ if (fs.existsSync(dest))
11
+ fs.rm(dest, { recursive: true, force: true }, function (err) {
12
+ if (err) {
13
+ console.log('failed');
14
+ }
15
+ createSymlink(dir, dest, option)
16
+ });
17
+ else
18
+ createSymlink(dir, dest, option)
19
+ }
20
+
21
+ function createSymlink(dir, dest, option) {
22
+ dest = path.resolve(dest)
23
+
24
+ fs.symlink(dir, dest, option, (err) => {
25
+ console.log(dir, dest, option)
26
+ if (err)
27
+ console.log(err);
28
+ else {
29
+ console.log("symlink added");
30
+ }
31
+
32
+ })
33
+
34
+ }
35
+
36
+ symlink('./dist', '../dist', 'dir')
@@ -2,41 +2,103 @@ const file = require('@cocreate/file')
2
2
  const path = require('path');
3
3
  const fs = require('fs');
4
4
 
5
- module.exports = async function upload(repos, args) {
6
- let CoCreateConfig
7
- if (!args.length) {
8
- let configPath = path.resolve(process.cwd(), 'CoCreate.config.js');
9
- if (!CoCreateConfig && fs.existsSync(configPath)) {
10
- CoCreateConfig = require(configPath);
11
- } else {
12
- console.log('CoCreate.config.js could not be found.')
13
- process.exit()
5
+ module.exports = async function upload(directory, args) {
6
+ if (args && !Array.isArray(args))
7
+ args = [args]
8
+
9
+ let isWatch = false
10
+ if (directory && typeof directory === 'string') {
11
+ if (['-w', '--watch'].includes(directory)) {
12
+ isWatch = true
13
+ directory = process.cwd()
14
+ }
15
+ } else
16
+ directory = process.cwd()
17
+
18
+ if (isWatch || args.includes('-w') || args.includes('--watch')) {
19
+ for (let i = 0; i < args.length; i++) {
20
+ if (args[i].startsWith('-'))
21
+ continue
22
+ else if (path.isAbsolute(args[i]))
23
+ directory = args[i]
24
+ else
25
+ directory = path.resolve(directory, args[i]);
14
26
  }
15
27
 
16
- await file(CoCreateConfig, configPath)
28
+ console.log('Watching: ', directory)
29
+ fs.watch(directory, { recursive: true }, async (eventType, filename) => {
30
+ if (!filename.includes('CoCreate.config.js')) {
31
+ const filePath = path.resolve(directory, filename);
32
+ if (!filePath.includes('node_modules')) {
33
+ const configPath = findClosestConfig(filePath);
34
+ if (configPath) {
35
+ const config = require(configPath);
36
+
37
+ if (config) {
38
+ await file(config, configPath, filePath)
39
+ } else {
40
+ console.log('Failed to read or parse CoCreate.config.js.');
41
+ }
42
+ } else {
43
+ console.log('No CoCreate.config file found in parent directories.');
44
+ }
45
+ }
46
+ }
47
+ });
17
48
 
18
49
  } else {
19
- for (let arg of args) {
20
- try {
21
- CoCreateConfig = JSON.parse(arg)
22
- } catch (error) { }
50
+ let CoCreateConfig
51
+ if (!args.length) {
52
+ let configPath = path.resolve(process.cwd(), 'CoCreate.config.js');
53
+ if (!CoCreateConfig && fs.existsSync(configPath)) {
54
+ CoCreateConfig = require(configPath);
55
+ } else {
56
+ console.log('CoCreate.config.js could not be found.')
57
+ process.exit()
58
+ }
23
59
 
60
+ await file(CoCreateConfig, configPath)
24
61
 
25
- if (!CoCreateConfig) {
62
+ } else {
63
+ for (let arg of args) {
26
64
  try {
27
- let configPath = path.resolve(process.cwd(), arg)
28
- if (fs.existsSync(configPath)) {
29
- CoCreateConfig = require(configPath);
30
- if (CoCreateConfig)
31
- await file(CoCreateConfig, configPath)
65
+ CoCreateConfig = JSON.parse(arg)
66
+ } catch (error) { }
32
67
 
33
- } else {
34
- console.log(arg + ' could not be found.')
35
- process.exit()
36
- }
37
68
 
38
- } catch (error) { }
69
+ if (!CoCreateConfig) {
70
+ try {
71
+ let configPath = path.resolve(process.cwd(), arg)
72
+ if (fs.existsSync(configPath)) {
73
+ CoCreateConfig = require(configPath);
74
+ if (CoCreateConfig)
75
+ await file(CoCreateConfig, configPath)
76
+
77
+ } else {
78
+ console.log(arg + ' could not be found.')
79
+ process.exit()
80
+ }
81
+
82
+ } catch (error) { }
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ function findClosestConfig(filePath) {
89
+ let currentDir = path.dirname(filePath);
90
+
91
+ while (currentDir !== '/' && currentDir !== '.') {
92
+ let configFile = path.join(currentDir, 'CoCreate.config.js');
93
+
94
+ if (fs.existsSync(configFile)) {
95
+ return configFile;
39
96
  }
97
+
98
+ currentDir = path.dirname(currentDir);
40
99
  }
100
+
101
+ return null;
41
102
  }
103
+
42
104
  }