@eldrforge/kodrdriv 1.2.6 → 1.2.7

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/arguments.js CHANGED
@@ -58,6 +58,7 @@ z.object({
58
58
  publish: z.boolean().optional(),
59
59
  parallel: z.boolean().optional(),
60
60
  continue: z.boolean().optional(),
61
+ status: z.boolean().optional(),
61
62
  includeCommitHistory: z.boolean().optional(),
62
63
  includeRecentDiffs: z.boolean().optional(),
63
64
  editorTimeout: z.number().optional(),
@@ -251,6 +252,7 @@ const transformCliArgs = (finalCliArgs, commandName)=>{
251
252
  // Note: parallel property is not part of the tree config type
252
253
  if (builtInCommand !== undefined) transformedCliArgs.tree.builtInCommand = builtInCommand;
253
254
  if (finalCliArgs.continue !== undefined) transformedCliArgs.tree.continue = finalCliArgs.continue;
255
+ if (finalCliArgs.status !== undefined) transformedCliArgs.tree.status = finalCliArgs.status;
254
256
  if (packageArgument !== undefined) transformedCliArgs.tree.packageArgument = packageArgument;
255
257
  if (finalCliArgs.cleanNodeModules !== undefined) transformedCliArgs.tree.cleanNodeModules = finalCliArgs.cleanNodeModules;
256
258
  if (finalCliArgs.externals !== undefined) transformedCliArgs.tree.externals = finalCliArgs.externals;
@@ -562,7 +564,7 @@ async function getCliConfig(program, commands) {
562
564
  addSharedOptions(releaseCommand);
563
565
  const publishCommand = program.command('publish').option('--merge-method <method>', 'method to merge PR (merge, squash, rebase)', 'squash').option('--from <from>', 'branch/tag to generate release notes from (default: previous release tag)').option('--target-version <targetVersion>', 'target version for release (explicit version like "4.30.0" or semantic bump: "patch", "minor", "major")').option('--interactive', 'present release notes for interactive review and editing').option('--sendit', 'skip all confirmation prompts and proceed automatically').option('--sync-target', 'attempt to automatically sync target branch with remote before publishing').option('--no-milestones', 'disable GitHub milestone integration').option('--from-main', 'force comparison against main branch instead of previous release tag').description('Publish a release');
564
566
  addSharedOptions(publishCommand);
565
- const treeCommand = program.command('tree [command] [packageArgument]').option('--directory <directory>', 'target directory containing multiple packages (defaults to current directory)').option('--directories [directories...]', 'target directories containing multiple packages (defaults to current directory)').option('--start-from <startFrom>', 'resume execution from this package directory name (useful for restarting failed builds)').option('--stop-at <stopAt>', 'stop execution at this package directory name (the specified package will not be executed)').option('--cmd <cmd>', 'shell command to execute in each package directory (e.g., "npm install", "git status")').option('--parallel', 'execute packages in parallel when dependencies allow (packages with no interdependencies run simultaneously)').option('--excluded-patterns [excludedPatterns...]', 'patterns to exclude packages from processing (e.g., "**/node_modules/**", "dist/*")').option('--continue', 'continue from previous tree publish execution').option('--promote <packageName>', 'mark a package as completed in the execution context (useful for recovery after timeouts)').option('--clean-node-modules', 'for unlink command: remove node_modules and package-lock.json, then reinstall dependencies').description('Analyze package dependencies in workspace and execute commands in dependency order. Supports built-in commands: commit, publish, link, unlink, development, branches, run');
567
+ const treeCommand = program.command('tree [command] [packageArgument]').option('--directory <directory>', 'target directory containing multiple packages (defaults to current directory)').option('--directories [directories...]', 'target directories containing multiple packages (defaults to current directory)').option('--start-from <startFrom>', 'resume execution from this package directory name (useful for restarting failed builds)').option('--stop-at <stopAt>', 'stop execution at this package directory name (the specified package will not be executed)').option('--cmd <cmd>', 'shell command to execute in each package directory (e.g., "npm install", "git status")').option('--parallel', 'execute packages in parallel when dependencies allow (packages with no interdependencies run simultaneously)').option('--excluded-patterns [excludedPatterns...]', 'patterns to exclude packages from processing (e.g., "**/node_modules/**", "dist/*")').option('--continue', 'continue from previous tree publish execution').option('--status', 'check status of running tree publish processes').option('--promote <packageName>', 'mark a package as completed in the execution context (useful for recovery after timeouts)').option('--clean-node-modules', 'for unlink command: remove node_modules and package-lock.json, then reinstall dependencies').description('Analyze package dependencies in workspace and execute commands in dependency order. Supports built-in commands: commit, publish, link, unlink, development, branches, run');
566
568
  addSharedOptions(treeCommand);
567
569
  const linkCommand = program.command('link [packageArgument]').option('--scope-roots <scopeRoots>', 'JSON mapping of scopes to root directories (e.g., \'{"@company": "../"}\')').description('Create npm file: dependencies for local development');
568
570
  addSharedOptions(linkCommand);
@@ -820,7 +822,7 @@ async function getCliConfig(program, commands) {
820
822
  const firstTruthyArg = args.find((arg)=>arg);
821
823
  if (firstTruthyArg) {
822
824
  commandOptions.builtInCommand = firstTruthyArg;
823
- if ((firstTruthyArg === 'link' || firstTruthyArg === 'unlink') && args.length > 1) {
825
+ if ((firstTruthyArg === 'link' || firstTruthyArg === 'unlink' || firstTruthyArg === 'run') && args.length > 1) {
824
826
  const secondTruthyArg = args.slice(1).find((arg)=>arg);
825
827
  if (secondTruthyArg) {
826
828
  commandOptions.packageArgument = secondTruthyArg;