UNPKG

gen-jhipster

Version:

VHipster - Spring Boot + Angular/React/Vue in one handy generator

11 lines (10 loc) 355 B
import { lookupGeneratorsWithNamespace } from "../../../lib/utils/index.js"; let generatorNamespaces; export const lookupGeneratorsNamespaces = () => { if (!generatorNamespaces) { generatorNamespaces = lookupGeneratorsWithNamespace() .map(({ namespace }) => namespace) .sort(); } return generatorNamespaces; };