Skip to content

Conversation

@brunocroh
Copy link
Member

@brunocroh brunocroh commented Jan 3, 2026

Add a getModuleDependencies utility to replace cases like the one below:

  return [
		...getNodeRequireCalls(node, name),
		...getNodeImportStatements(node, name),
		...getNodeImportCalls(node, name),
	];

Also update the recipes to use it.

@brunocroh brunocroh changed the title Feat/add get dep nodes Feat: add getModuleDependencies utillity Jan 3, 2026
@AugustinMauroy
Copy link
Member

Noice !

could you document it in the utils readme ?

…ies fn

Co-authored-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
@brunocroh
Copy link
Member Author

Noice !

could you document it in the utils readme ?

good catch, done. 🚀

@brunocroh brunocroh requested a review from a team January 9, 2026 09:40
@brunocroh brunocroh added the awaiting reviewer Author has responded and needs action from the reviewer label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviewer Author has responded and needs action from the reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants