nx 19.4.0-canary.20240615-f431d0a → 19.4.0-canary.20240618-e5d7805

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.
@@ -321,9 +321,9 @@ function interpolateArgsIntoCommand(command, opts, forwardAllArgs) {
321
321
  args += ` ${opts.args}`;
322
322
  }
323
323
  if (opts.__unparsed__?.length > 0) {
324
- const filterdParsedOptions = filterPropKeysFromUnParsedOptions(opts.__unparsed__, opts.parsedArgs);
325
- if (filterdParsedOptions.length > 0) {
326
- args += ` ${filterdParsedOptions
324
+ const filteredParsedOptions = filterPropKeysFromUnParsedOptions(opts.__unparsed__, opts.parsedArgs);
325
+ if (filteredParsedOptions.length > 0) {
326
+ args += ` ${filteredParsedOptions
327
327
  .map(wrapArgIntoQuotesIfNeeded)
328
328
  .join(' ')}`;
329
329
  }
@@ -339,9 +339,13 @@ function parseArgs(unparsedCommandArgs, unknownOptions, args) {
339
339
  if (!args) {
340
340
  return { ...unknownOptions, ...unparsedCommandArgs };
341
341
  }
342
- return yargsParser(args.replace(/(^"|"$)/g, ''), {
343
- configuration: { 'camel-case-expansion': false },
344
- });
342
+ return {
343
+ ...unknownOptions,
344
+ ...yargsParser(args.replace(/(^"|"$)/g, ''), {
345
+ configuration: { 'camel-case-expansion': true },
346
+ }),
347
+ ...unparsedCommandArgs,
348
+ };
345
349
  }
346
350
  /**
347
351
  * This function filters out the prop keys from the unparsed options
@@ -9,12 +9,12 @@ import { LoadedNxPlugin } from '../plugins/internal-api';
9
9
  * @param nxJson
10
10
  */
11
11
  export declare function retrieveWorkspaceFiles(workspaceRoot: string, projectRootMap: Record<string, string>): Promise<{
12
- allWorkspaceFiles: import("../file-utils").FileData[];
12
+ allWorkspaceFiles: import("nx/src/devkit-exports").FileData[];
13
13
  fileMap: {
14
14
  projectFileMap: ProjectFiles;
15
- nonProjectFiles: import("../../native").FileData[];
15
+ nonProjectFiles: import("nx/src/native").FileData[];
16
16
  };
17
- rustReferences: import("../../native").NxWorkspaceFilesExternals;
17
+ rustReferences: import("nx/src/native").NxWorkspaceFilesExternals;
18
18
  }>;
19
19
  /**
20
20
  * Walk through the workspace and return `ProjectConfigurations`. Only use this if the projectFileMap is not needed.