{
  "version": 3,
  "sources": ["../../../src/cmd/recursive.ts"],
  "sourcesContent": ["import { docsUrl } from '../packages/cli-utils/index.ts';\nimport { FILTERING } from '../packages/common-cli-options-help/index.ts';\nimport { WANTED_LOCKFILE } from '../packages/constants/index.ts';\nimport renderHelp from 'render-help';\nimport process from 'node:process';\n\nexport const rcOptionsTypes = (): Record<string, unknown> => ({});\nexport const cliOptionsTypes = (): Record<string, unknown> => ({});\n\nexport const commandNames = ['recursive', 'multi', 'm'];\n\nexport function help(): string {\n  return renderHelp({\n    description:\n      'Concurrently performs some actions in all subdirectories with a `package.json` (excluding node_modules). \\\nA `pnpm-workspace.yaml` file may be used to control what directories are searched for packages.',\n    descriptionLists: [\n      {\n        title: 'Commands',\n\n        list: [\n          {\n            name: 'install',\n          },\n          {\n            name: 'add',\n          },\n          {\n            name: 'update',\n          },\n          {\n            description: 'Uninstall a dependency from each package',\n            name: 'remove <pkg>...',\n          },\n          {\n            description:\n              'Removes links to local packages and reinstalls them from the registry.',\n            name: 'unlink',\n          },\n          {\n            description: 'List dependencies in each package.',\n            name: 'list [<pkg>...]',\n          },\n          {\n            description: 'List packages that depend on <pkg>.',\n            name: 'why <pkg>...',\n          },\n          {\n            description: 'Check for outdated dependencies in every package.',\n            name: 'outdated [<pkg>...]',\n          },\n          {\n            description:\n              'This runs an arbitrary command from each package\\'s \"scripts\" object. \\\nIf a package doesn\\'t have the command, it is skipped. \\\nIf none of the packages have the command, the command fails.',\n            name: 'run <command> [-- <args>...]',\n          },\n          {\n            description:\n              'This runs each package\\'s \"test\" script, if one was provided.',\n            name: 'test [-- <args>...]',\n          },\n          {\n            description:\n              'This command runs the \"npm build\" command on each package. \\\nThis is useful when you install a new version of node, \\\nand must recompile all your C++ addons with the new binary.',\n            name: 'rebuild [[<@scope>/<name>]...]',\n          },\n          {\n            description: 'Run a command in each package.',\n            name: 'exec -- <command> [args...]',\n          },\n          {\n            description:\n              'Publishes packages to the npm registry. Only publishes a package if its version is not taken in the registry.',\n            name: 'publish [--tag <tag>] [--access <public|restricted>]',\n          },\n        ],\n      },\n      {\n        title: 'Options',\n\n        list: [\n          {\n            description:\n              'Continues executing other tasks even if a task threw an error',\n            name: '--no-bail',\n          },\n          {\n            description:\n              'Set the maximum number of concurrency. Default is 4. For unlimited concurrency use Infinity.',\n            name: '--workspace-concurrency <number>',\n          },\n          {\n            description:\n              'Locally available packages are linked to node_modules instead of being downloaded from the registry. \\\nConvenient to use in a multi-package repository.',\n            name: '--link-workspace-packages',\n          },\n          {\n            description:\n              'Reverse the order that packages get ordered in. Disabled by default.',\n            name: '--reverse',\n          },\n          {\n            description:\n              'Sort packages topologically (dependencies before dependents). Pass --no-sort to disable.',\n            name: '--sort',\n          },\n          {\n            description: `Creates a single ${WANTED_LOCKFILE} file in the root of the workspace. \\\nA shared lockfile also means that all dependencies of all projects will be in a single node_modules.`,\n            name: '--shared-workspace-lockfile',\n          },\n          {\n            description:\n              'When executing commands recursively in a workspace, execute them on the root workspace project as well',\n            name: '--include-workspace-root',\n          },\n        ],\n      },\n      FILTERING,\n    ],\n    url: docsUrl('recursive'),\n    usages: [\n      'pnpm recursive [command] [flags] [--filter <package selector>]',\n      'pnpm multi [command] [flags] [--filter <package selector>]',\n      'pnpm m [command] [flags] [--filter <package selector>]',\n    ],\n  });\n}\n\nexport function handler(): void {\n  console.info(help());\n\n  // eslint-disable-next-line n/no-process-exit\n  process.exit(1);\n}\n"],
  "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;AAChC,OAAO,gBAAgB;AACvB,OAAO,aAAa;AAEb,MAAM,iBAAiB,OAAgC,CAAC;AACxD,MAAM,kBAAkB,OAAgC,CAAC;AAEzD,MAAM,eAAe,CAAC,aAAa,SAAS,GAAG;AAE/C,SAAS,OAAe;AAC7B,SAAO,WAAW;AAAA,IAChB,aACE;AAAA,IAEF,kBAAkB;AAAA,MAChB;AAAA,QACE,OAAO;AAAA,QAEP,MAAM;AAAA,UACJ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