Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cocreate/cli

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/cli - npm Package Compare versions

Comparing version 1.39.4 to 1.40.0

src/commands/other/symlinkDist.js

461

CoCreate.config.js

@@ -14,4 +14,3 @@ module.exports = {

"host": [
"*",
"general.cocreate.app"
"*"
],

@@ -27,457 +26,407 @@ "directory": "/docs/cli",

"repositories": [
{
'path': '../../CoCreateJS',
'repo': 'github.com/CoCreate-app/CoCreateJS.git'
"path": "../../CoCreateJS",
"repo": "github.com/CoCreate-app/CoCreateJS.git"
},
{
'path': '../../CoCreateCSS',
'repo': 'github.com/CoCreate-app/CoCreateCSS.git'
"path": "../../CoCreateCSS",
"repo": "github.com/CoCreate-app/CoCreateCSS.git"
},
{
'path': '../../CoCreate-admin',
'repo': 'github.com/CoCreate-app/CoCreate-admin.git'
"path": "../../CoCreate-admin",
"repo": "github.com/CoCreate-app/CoCreate-admin.git"
},
{
'path': '../../CoCreate-website',
'repo': 'github.com/CoCreate-app/CoCreate-website.git'
"path": "../../CoCreate-website",
"repo": "github.com/CoCreate-app/CoCreate-website.git"
},
// {
// 'path': '../../CoCreate-website-template',
// 'repo': 'github.com/CoCreate-app/CoCreate-website-template.git'
// },
// Components
{
'path': '../CoCreate-actions',
'repo': 'github.com/CoCreate-app/CoCreate-actions.git'
"path": "../CoCreate-actions",
"repo": "github.com/CoCreate-app/CoCreate-actions.git"
},
{
'path': '../CoCreate-api',
'repo': 'github.com/CoCreate-app/CoCreate-api.git'
"path": "../CoCreate-api",
"repo": "github.com/CoCreate-app/CoCreate-api.git"
},
{
'path': '../CoCreate-attributes',
'repo': 'github.com/CoCreate-app/CoCreate-attributes.git'
"path": "../CoCreate-attributes",
"repo": "github.com/CoCreate-app/CoCreate-attributes.git"
},
{
'path': '../CoCreate-calculation',
'repo': 'github.com/CoCreate-app/CoCreate-calculation.git'
"path": "../CoCreate-calculation",
"repo": "github.com/CoCreate-app/CoCreate-calculation.git"
},
{
'path': '../CoCreate-cli',
'repo': 'github.com/CoCreate-app/CoCreate-cli.git'
"path": "../CoCreate-cli",
"repo": "github.com/CoCreate-app/CoCreate-cli.git"
},
{
'path': '../CoCreate-clone',
'repo': 'github.com/CoCreate-app/CoCreate-clone.git'
"path": "../CoCreate-clone",
"repo": "github.com/CoCreate-app/CoCreate-clone.git"
},
{
'path': '../CoCreate-codearea',
'repo': 'github.com/CoCreate-app/CoCreate-codearea.git'
"path": "../CoCreate-codearea",
"repo": "github.com/CoCreate-app/CoCreate-codearea.git"
},
{
'path': '../CoCreate-conditional-logic',
'repo': 'github.com/CoCreate-app/CoCreate-conditional-logic.git'
"path": "../CoCreate-conditional-logic",
"repo": "github.com/CoCreate-app/CoCreate-conditional-logic.git"
},
{
'path': '../CoCreate-config',
'repo': 'github.com/CoCreate-app/CoCreate-config.git'
"path": "../CoCreate-config",
"repo": "github.com/CoCreate-app/CoCreate-config.git"
},
{
'path': '../CoCreate-crdt',
'repo': 'github.com/CoCreate-app/CoCreate-crdt.git',
"path": "../CoCreate-crdt",
"repo": "github.com/CoCreate-app/CoCreate-crdt.git"
},
{
'path': '../CoCreate-crud-client',
'repo': 'github.com/CoCreate-app/CoCreate-crud-client.git'
"path": "../CoCreate-crud-client",
"repo": "github.com/CoCreate-app/CoCreate-crud-client.git"
},
{
'path': '../CoCreate-css-parser',
'repo': 'github.com/CoCreate-app/CoCreate-css-parser.git'
"path": "../CoCreate-css-parser",
"repo": "github.com/CoCreate-app/CoCreate-css-parser.git"
},
{
'path': '../CoCreate-cursors',
'repo': 'github.com/CoCreate-app/CoCreate-cursors.git'
"path": "../CoCreate-cursors",
"repo": "github.com/CoCreate-app/CoCreate-cursors.git"
},
{
'path': '../CoCreate-dnd',
'repo': 'github.com/CoCreate-app/CoCreate-dnd.git'
"path": "../CoCreate-dnd",
"repo": "github.com/CoCreate-app/CoCreate-dnd.git"
},
{
'path': '../CoCreate-docs',
'repo': 'github.com/CoCreate-app/CoCreate-docs.git'
"path": "../CoCreate-docs",
"repo": "github.com/CoCreate-app/CoCreate-docs.git"
},
{
'path': '../CoCreate-element-config',
'repo': 'github.com/CoCreate-app/CoCreate-element-config.git'
"path": "../CoCreate-element-config",
"repo": "github.com/CoCreate-app/CoCreate-element-config.git"
},
{
'path': '../CoCreate-element-prototype',
'repo': 'github.com/CoCreate-app/CoCreate-element-prototype.git'
"path": "../CoCreate-element-prototype",
"repo": "github.com/CoCreate-app/CoCreate-element-prototype.git"
},
{
'path': '../CoCreate-elements',
'repo': 'github.com/CoCreate-app/CoCreate-elements.git'
"path": "../CoCreate-elements",
"repo": "github.com/CoCreate-app/CoCreate-elements.git"
},
{
'path': '../CoCreate-events',
'repo': 'github.com/CoCreate-app/CoCreate-events.git'
"path": "../CoCreate-events",
"repo": "github.com/CoCreate-app/CoCreate-events.git"
},
{
'path': '../CoCreate-file',
'repo': 'github.com/CoCreate-app/CoCreate-file.git'
"path": "../CoCreate-file",
"repo": "github.com/CoCreate-app/CoCreate-file.git"
},
{
'path': '../CoCreate-filter',
'repo': 'github.com/CoCreate-app/CoCreate-filter.git'
"path": "../CoCreate-filter",
"repo": "github.com/CoCreate-app/CoCreate-filter.git"
},
{
'path': '../CoCreate-floating-label',
'repo': 'github.com/CoCreate-app/CoCreate-floating-label.git'
"path": "../CoCreate-floating-label",
"repo": "github.com/CoCreate-app/CoCreate-floating-label.git"
},
{
'path': '../CoCreate-fullscreen',
'repo': 'github.com/CoCreate-app/CoCreate-fullscreen.git'
"path": "../CoCreate-fullscreen",
"repo": "github.com/CoCreate-app/CoCreate-fullscreen.git"
},
{
'path': '../CoCreate-indexeddb',
'repo': 'github.com/CoCreate-app/CoCreate-indexeddb.git'
"path": "../CoCreate-indexeddb",
"repo": "github.com/CoCreate-app/CoCreate-indexeddb.git"
},
{
'path': '../CoCreate-industry',
'repo': 'github.com/CoCreate-app/CoCreate-industry.git'
"path": "../CoCreate-industry",
"repo": "github.com/CoCreate-app/CoCreate-industry.git"
},
{
'path': '../CoCreate-lazy-loader',
'repo': 'github.com/CoCreate-app/CoCreate-lazy-loader.git'
"path": "../CoCreate-lazy-loader",
"repo": "github.com/CoCreate-app/CoCreate-lazy-loader.git"
},
{
'path': '../CoCreate-local-storage',
'repo': 'github.com/CoCreate-app/CoCreate-local-storage.git'
"path": "../CoCreate-local-storage",
"repo": "github.com/CoCreate-app/CoCreate-local-storage.git"
},
{
'path': '../CoCreate-link',
'repo': 'github.com/CoCreate-app/CoCreate-link.git'
"path": "../CoCreate-link",
"repo": "github.com/CoCreate-app/CoCreate-link.git"
},
{
'path': '../CoCreate-message-client',
'repo': 'github.com/CoCreate-app/CoCreate-message-client.git'
"path": "../CoCreate-message-client",
"repo": "github.com/CoCreate-app/CoCreate-message-client.git"
},
{
'path': '../CoCreate-modal',
'repo': 'github.com/CoCreate-app/CoCreate-modal.git'
"path": "../CoCreate-modal",
"repo": "github.com/CoCreate-app/CoCreate-modal.git"
},
{
'path': '../CoCreate-observer',
'repo': 'github.com/CoCreate-app/CoCreate-observer.git'
"path": "../CoCreate-observer",
"repo": "github.com/CoCreate-app/CoCreate-observer.git"
},
{
'path': '../CoCreate-organizations',
'repo': 'github.com/CoCreate-app/CoCreate-organizations.git'
"path": "../CoCreate-organizations",
"repo": "github.com/CoCreate-app/CoCreate-organizations.git"
},
{
'path': '../CoCreate-overlay-scroll',
'repo': 'github.com/CoCreate-app/CoCreate-overlay-scroll.git'
"path": "../CoCreate-overlay-scroll",
"repo": "github.com/CoCreate-app/CoCreate-overlay-scroll.git"
},
{
'path': '../CoCreate-parallax',
'repo': 'github.com/CoCreate-app/CoCreate-parallax.git'
"path": "../CoCreate-parallax",
"repo": "github.com/CoCreate-app/CoCreate-parallax.git"
},
{
'path': '../CoCreate-pass',
'repo': 'github.com/CoCreate-app/CoCreate-pass.git'
"path": "../CoCreate-pass",
"repo": "github.com/CoCreate-app/CoCreate-pass.git"
},
{
'path': '../CoCreate-position',
'repo': 'github.com/CoCreate-app/CoCreate-position.git'
"path": "../CoCreate-position",
"repo": "github.com/CoCreate-app/CoCreate-position.git"
},
{
'path': '../CoCreate-progress',
'repo': 'github.com/CoCreate-app/CoCreate-progress.git'
"path": "../CoCreate-progress",
"repo": "github.com/CoCreate-app/CoCreate-progress.git"
},
{
'path': '../CoCreate-pwa',
'repo': 'github.com/CoCreate-app/CoCreate-pwa.git'
"path": "../CoCreate-pwa",
"repo": "github.com/CoCreate-app/CoCreate-pwa.git"
},
{
'path': '../CoCreate-random-color',
'repo': 'github.com/CoCreate-app/CoCreate-random-color.git'
"path": "../CoCreate-random-color",
"repo": "github.com/CoCreate-app/CoCreate-random-color.git"
},
{
'path': '../CoCreate-remove',
'repo': 'github.com/CoCreate-app/CoCreate-remove.git'
"path": "../CoCreate-remove",
"repo": "github.com/CoCreate-app/CoCreate-remove.git"
},
{
'path': '../CoCreate-render',
'repo': 'github.com/CoCreate-app/CoCreate-render.git'
"path": "../CoCreate-render",
"repo": "github.com/CoCreate-app/CoCreate-render.git"
},
{
'path': '../CoCreate-resize',
'repo': 'github.com/CoCreate-app/CoCreate-resize.git'
"path": "../CoCreate-resize",
"repo": "github.com/CoCreate-app/CoCreate-resize.git"
},
{
'path': '../CoCreate-resize-observer',
'repo': 'github.com/CoCreate-app/CoCreate-resize-observer.git'
"path": "../CoCreate-resize-observer",
"repo": "github.com/CoCreate-app/CoCreate-resize-observer.git"
},
{
'path': '../CoCreate-rich-text',
'repo': 'github.com/CoCreate-app/CoCreate-rich-text.git'
"path": "../CoCreate-rich-text",
"repo": "github.com/CoCreate-app/CoCreate-rich-text.git"
},
{
'path': '../CoCreate-scroll',
'repo': 'github.com/CoCreate-app/CoCreate-scroll.git'
"path": "../CoCreate-scroll",
"repo": "github.com/CoCreate-app/CoCreate-scroll.git"
},
{
'path': '../CoCreate-search',
'repo': 'github.com/CoCreate-app/CoCreate-search.git'
"path": "../CoCreate-search",
"repo": "github.com/CoCreate-app/CoCreate-search.git"
},
{
'path': '../CoCreate-select',
'repo': 'github.com/CoCreate-app/CoCreate-select.git'
"path": "../CoCreate-select",
"repo": "github.com/CoCreate-app/CoCreate-select.git"
},
{
'path': '../CoCreate-selection',
'repo': 'github.com/CoCreate-app/CoCreate-selection.git'
"path": "../CoCreate-selection",
"repo": "github.com/CoCreate-app/CoCreate-selection.git"
},
{
'path': '../CoCreate-signup-animation',
'repo': 'github.com/CoCreate-app/CoCreate-signup-animation.git'
"path": "../CoCreate-signup-animation",
"repo": "github.com/CoCreate-app/CoCreate-signup-animation.git"
},
{
'path': '../CoCreate-socket-client',
'repo': 'github.com/CoCreate-app/CoCreate-socket-client.git'
"path": "../CoCreate-socket-client",
"repo": "github.com/CoCreate-app/CoCreate-socket-client.git"
},
{
'path': '../CoCreate-social-share',
'repo': 'github.com/CoCreate-app/CoCreate-social-share.git'
"path": "../CoCreate-social-share",
"repo": "github.com/CoCreate-app/CoCreate-social-share.git"
},
{
'path': '../CoCreate-text',
'repo': 'github.com/CoCreate-app/CoCreate-text.git'
"path": "../CoCreate-text",
"repo": "github.com/CoCreate-app/CoCreate-text.git"
},
{
'path': '../CoCreate-toolbar',
'repo': 'github.com/CoCreate-app/CoCreate-toolbar.git'
"path": "../CoCreate-toolbar",
"repo": "github.com/CoCreate-app/CoCreate-toolbar.git"
},
{
'path': '../CoCreate-unique',
'repo': 'github.com/CoCreate-app/CoCreate-unique.git'
"path": "../CoCreate-unique",
"repo": "github.com/CoCreate-app/CoCreate-unique.git"
},
{
'path': '../CoCreate-users',
'repo': 'github.com/CoCreate-app/CoCreate-users.git'
"path": "../CoCreate-users",
"repo": "github.com/CoCreate-app/CoCreate-users.git"
},
{
'path': '../CoCreate-utils',
'repo': 'github.com/CoCreate-app/CoCreate-utils.git'
"path": "../CoCreate-utils",
"repo": "github.com/CoCreate-app/CoCreate-utils.git"
},
{
'path': '../CoCreate-uuid',
'repo': 'github.com/CoCreate-app/CoCreate-uuid.git'
"path": "../CoCreate-uuid",
"repo": "github.com/CoCreate-app/CoCreate-uuid.git"
},
{
'path': '../CoCreate-validation',
'repo': 'github.com/CoCreate-app/CoCreate-validation.git'
"path": "../CoCreate-validation",
"repo": "github.com/CoCreate-app/CoCreate-validation.git"
},
{
'path': '../CoCreate-vdom',
'repo': 'github.com/CoCreate-app/CoCreate-vdom.git'
"path": "../CoCreate-vdom",
"repo": "github.com/CoCreate-app/CoCreate-vdom.git"
},
// Modules
{
'path': '../../CoCreate-apps/CoCreate-builder',
'repo': 'github.com/CoCreate-app/CoCreate-builder.git'
"path": "../../CoCreate-apps/CoCreate-builder",
"repo": "github.com/CoCreate-app/CoCreate-builder.git"
},
// {
// 'path':'../../CoCreate-apps/CoCreate-calendar',
// 'repo' : 'github.com/CoCreate-app/CoCreate-calendar.git'
// },
// {
// 'path':'../../CoCreate-apps/CoCreate-checkout',
// 'repo' : 'github.com/CoCreate-app/CoCreate-checkout.git'
// },
{
'path': '../../CoCreate-apps/CoCreate-dashboard',
'repo': 'github.com/CoCreate-app/CoCreate-dashboard.git'
"path": "../../CoCreate-apps/CoCreate-dashboard",
"repo": "github.com/CoCreate-app/CoCreate-dashboard.git"
},
{
'path': '../../CoCreate-apps/CoCreate-datatable',
'repo': 'github.com/CoCreate-app/CoCreate-datatable.git'
"path": "../../CoCreate-apps/CoCreate-datatable",
"repo": "github.com/CoCreate-app/CoCreate-datatable.git"
},
// {
// 'path':'../../CoCreate-apps/CoCreate-email',
// 'repo' : 'github.com/CoCreate-app/CoCreate-email.git'
// },
{
'path': '../../CoCreate-apps/CoCreate-kanban',
'repo': 'github.com/CoCreate-app/CoCreate-kanban.git'
"path": "../../CoCreate-apps/CoCreate-kanban",
"repo": "github.com/CoCreate-app/CoCreate-kanban.git"
},
{
'path': '../../CoCreate-apps/CoCreate-sandbox',
'repo': 'github.com/CoCreate-app/CoCreate-sandbox.git'
"path": "../../CoCreate-apps/CoCreate-sandbox",
"repo": "github.com/CoCreate-app/CoCreate-sandbox.git"
},
// Plugins
{
'path': '../../CoCreate-plugins/CoCreate-charts',
'repo': 'github.com/CoCreate-app/CoCreate-charts.git'
"path": "../../CoCreate-plugins/CoCreate-charts",
"repo": "github.com/CoCreate-app/CoCreate-charts.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-croppie',
'repo': 'github.com/CoCreate-app/CoCreate-croppie.git'
"path": "../../CoCreate-plugins/CoCreate-croppie",
"repo": "github.com/CoCreate-app/CoCreate-croppie.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-domain',
'repo': 'github.com/CoCreate-app/CoCreate-domain.git'
"path": "../../CoCreate-plugins/CoCreate-domain",
"repo": "github.com/CoCreate-app/CoCreate-domain.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-fullcalendar',
'repo': 'github.com/CoCreate-app/CoCreate-fullcalendar.git'
"path": "../../CoCreate-plugins/CoCreate-fullcalendar",
"repo": "github.com/CoCreate-app/CoCreate-fullcalendar.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-facebook',
'repo': 'github.com/CoCreate-app/CoCreate-facebook.git'
"path": "../../CoCreate-plugins/CoCreate-facebook",
"repo": "github.com/CoCreate-app/CoCreate-facebook.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-google-maps',
'repo': 'github.com/CoCreate-app/CoCreate-google-maps.git'
"path": "../../CoCreate-plugins/CoCreate-google-maps",
"repo": "github.com/CoCreate-app/CoCreate-google-maps.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-google-auth',
'repo': 'github.com/CoCreate-app/CoCreate-google-auth.git'
"path": "../../CoCreate-plugins/CoCreate-google-auth",
"repo": "github.com/CoCreate-app/CoCreate-google-auth.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-instagram',
'repo': 'github.com/CoCreate-app/CoCreate-instagram.git'
"path": "../../CoCreate-plugins/CoCreate-instagram",
"repo": "github.com/CoCreate-app/CoCreate-instagram.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-lighthouse',
'repo': 'github.com/CoCreate-app/CoCreate-lighthouse.git'
"path": "../../CoCreate-plugins/CoCreate-lighthouse",
"repo": "github.com/CoCreate-app/CoCreate-lighthouse.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-linkedin',
'repo': 'github.com/CoCreate-app/CoCreate-linkedin.git'
"path": "../../CoCreate-plugins/CoCreate-linkedin",
"repo": "github.com/CoCreate-app/CoCreate-linkedin.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-pickr',
'repo': 'github.com/CoCreate-app/CoCreate-pickr.git'
"path": "../../CoCreate-plugins/CoCreate-pickr",
"repo": "github.com/CoCreate-app/CoCreate-pickr.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-pinterest',
'repo': 'github.com/CoCreate-app/CoCreate-pinterest.git'
"path": "../../CoCreate-plugins/CoCreate-pinterest",
"repo": "github.com/CoCreate-app/CoCreate-pinterest.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-plaid',
'repo': 'github.com/CoCreate-app/CoCreate-plaid.git'
"path": "../../CoCreate-plugins/CoCreate-plaid",
"repo": "github.com/CoCreate-app/CoCreate-plaid.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-prism',
'repo': 'github.com/CoCreate-app/CoCreate-prism.git'
"path": "../../CoCreate-plugins/CoCreate-prism",
"repo": "github.com/CoCreate-app/CoCreate-prism.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-s3',
'repo': 'github.com/CoCreate-app/CoCreate-s3.git'
"path": "../../CoCreate-plugins/CoCreate-s3",
"repo": "github.com/CoCreate-app/CoCreate-s3.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-sendgrid',
'repo': 'github.com/CoCreate-app/CoCreate-sendgrid.git'
"path": "../../CoCreate-plugins/CoCreate-sendgrid",
"repo": "github.com/CoCreate-app/CoCreate-sendgrid.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-shipengine',
'repo': 'github.com/CoCreate-app/CoCreate-shipengine.git'
"path": "../../CoCreate-plugins/CoCreate-shipengine",
"repo": "github.com/CoCreate-app/CoCreate-shipengine.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-stripe',
'repo': 'github.com/CoCreate-app/CoCreate-stripe.git'
"path": "../../CoCreate-plugins/CoCreate-stripe",
"repo": "github.com/CoCreate-app/CoCreate-stripe.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-tui-image-editor',
'repo': 'github.com/CoCreate-app/CoCreate-tui-image-editor.git'
"path": "../../CoCreate-plugins/CoCreate-tui-image-editor",
"repo": "github.com/CoCreate-app/CoCreate-tui-image-editor.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-twilio',
'repo': 'github.com/CoCreate-app/CoCreate-twilio.git'
"path": "../../CoCreate-plugins/CoCreate-twilio",
"repo": "github.com/CoCreate-app/CoCreate-twilio.git"
},
{
'path': '../../CoCreate-plugins/CoCreate-twitter',
'repo': 'github.com/CoCreate-app/CoCreate-twitter.git'
"path": "../../CoCreate-plugins/CoCreate-twitter",
"repo": "github.com/CoCreate-app/CoCreate-twitter.git"
},
// {
// 'path': '../CoCreateApi',
// 'repo': 'github.com/CoCreate-app/CoCreateApi.git'
// },
// {
// 'path': '../CoCreateLB',
// 'repo': 'github.com/CoCreate-app/CoCreateLB.git'
// },
// Server
{
'path': '../../CoCreateWS',
'repo': 'github.com/CoCreate-app/CoCreateWS.git'
"path": "../../CoCreateWS",
"repo": "github.com/CoCreate-app/CoCreateWS.git"
},
// Server Components
{
'path': '../CoCreate-authenticate',
'repo': 'github.com/CoCreate-app/CoCreate-authenticate.git'
"path": "../CoCreate-authenticate",
"repo": "github.com/CoCreate-app/CoCreate-authenticate.git"
},
{
'path': '../CoCreate-authorize',
'repo': 'github.com/CoCreate-app/CoCreate-authorize.git'
"path": "../CoCreate-authorize",
"repo": "github.com/CoCreate-app/CoCreate-authorize.git"
},
{
'path': '../CoCreate-crud-server',
'repo': 'github.com/CoCreate-app/CoCreate-crud-server.git'
"path": "../CoCreate-crud-server",
"repo": "github.com/CoCreate-app/CoCreate-crud-server.git"
},
{
'path': '../CoCreate-file-server',
'repo': 'github.com/CoCreate-app/CoCreate-file-server.git'
"path": "../CoCreate-file-server",
"repo": "github.com/CoCreate-app/CoCreate-file-server.git"
},
{
'path': '../CoCreate-loadtest',
'repo': 'github.com/CoCreate-app/CoCreate-loadtest.git'
"path": "../CoCreate-loadtest",
"repo": "github.com/CoCreate-app/CoCreate-loadtest.git"
},
{
'path': '../CoCreate-message-server',
'repo': 'github.com/CoCreate-app/CoCreate-message-server.git'
"path": "../CoCreate-message-server",
"repo": "github.com/CoCreate-app/CoCreate-message-server.git"
},
{
'path': '../CoCreate-metrics-server',
'repo': 'github.com/CoCreate-app/CoCreate-metrics-server.git'
"path": "../CoCreate-metrics-server",
"repo": "github.com/CoCreate-app/CoCreate-metrics-server.git"
},
{
'path': '../CoCreate-mongodb',
'repo': 'github.com/CoCreate-app/CoCreate-mongodb.git'
"path": "../CoCreate-mongodb",
"repo": "github.com/CoCreate-app/CoCreate-mongodb.git"
},
{
'path': '../CoCreate-node-autoscaler',
'repo': 'github.com/CoCreate-app/CoCreate-node-autoscaler.git'
"path": "../CoCreate-node-autoscaler",
"repo": "github.com/CoCreate-app/CoCreate-node-autoscaler.git"
},
{
'path': '../CoCreate-server-side-render',
'repo': 'github.com/CoCreate-app/CoCreate-server-side-render.git'
"path": "../CoCreate-server-side-render",
"repo": "github.com/CoCreate-app/CoCreate-server-side-render.git"
},
{
'path': '../CoCreate-socket-server',
'repo': 'github.com/CoCreate-app/CoCreate-socket-server.git'
},
// Maybe depreciated
// {
// 'path': '../CoCreate-ide',
// 'repo': 'github.com/CoCreate-app/CoCreate-ide.git'
// },
// {
// 'path': '../CoCreateEmail',
// 'repo': 'github.com/CoCreate-app/CoCreateEmail.git'
// },
"path": "../CoCreate-socket-server",
"repo": "github.com/CoCreate-app/CoCreate-socket-server.git"
}
]
}
};
{
"name": "@cocreate/cli",
"version": "1.39.4",
"version": "1.40.0",
"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,0 +5,0 @@ "keywords": [

@@ -5,39 +5,101 @@ const file = require('@cocreate/file')

module.exports = async function upload(repos, args) {
let CoCreateConfig
if (!args.length) {
let configPath = path.resolve(process.cwd(), 'CoCreate.config.js');
if (!CoCreateConfig && fs.existsSync(configPath)) {
CoCreateConfig = require(configPath);
} else {
console.log('CoCreate.config.js could not be found.')
process.exit()
module.exports = async function upload(directory, args) {
if (args && !Array.isArray(args))
args = [args]
let isWatch = false
if (directory && typeof directory === 'string') {
if (['-w', '--watch'].includes(directory)) {
isWatch = true
directory = process.cwd()
}
} else
directory = process.cwd()
await file(CoCreateConfig, configPath)
if (isWatch || args.includes('-w') || args.includes('--watch')) {
for (let i = 0; i < args.length; i++) {
if (args[i].startsWith('-'))
continue
else if (path.isAbsolute(args[i]))
directory = args[i]
else
directory = path.resolve(directory, args[i]);
}
console.log('Watching: ', directory)
fs.watch(directory, { recursive: true }, async (eventType, filename) => {
if (!filename.includes('CoCreate.config.js')) {
const filePath = path.resolve(directory, filename);
if (!filePath.includes('node_modules')) {
const configPath = findClosestConfig(filePath);
if (configPath) {
const config = require(configPath);
if (config) {
await file(config, configPath, filePath)
} else {
console.log('Failed to read or parse CoCreate.config.js.');
}
} else {
console.log('No CoCreate.config file found in parent directories.');
}
}
}
});
} else {
for (let arg of args) {
try {
CoCreateConfig = JSON.parse(arg)
} catch (error) { }
let CoCreateConfig
if (!args.length) {
let configPath = path.resolve(process.cwd(), 'CoCreate.config.js');
if (!CoCreateConfig && fs.existsSync(configPath)) {
CoCreateConfig = require(configPath);
} else {
console.log('CoCreate.config.js could not be found.')
process.exit()
}
await file(CoCreateConfig, configPath)
if (!CoCreateConfig) {
} else {
for (let arg of args) {
try {
let configPath = path.resolve(process.cwd(), arg)
if (fs.existsSync(configPath)) {
CoCreateConfig = require(configPath);
if (CoCreateConfig)
await file(CoCreateConfig, configPath)
CoCreateConfig = JSON.parse(arg)
} catch (error) { }
} else {
console.log(arg + ' could not be found.')
process.exit()
}
} catch (error) { }
if (!CoCreateConfig) {
try {
let configPath = path.resolve(process.cwd(), arg)
if (fs.existsSync(configPath)) {
CoCreateConfig = require(configPath);
if (CoCreateConfig)
await file(CoCreateConfig, configPath)
} else {
console.log(arg + ' could not be found.')
process.exit()
}
} catch (error) { }
}
}
}
}
function findClosestConfig(filePath) {
let currentDir = path.dirname(filePath);
while (currentDir !== '/' && currentDir !== '.') {
let configFile = path.join(currentDir, 'CoCreate.config.js');
if (fs.existsSync(configFile)) {
return configFile;
}
currentDir = path.dirname(currentDir);
}
return null;
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc