@tanstack/router-generator 1.133.28 → 1.133.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ exports.checkRouteFullPathUniqueness = utils.checkRouteFullPathUniqueness;
17
17
  exports.cleanPath = utils.cleanPath;
18
18
  exports.determineInitialRoutePath = utils.determineInitialRoutePath;
19
19
  exports.format = utils.format;
20
+ exports.inferFullPath = utils.inferFullPath;
20
21
  exports.multiSortBy = utils.multiSortBy;
21
22
  exports.removeExt = utils.removeExt;
22
23
  exports.removeLeadingSlash = utils.removeLeadingSlash;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,7 +3,7 @@ export type { Config, BaseConfig } from './config.cjs';
3
3
  export { Generator } from './generator.cjs';
4
4
  export type { FileEventType, FileEvent, GeneratorEvent } from './generator.cjs';
5
5
  export type { GeneratorPlugin } from './plugin/types.cjs';
6
- export { capitalize, cleanPath, trimPathLeft, removeLeadingSlash, removeTrailingSlash, determineInitialRoutePath, replaceBackslash, routePathToVariable, removeUnderscores, resetRegex, multiSortBy, writeIfDifferent, format, removeExt, checkRouteFullPathUniqueness, } from './utils.cjs';
6
+ export { capitalize, cleanPath, trimPathLeft, removeLeadingSlash, removeTrailingSlash, determineInitialRoutePath, replaceBackslash, routePathToVariable, removeUnderscores, resetRegex, multiSortBy, writeIfDifferent, format, removeExt, checkRouteFullPathUniqueness, inferFullPath, } from './utils.cjs';
7
7
  export type { RouteNode, GetRouteNodesResult, GetRoutesByFileMapResult, GetRoutesByFileMapResultValue, ImportDeclaration, ImportSpecifier, HandleNodeAccumulator, } from './types.cjs';
8
8
  export { getRouteNodes as physicalGetRouteNodes } from './filesystem/physical/getRouteNodes.cjs';
9
9
  export { getRouteNodes as virtualGetRouteNodes } from './filesystem/virtual/getRouteNodes.cjs';
@@ -3,7 +3,7 @@ export type { Config, BaseConfig } from './config.js';
3
3
  export { Generator } from './generator.js';
4
4
  export type { FileEventType, FileEvent, GeneratorEvent } from './generator.js';
5
5
  export type { GeneratorPlugin } from './plugin/types.js';
6
- export { capitalize, cleanPath, trimPathLeft, removeLeadingSlash, removeTrailingSlash, determineInitialRoutePath, replaceBackslash, routePathToVariable, removeUnderscores, resetRegex, multiSortBy, writeIfDifferent, format, removeExt, checkRouteFullPathUniqueness, } from './utils.js';
6
+ export { capitalize, cleanPath, trimPathLeft, removeLeadingSlash, removeTrailingSlash, determineInitialRoutePath, replaceBackslash, routePathToVariable, removeUnderscores, resetRegex, multiSortBy, writeIfDifferent, format, removeExt, checkRouteFullPathUniqueness, inferFullPath, } from './utils.js';
7
7
  export type { RouteNode, GetRouteNodesResult, GetRoutesByFileMapResult, GetRoutesByFileMapResultValue, ImportDeclaration, ImportSpecifier, HandleNodeAccumulator, } from './types.js';
8
8
  export { getRouteNodes as physicalGetRouteNodes } from './filesystem/physical/getRouteNodes.js';
9
9
  export { getRouteNodes as virtualGetRouteNodes } from './filesystem/virtual/getRouteNodes.js';
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { baseConfigSchema, configSchema, getConfig, resolveConfigPath } from "./config.js";
2
2
  import { Generator } from "./generator.js";
3
- import { capitalize, checkRouteFullPathUniqueness, cleanPath, determineInitialRoutePath, format, multiSortBy, removeExt, removeLeadingSlash, removeTrailingSlash, removeUnderscores, replaceBackslash, resetRegex, routePathToVariable, trimPathLeft, writeIfDifferent } from "./utils.js";
3
+ import { capitalize, checkRouteFullPathUniqueness, cleanPath, determineInitialRoutePath, format, inferFullPath, multiSortBy, removeExt, removeLeadingSlash, removeTrailingSlash, removeUnderscores, replaceBackslash, resetRegex, routePathToVariable, trimPathLeft, writeIfDifferent } from "./utils.js";
4
4
  import { getRouteNodes } from "./filesystem/physical/getRouteNodes.js";
5
5
  import { getRouteNodes as getRouteNodes2 } from "./filesystem/virtual/getRouteNodes.js";
6
6
  import { rootPathId } from "./filesystem/physical/rootPathId.js";
@@ -16,6 +16,7 @@ export {
16
16
  ensureStringArgument,
17
17
  format,
18
18
  getConfig,
19
+ inferFullPath,
19
20
  multiSortBy,
20
21
  getRouteNodes as physicalGetRouteNodes,
21
22
  removeExt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-generator",
3
- "version": "1.133.28",
3
+ "version": "1.133.35",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -54,12 +54,12 @@
54
54
  "source-map": "^0.7.4",
55
55
  "tsx": "^4.19.2",
56
56
  "zod": "^3.24.2",
57
- "@tanstack/router-utils": "1.133.19",
57
+ "@tanstack/router-core": "1.133.35",
58
58
  "@tanstack/virtual-file-routes": "1.133.19",
59
- "@tanstack/router-core": "1.133.28"
59
+ "@tanstack/router-utils": "1.133.19"
60
60
  },
61
61
  "devDependencies": {
62
- "@tanstack/react-router": "1.133.28"
62
+ "@tanstack/react-router": "1.133.35"
63
63
  },
64
64
  "scripts": {
65
65
  "clean": "rimraf ./dist && rimraf ./coverage",
package/src/index.ts CHANGED
@@ -27,6 +27,7 @@ export {
27
27
  format,
28
28
  removeExt,
29
29
  checkRouteFullPathUniqueness,
30
+ inferFullPath,
30
31
  } from './utils'
31
32
 
32
33
  export type {