Skip to content

Conversation

@dsherret
Copy link
Member

Closes #29377

@dsherret dsherret changed the title fix(task): --recursive - order tasks by dependencies fix(task): --recursive - order tasks by package dependencies Jul 16, 2025
}
}

pub fn dependencies(&self) -> HashSet<JsrDepPackageReq> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved from resolver/lockfile.rs

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still find it confusing that dependencies returns JsrDepPackageReq even though it's a superset that contain npm packages too

Copy link
Member Author

@dsherret dsherret Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependencies of JSR packages can be npm or jsr packages, so that's what it means here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved from resolver/lockfile.rs

})
}

// build adjacency + in-degree
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Below is AI.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret merged commit b7680dd into denoland:main Jul 17, 2025
18 checks passed
@dsherret dsherret deleted the fix_task_recursive_order_tasks branch July 17, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deno task --recursive <task> should execute packages based on inter-dependencies

2 participants