@base44-preview/cli 0.0.30-pr.211.740aaa4 → 0.0.30-pr.211.da98bee

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 CHANGED
@@ -169903,7 +169903,7 @@ async function promptOAuthFlows(pending, options) {
169903
169903
  for (const connector2 of pending) {
169904
169904
  M2.info(` ${connector2.type}: ${theme.styles.dim(connector2.redirectUrl)}`);
169905
169905
  }
169906
- if (options?.skipPrompt || process.env.CI) {
169906
+ if (options?.skipPrompt) {
169907
169907
  return outcomes;
169908
169908
  }
169909
169909
  const shouldAuth = await ye({
@@ -169984,7 +169984,9 @@ async function pushConnectorsAction() {
169984
169984
  });
169985
169985
  const needsOAuth = filterPendingOAuth(results);
169986
169986
  let outroMessage = "Connectors pushed to Base44";
169987
- const oauthOutcomes = await promptOAuthFlows(needsOAuth);
169987
+ const oauthOutcomes = await promptOAuthFlows(needsOAuth, {
169988
+ skipPrompt: !!process.env.CI
169989
+ });
169988
169990
  if (needsOAuth.length > 0 && oauthOutcomes.size === 0) {
169989
169991
  const pending = needsOAuth.map((c3) => c3.type).join(", ");
169990
169992
  outroMessage = process.env.CI ? `Skipped OAuth in CI. Pending: ${pending}. Run 'base44 connectors push' locally to authorize.` : `Authorization skipped. Pending: ${pending}. Run 'base44 connectors push' again to complete.`;
@@ -170319,7 +170321,7 @@ ${summaryLines.join(`
170319
170321
  const needsOAuth = filterPendingOAuth(result.connectorResults ?? []);
170320
170322
  if (needsOAuth.length > 0) {
170321
170323
  const oauthOutcomes = await promptOAuthFlows(needsOAuth, {
170322
- skipPrompt: options.yes
170324
+ skipPrompt: options.yes || !!process.env.CI
170323
170325
  });
170324
170326
  if (oauthOutcomes.size === 0) {
170325
170327
  const pending = needsOAuth.map((c3) => c3.type).join(", ");
@@ -174955,4 +174957,4 @@ export {
174955
174957
  CLIExitError
174956
174958
  };
174957
174959
 
174958
- //# debugId=F29098DA3AB96EDD64756E2164756E21
174960
+ //# debugId=FE2096E0AA93AA9664756E2164756E21