Skip to content

pantoken-root / packages/cli/src / ensureComponentsJsonRegistry

फंक्शन: ensureComponentsJsonRegistry()

ensureComponentsJsonRegistry(cwd?): boolean

बीटा

सुनिश्चित करें कि components.json दिए गए निर्देशिका में @pantoken नामस्थान के रूप में पंजीकृत है. यदि संशोधित किया गया हो या पहले से मौजूद हो तो true लौटता है, यदि components.json मौजूद नहीं है तो false.

पैरामीटर

cwd?

string = ...

वापसी

boolean