@cocreate/cli 1.39.4 → 1.40.1

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,18 @@
1
+ ## [1.40.1](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.40.0...v1.40.1) (2023-09-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Add path and pathname ([dd625ef](https://github.com/CoCreate-app/CoCreate-cli/commit/dd625ef2f6fcbf95c168810fc9b40489890611cb))
7
+ * Update dCoCreate dpendencies to latest versions ([b5f56cb](https://github.com/CoCreate-app/CoCreate-cli/commit/b5f56cb54d4f6cc355dc00678927a5167cbde3be))
8
+
9
+ # [1.40.0](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.39.4...v1.40.0) (2023-09-07)
10
+
11
+
12
+ ### Features
13
+
14
+ * 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))
15
+
1
16
  ## [1.39.4](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.39.3...v1.39.4) (2023-08-21)
2
17
 
3
18
 
@@ -1,481 +1,429 @@
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",
12
+ "pathname": "/docs/cli/index.html",
13
+ "src": "{{./docs/index.html}}",
14
+ "host": [
15
+ "*"
16
+ ],
17
+ "directory": "cli",
18
+ "content-type": "{{content-type}}",
19
+ "public": "true"
20
+ }
21
+ }
22
+ ],
23
+ "repositories": [
24
+ {
25
+ "path": "../../CoCreateJS",
26
+ "repo": "github.com/CoCreate-app/CoCreateJS.git"
27
+ },
28
+ {
29
+ "path": "../../CoCreateCSS",
30
+ "repo": "github.com/CoCreate-app/CoCreateCSS.git"
31
+ },
32
+ {
33
+ "path": "../../CoCreate-admin",
34
+ "repo": "github.com/CoCreate-app/CoCreate-admin.git"
35
+ },
36
+ {
37
+ "path": "../../CoCreate-website",
38
+ "repo": "github.com/CoCreate-app/CoCreate-website.git"
39
+ },
40
+ {
41
+ "path": "../CoCreate-actions",
42
+ "repo": "github.com/CoCreate-app/CoCreate-actions.git"
43
+ },
44
+ {
45
+ "path": "../CoCreate-api",
46
+ "repo": "github.com/CoCreate-app/CoCreate-api.git"
47
+ },
48
+ {
49
+ "path": "../CoCreate-attributes",
50
+ "repo": "github.com/CoCreate-app/CoCreate-attributes.git"
51
+ },
52
+ {
53
+ "path": "../CoCreate-calculation",
54
+ "repo": "github.com/CoCreate-app/CoCreate-calculation.git"
55
+ },
56
+ {
57
+ "path": "../CoCreate-cli",
58
+ "repo": "github.com/CoCreate-app/CoCreate-cli.git"
59
+ },
60
+ {
61
+ "path": "../CoCreate-clone",
62
+ "repo": "github.com/CoCreate-app/CoCreate-clone.git"
63
+ },
64
+ {
65
+ "path": "../CoCreate-codearea",
66
+ "repo": "github.com/CoCreate-app/CoCreate-codearea.git"
67
+ },
68
+ {
69
+ "path": "../CoCreate-conditional-logic",
70
+ "repo": "github.com/CoCreate-app/CoCreate-conditional-logic.git"
71
+ },
72
+ {
73
+ "path": "../CoCreate-config",
74
+ "repo": "github.com/CoCreate-app/CoCreate-config.git"
75
+ },
76
+ {
77
+ "path": "../CoCreate-crdt",
78
+ "repo": "github.com/CoCreate-app/CoCreate-crdt.git"
79
+ },
80
+ {
81
+ "path": "../CoCreate-crud-client",
82
+ "repo": "github.com/CoCreate-app/CoCreate-crud-client.git"
83
+ },
84
+ {
85
+ "path": "../CoCreate-css-parser",
86
+ "repo": "github.com/CoCreate-app/CoCreate-css-parser.git"
87
+ },
88
+ {
89
+ "path": "../CoCreate-cursors",
90
+ "repo": "github.com/CoCreate-app/CoCreate-cursors.git"
91
+ },
92
+ {
93
+ "path": "../CoCreate-dnd",
94
+ "repo": "github.com/CoCreate-app/CoCreate-dnd.git"
95
+ },
96
+ {
97
+ "path": "../CoCreate-docs",
98
+ "repo": "github.com/CoCreate-app/CoCreate-docs.git"
99
+ },
100
+ {
101
+ "path": "../CoCreate-element-config",
102
+ "repo": "github.com/CoCreate-app/CoCreate-element-config.git"
103
+ },
104
+ {
105
+ "path": "../CoCreate-element-prototype",
106
+ "repo": "github.com/CoCreate-app/CoCreate-element-prototype.git"
107
+ },
108
+ {
109
+ "path": "../CoCreate-elements",
110
+ "repo": "github.com/CoCreate-app/CoCreate-elements.git"
111
+ },
112
+ {
113
+ "path": "../CoCreate-events",
114
+ "repo": "github.com/CoCreate-app/CoCreate-events.git"
115
+ },
116
+ {
117
+ "path": "../CoCreate-file",
118
+ "repo": "github.com/CoCreate-app/CoCreate-file.git"
119
+ },
120
+ {
121
+ "path": "../CoCreate-filter",
122
+ "repo": "github.com/CoCreate-app/CoCreate-filter.git"
123
+ },
124
+ {
125
+ "path": "../CoCreate-floating-label",
126
+ "repo": "github.com/CoCreate-app/CoCreate-floating-label.git"
127
+ },
128
+ {
129
+ "path": "../CoCreate-fullscreen",
130
+ "repo": "github.com/CoCreate-app/CoCreate-fullscreen.git"
131
+ },
132
+ {
133
+ "path": "../CoCreate-indexeddb",
134
+ "repo": "github.com/CoCreate-app/CoCreate-indexeddb.git"
135
+ },
136
+ {
137
+ "path": "../CoCreate-industry",
138
+ "repo": "github.com/CoCreate-app/CoCreate-industry.git"
139
+ },
140
+ {
141
+ "path": "../CoCreate-lazy-loader",
142
+ "repo": "github.com/CoCreate-app/CoCreate-lazy-loader.git"
143
+ },
144
+ {
145
+ "path": "../CoCreate-local-storage",
146
+ "repo": "github.com/CoCreate-app/CoCreate-local-storage.git"
147
+ },
148
+ {
149
+ "path": "../CoCreate-link",
150
+ "repo": "github.com/CoCreate-app/CoCreate-link.git"
151
+ },
152
+ {
153
+ "path": "../CoCreate-message-client",
154
+ "repo": "github.com/CoCreate-app/CoCreate-message-client.git"
155
+ },
156
+ {
157
+ "path": "../CoCreate-modal",
158
+ "repo": "github.com/CoCreate-app/CoCreate-modal.git"
159
+ },
160
+ {
161
+ "path": "../CoCreate-observer",
162
+ "repo": "github.com/CoCreate-app/CoCreate-observer.git"
163
+ },
164
+ {
165
+ "path": "../CoCreate-organizations",
166
+ "repo": "github.com/CoCreate-app/CoCreate-organizations.git"
167
+ },
168
+ {
169
+ "path": "../CoCreate-overlay-scroll",
170
+ "repo": "github.com/CoCreate-app/CoCreate-overlay-scroll.git"
171
+ },
172
+ {
173
+ "path": "../CoCreate-parallax",
174
+ "repo": "github.com/CoCreate-app/CoCreate-parallax.git"
175
+ },
176
+ {
177
+ "path": "../CoCreate-pass",
178
+ "repo": "github.com/CoCreate-app/CoCreate-pass.git"
179
+ },
180
+ {
181
+ "path": "../CoCreate-position",
182
+ "repo": "github.com/CoCreate-app/CoCreate-position.git"
183
+ },
184
+ {
185
+ "path": "../CoCreate-progress",
186
+ "repo": "github.com/CoCreate-app/CoCreate-progress.git"
187
+ },
188
+ {
189
+ "path": "../CoCreate-pwa",
190
+ "repo": "github.com/CoCreate-app/CoCreate-pwa.git"
191
+ },
192
+ {
193
+ "path": "../CoCreate-random-color",
194
+ "repo": "github.com/CoCreate-app/CoCreate-random-color.git"
195
+ },
196
+ {
197
+ "path": "../CoCreate-remove",
198
+ "repo": "github.com/CoCreate-app/CoCreate-remove.git"
199
+ },
200
+ {
201
+ "path": "../CoCreate-render",
202
+ "repo": "github.com/CoCreate-app/CoCreate-render.git"
203
+ },
204
+ {
205
+ "path": "../CoCreate-resize",
206
+ "repo": "github.com/CoCreate-app/CoCreate-resize.git"
207
+ },
208
+ {
209
+ "path": "../CoCreate-resize-observer",
210
+ "repo": "github.com/CoCreate-app/CoCreate-resize-observer.git"
211
+ },
212
+ {
213
+ "path": "../CoCreate-rich-text",
214
+ "repo": "github.com/CoCreate-app/CoCreate-rich-text.git"
215
+ },
216
+ {
217
+ "path": "../CoCreate-scroll",
218
+ "repo": "github.com/CoCreate-app/CoCreate-scroll.git"
219
+ },
220
+ {
221
+ "path": "../CoCreate-search",
222
+ "repo": "github.com/CoCreate-app/CoCreate-search.git"
223
+ },
224
+ {
225
+ "path": "../CoCreate-select",
226
+ "repo": "github.com/CoCreate-app/CoCreate-select.git"
227
+ },
228
+ {
229
+ "path": "../CoCreate-selection",
230
+ "repo": "github.com/CoCreate-app/CoCreate-selection.git"
231
+ },
232
+ {
233
+ "path": "../CoCreate-signup-animation",
234
+ "repo": "github.com/CoCreate-app/CoCreate-signup-animation.git"
235
+ },
236
+ {
237
+ "path": "../CoCreate-socket-client",
238
+ "repo": "github.com/CoCreate-app/CoCreate-socket-client.git"
239
+ },
240
+ {
241
+ "path": "../CoCreate-social-share",
242
+ "repo": "github.com/CoCreate-app/CoCreate-social-share.git"
243
+ },
244
+ {
245
+ "path": "../CoCreate-text",
246
+ "repo": "github.com/CoCreate-app/CoCreate-text.git"
247
+ },
248
+ {
249
+ "path": "../CoCreate-toolbar",
250
+ "repo": "github.com/CoCreate-app/CoCreate-toolbar.git"
251
+ },
252
+ {
253
+ "path": "../CoCreate-unique",
254
+ "repo": "github.com/CoCreate-app/CoCreate-unique.git"
255
+ },
256
+ {
257
+ "path": "../CoCreate-users",
258
+ "repo": "github.com/CoCreate-app/CoCreate-users.git"
259
+ },
260
+ {
261
+ "path": "../CoCreate-utils",
262
+ "repo": "github.com/CoCreate-app/CoCreate-utils.git"
263
+ },
264
+ {
265
+ "path": "../CoCreate-uuid",
266
+ "repo": "github.com/CoCreate-app/CoCreate-uuid.git"
267
+ },
268
+ {
269
+ "path": "../CoCreate-validation",
270
+ "repo": "github.com/CoCreate-app/CoCreate-validation.git"
271
+ },
272
+ {
273
+ "path": "../CoCreate-vdom",
274
+ "repo": "github.com/CoCreate-app/CoCreate-vdom.git"
275
+ },
276
+ {
277
+ "path": "../../CoCreate-apps/CoCreate-builder",
278
+ "repo": "github.com/CoCreate-app/CoCreate-builder.git"
279
+ },
280
+ {
281
+ "path": "../../CoCreate-apps/CoCreate-dashboard",
282
+ "repo": "github.com/CoCreate-app/CoCreate-dashboard.git"
283
+ },
284
+ {
285
+ "path": "../../CoCreate-apps/CoCreate-datatable",
286
+ "repo": "github.com/CoCreate-app/CoCreate-datatable.git"
287
+ },
288
+ {
289
+ "path": "../../CoCreate-apps/CoCreate-kanban",
290
+ "repo": "github.com/CoCreate-app/CoCreate-kanban.git"
291
+ },
292
+ {
293
+ "path": "../../CoCreate-apps/CoCreate-sandbox",
294
+ "repo": "github.com/CoCreate-app/CoCreate-sandbox.git"
295
+ },
296
+ {
297
+ "path": "../../CoCreate-plugins/CoCreate-charts",
298
+ "repo": "github.com/CoCreate-app/CoCreate-charts.git"
299
+ },
300
+ {
301
+ "path": "../../CoCreate-plugins/CoCreate-croppie",
302
+ "repo": "github.com/CoCreate-app/CoCreate-croppie.git"
303
+ },
304
+ {
305
+ "path": "../../CoCreate-plugins/CoCreate-domain",
306
+ "repo": "github.com/CoCreate-app/CoCreate-domain.git"
307
+ },
308
+ {
309
+ "path": "../../CoCreate-plugins/CoCreate-fullcalendar",
310
+ "repo": "github.com/CoCreate-app/CoCreate-fullcalendar.git"
311
+ },
312
+ {
313
+ "path": "../../CoCreate-plugins/CoCreate-facebook",
314
+ "repo": "github.com/CoCreate-app/CoCreate-facebook.git"
315
+ },
316
+ {
317
+ "path": "../../CoCreate-plugins/CoCreate-google-maps",
318
+ "repo": "github.com/CoCreate-app/CoCreate-google-maps.git"
319
+ },
320
+ {
321
+ "path": "../../CoCreate-plugins/CoCreate-google-auth",
322
+ "repo": "github.com/CoCreate-app/CoCreate-google-auth.git"
323
+ },
324
+ {
325
+ "path": "../../CoCreate-plugins/CoCreate-instagram",
326
+ "repo": "github.com/CoCreate-app/CoCreate-instagram.git"
327
+ },
328
+ {
329
+ "path": "../../CoCreate-plugins/CoCreate-lighthouse",
330
+ "repo": "github.com/CoCreate-app/CoCreate-lighthouse.git"
331
+ },
332
+ {
333
+ "path": "../../CoCreate-plugins/CoCreate-linkedin",
334
+ "repo": "github.com/CoCreate-app/CoCreate-linkedin.git"
335
+ },
336
+ {
337
+ "path": "../../CoCreate-plugins/CoCreate-pickr",
338
+ "repo": "github.com/CoCreate-app/CoCreate-pickr.git"
339
+ },
340
+ {
341
+ "path": "../../CoCreate-plugins/CoCreate-pinterest",
342
+ "repo": "github.com/CoCreate-app/CoCreate-pinterest.git"
343
+ },
344
+ {
345
+ "path": "../../CoCreate-plugins/CoCreate-plaid",
346
+ "repo": "github.com/CoCreate-app/CoCreate-plaid.git"
347
+ },
348
+ {
349
+ "path": "../../CoCreate-plugins/CoCreate-prism",
350
+ "repo": "github.com/CoCreate-app/CoCreate-prism.git"
351
+ },
352
+ {
353
+ "path": "../../CoCreate-plugins/CoCreate-s3",
354
+ "repo": "github.com/CoCreate-app/CoCreate-s3.git"
355
+ },
356
+ {
357
+ "path": "../../CoCreate-plugins/CoCreate-sendgrid",
358
+ "repo": "github.com/CoCreate-app/CoCreate-sendgrid.git"
359
+ },
360
+ {
361
+ "path": "../../CoCreate-plugins/CoCreate-shipengine",
362
+ "repo": "github.com/CoCreate-app/CoCreate-shipengine.git"
363
+ },
364
+ {
365
+ "path": "../../CoCreate-plugins/CoCreate-stripe",
366
+ "repo": "github.com/CoCreate-app/CoCreate-stripe.git"
367
+ },
368
+ {
369
+ "path": "../../CoCreate-plugins/CoCreate-tui-image-editor",
370
+ "repo": "github.com/CoCreate-app/CoCreate-tui-image-editor.git"
371
+ },
372
+ {
373
+ "path": "../../CoCreate-plugins/CoCreate-twilio",
374
+ "repo": "github.com/CoCreate-app/CoCreate-twilio.git"
375
+ },
376
+ {
377
+ "path": "../../CoCreate-plugins/CoCreate-twitter",
378
+ "repo": "github.com/CoCreate-app/CoCreate-twitter.git"
379
+ },
380
+ {
381
+ "path": "../../CoCreateWS",
382
+ "repo": "github.com/CoCreate-app/CoCreateWS.git"
383
+ },
384
+ {
385
+ "path": "../CoCreate-authenticate",
386
+ "repo": "github.com/CoCreate-app/CoCreate-authenticate.git"
387
+ },
388
+ {
389
+ "path": "../CoCreate-authorize",
390
+ "repo": "github.com/CoCreate-app/CoCreate-authorize.git"
391
+ },
392
+ {
393
+ "path": "../CoCreate-crud-server",
394
+ "repo": "github.com/CoCreate-app/CoCreate-crud-server.git"
395
+ },
396
+ {
397
+ "path": "../CoCreate-file-server",
398
+ "repo": "github.com/CoCreate-app/CoCreate-file-server.git"
399
+ },
400
+ {
401
+ "path": "../CoCreate-loadtest",
402
+ "repo": "github.com/CoCreate-app/CoCreate-loadtest.git"
403
+ },
404
+ {
405
+ "path": "../CoCreate-message-server",
406
+ "repo": "github.com/CoCreate-app/CoCreate-message-server.git"
407
+ },
408
+ {
409
+ "path": "../CoCreate-metrics-server",
410
+ "repo": "github.com/CoCreate-app/CoCreate-metrics-server.git"
411
+ },
412
+ {
413
+ "path": "../CoCreate-mongodb",
414
+ "repo": "github.com/CoCreate-app/CoCreate-mongodb.git"
415
+ },
416
+ {
417
+ "path": "../CoCreate-node-autoscaler",
418
+ "repo": "github.com/CoCreate-app/CoCreate-node-autoscaler.git"
419
+ },
420
+ {
421
+ "path": "../CoCreate-server-side-render",
422
+ "repo": "github.com/CoCreate-app/CoCreate-server-side-render.git"
423
+ },
424
+ {
425
+ "path": "../CoCreate-socket-server",
426
+ "repo": "github.com/CoCreate-app/CoCreate-socket-server.git"
427
+ }
428
+ ]
429
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cli",
3
- "version": "1.39.4",
3
+ "version": "1.40.1",
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",
@@ -55,8 +55,8 @@
55
55
  "coc": "src/coc.js"
56
56
  },
57
57
  "dependencies": {
58
- "@cocreate/config": "^1.5.0",
59
- "@cocreate/file": "^1.6.1",
58
+ "@cocreate/config": "^1.5.1",
59
+ "@cocreate/file": "^1.7.1",
60
60
  "glob": "^7.1.7",
61
61
  "prettier": "^2.3.2"
62
62
  }
@@ -37,16 +37,15 @@ function update(MdPath) {
37
37
  "object": {
38
38
  "_id": "${object}",
39
39
  "name": "index.html",
40
- "path": "/docs/${name}/index.html",
40
+ "path": "/docs/${name}",
41
+ "pathname": "/docs/${name}/index.html",
41
42
  "src": "{{./docs/index.html}}",
42
43
  "host": [
43
44
  "general.cocreate.app"
44
45
  ],
45
- "directory": "/docs/${name}",
46
- "parentDirectory": "{{parentDirectory}}",
46
+ "directory": "${name}",
47
47
  "content-type": "{{content-type}}",
48
- "public": "true",
49
- "website_id": "644d4bff8036fb9d1d1fd69c"
48
+ "public": "true"
50
49
  }
51
50
  }
52
51
  ]
@@ -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
  }