@base44-preview/cli 0.2.6-pr.686.434aab7 → 0.2.7-pr.687.6373aad
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/dist/cli/index.js +7 -5
- package/dist/cli/index.js.map +5 -5
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -238254,6 +238254,9 @@ async function pullAllConnectors() {
|
|
|
238254
238254
|
}
|
|
238255
238255
|
// src/core/resources/connector/push.ts
|
|
238256
238256
|
async function pushConnectors(connectors) {
|
|
238257
|
+
if (connectors.length === 0) {
|
|
238258
|
+
return { results: [] };
|
|
238259
|
+
}
|
|
238257
238260
|
const stripeConnector = connectors.find((c) => c.type === STRIPE_CONNECTOR_TYPE);
|
|
238258
238261
|
const oauthConnectors = connectors.filter((c) => c.type !== STRIPE_CONNECTOR_TYPE);
|
|
238259
238262
|
const oauthResults = await syncOAuthConnectors(oauthConnectors);
|
|
@@ -239384,7 +239387,7 @@ import { join as join13 } from "node:path";
|
|
|
239384
239387
|
// package.json
|
|
239385
239388
|
var package_default = {
|
|
239386
239389
|
name: "base44",
|
|
239387
|
-
version: "0.2.
|
|
239390
|
+
version: "0.2.7",
|
|
239388
239391
|
description: "Base44 CLI - Unified interface for managing Base44 applications",
|
|
239389
239392
|
type: "module",
|
|
239390
239393
|
bin: {
|
|
@@ -246979,8 +246982,7 @@ async function deployAll(projectData, options) {
|
|
|
246979
246982
|
await agentSkillResource.push(agentSkills);
|
|
246980
246983
|
await agentResource.push(agents);
|
|
246981
246984
|
await authConfigResource.push(authConfig);
|
|
246982
|
-
const
|
|
246983
|
-
const connectorResults = skipConnectorSync ? [] : (await pushConnectors(connectors)).results;
|
|
246985
|
+
const { results: connectorResults } = await pushConnectors(connectors);
|
|
246984
246986
|
const appUrl = await deployProjectSite(project, options);
|
|
246985
246987
|
return appUrl ? { appUrl, connectorResults } : { connectorResults };
|
|
246986
246988
|
}
|
|
@@ -251360,7 +251362,7 @@ async function pushConnectorsAction({ isNonInteractive, log, runTask, jsonMode }
|
|
|
251360
251362
|
const connectors = await readConnectorsToPush(options);
|
|
251361
251363
|
if (!jsonMode) {
|
|
251362
251364
|
if (connectors.length === 0) {
|
|
251363
|
-
log.info("No local connectors found -
|
|
251365
|
+
log.info("No local connectors found - nothing to push");
|
|
251364
251366
|
} else {
|
|
251365
251367
|
const connectorNames = connectors.map((c) => c.type).join(", ");
|
|
251366
251368
|
log.info(`Found ${connectors.length} connectors to push: ${connectorNames}`);
|
|
@@ -274981,4 +274983,4 @@ export {
|
|
|
274981
274983
|
runCLI
|
|
274982
274984
|
};
|
|
274983
274985
|
|
|
274984
|
-
//# debugId=
|
|
274986
|
+
//# debugId=286ECC3B93B7320F64756E2164756E21
|