UNPKG

cmte

Version:

Design by Committee™ except it's just you and LLMs

21 lines (17 loc) 930 B
name: identify-module-exports description: Identifies named and default exports from a JavaScript module string. # Remove the requirement for item.path, as the content is now in item.value.content # required_input: # - item.path # Path of the file being processed (provided by for_each) # - item.content # Content of the file (provided by for_each) # The workflow passes the 'module_list' array defined in its variables block. # This set iterates over the items in that array. # Each iteration gets context: item = { name: 'moduleA', description: '...', content: '...' } for_each: module_list tasks: - useTask: identify-exports # No prior outputs needed for this task # Since we removed the variables block, this task now directly uses # 'item.name' and 'item.content' from the iteration context. # Specifies which task outputs from this set are expected to be produced. requiredOutput: - identify-exports