Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering: - Project activation and management UI (#1-2) - Worker node coordination and visualization (#3-4) - Automated GitHub repository scanning (#5) - Intelligent model-to-issue matching (#6) - Multi-model task execution system (#7) - N8N workflow integration (#8) - Hive-Bzzz P2P bridge (#9) - Peer assistance protocol (#10) Each issue includes detailed specifications, acceptance criteria, technical implementation notes, and dependency mapping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
28
frontend/node_modules/react-docgen/dist/utils/isStatelessComponent.js
generated
vendored
Normal file
28
frontend/node_modules/react-docgen/dist/utils/isStatelessComponent.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import isReactCreateElementCall from './isReactCreateElementCall.js';
|
||||
import isReactCloneElementCall from './isReactCloneElementCall.js';
|
||||
import isReactChildrenElementCall from './isReactChildrenElementCall.js';
|
||||
import findFunctionReturn from './findFunctionReturn.js';
|
||||
const validPossibleStatelessComponentTypes = [
|
||||
'ArrowFunctionExpression',
|
||||
'FunctionDeclaration',
|
||||
'FunctionExpression',
|
||||
'ObjectMethod',
|
||||
];
|
||||
function isJSXElementOrReactCall(path) {
|
||||
return (path.isJSXElement() ||
|
||||
path.isJSXFragment() ||
|
||||
(path.isCallExpression() &&
|
||||
(isReactCreateElementCall(path) ||
|
||||
isReactCloneElementCall(path) ||
|
||||
isReactChildrenElementCall(path))));
|
||||
}
|
||||
/**
|
||||
* Returns `true` if the path represents a function which returns a JSXElement
|
||||
*/
|
||||
export default function isStatelessComponent(path) {
|
||||
if (!path.inType(...validPossibleStatelessComponentTypes)) {
|
||||
return false;
|
||||
}
|
||||
const foundPath = findFunctionReturn(path, isJSXElementOrReactCall);
|
||||
return Boolean(foundPath);
|
||||
}
|
||||
Reference in New Issue
Block a user