nx 19.0.0-canary.20240426-ac9ad35 → 19.0.0-canary.20240430-458f2cc

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.
@@ -30,7 +30,7 @@ export interface NxArgs {
30
30
  type?: string;
31
31
  batch?: boolean;
32
32
  }
33
- export declare function createOverrides(__overrides_unparsed__?: string[]): any;
33
+ export declare function createOverrides(__overrides_unparsed__?: string[]): Record<string, any>;
34
34
  export declare function splitArgsIntoNxArgsAndOverrides(args: {
35
35
  [k: string]: any;
36
36
  }, mode: 'run-one' | 'run-many' | 'affected' | 'print-affected', options: {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getPromptsForSchema = exports.convertSmartDefaultsIntoNamedParams = exports.warnDeprecations = exports.combineOptionsForGenerator = exports.combineOptionsForExecutor = exports.applyVerbosity = exports.setDefaults = exports.validateObject = exports.validateOptsAgainstSchema = exports.SchemaError = exports.convertAliases = exports.coerceTypesInOptions = exports.convertToCamelCase = exports.handleErrors = void 0;
4
4
  const logger_1 = require("./logger");
5
5
  const output_1 = require("./output");
6
+ const client_1 = require("../daemon/client/client");
6
7
  const LIST_CHOICE_DISPLAY_LIMIT = 10;
7
8
  async function handleErrors(isVerbose, fn) {
8
9
  try {
@@ -41,6 +42,9 @@ async function handleErrors(isVerbose, fn) {
41
42
  logger_1.logger.info(err.stack);
42
43
  }
43
44
  }
45
+ if (client_1.daemonClient.enabled()) {
46
+ client_1.daemonClient.reset();
47
+ }
44
48
  return 1;
45
49
  }
46
50
  }