UNPKG

@tanstack/router-generator

Version:

Modern and scalable routing for React applications

36 lines (35 loc) 1.28 kB
import { baseConfigSchema, configSchema, getConfig, resolveConfigPath } from "./config.js"; import { Generator } from "./generator.js"; import { capitalize, checkRouteFullPathUniqueness, cleanPath, determineInitialRoutePath, format, hasChildWithExport, multiSortBy, removeExt, removeLeadingSlash, removeTrailingSlash, removeUnderscores, replaceBackslash, resetRegex, routePathToVariable, trimPathLeft, writeIfDifferent } from "./utils.js"; import { getRouteNodes } from "./filesystem/physical/getRouteNodes.js"; import { getRouteNodes as getRouteNodes2 } from "./filesystem/virtual/getRouteNodes.js"; import { rootPathId } from "./filesystem/physical/rootPathId.js"; import { ensureStringArgument } from "./transform/utils.js"; export { Generator, baseConfigSchema, capitalize, checkRouteFullPathUniqueness, cleanPath, configSchema, determineInitialRoutePath, ensureStringArgument, format, getConfig, hasChildWithExport, multiSortBy, getRouteNodes as physicalGetRouteNodes, removeExt, removeLeadingSlash, removeTrailingSlash, removeUnderscores, replaceBackslash, resetRegex, resolveConfigPath, rootPathId, routePathToVariable, trimPathLeft, getRouteNodes2 as virtualGetRouteNodes, writeIfDifferent }; //# sourceMappingURL=index.js.map