tanstack-router-cache 0.1.6 → 0.1.7

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.
@@ -5,6 +5,5 @@ type RestoreCachedHrefInput = {
5
5
  isRouteCacheEnabled?: boolean;
6
6
  previousPathname?: string;
7
7
  };
8
- export declare function isBareRouteHref(href: string | undefined, currentPathname: string): boolean;
9
8
  export declare function shouldRestoreCachedHref({ cachedHref, currentHref, currentPathname, isRouteCacheEnabled, previousPathname, }: RestoreCachedHrefInput): boolean;
10
9
  export {};
package/docs/releases.md CHANGED
@@ -46,13 +46,4 @@ bun run release 0.2.0
46
46
 
47
47
  `release` updates `package.json`, runs the package checks, commits the version bump, creates the matching tag, pushes `main` and the tag, creates the GitHub Release, waits for the publish workflow, and verifies that npm has the new package version.
48
48
 
49
- The lower-level commands are still available when you need to split the release into two steps:
50
-
51
- ```sh
52
- bun run release:prepare patch
53
- bun run release:push
54
- ```
55
-
56
- `release:prepare` updates `package.json`, runs the package checks, commits the version bump, and creates the matching tag locally. `release:push` pushes `main` and that exact tag. The tag starts the npm publish workflow.
57
-
58
49
  The workflow checks that the tag matches `package.json` before publishing, so a mismatched tag cannot publish accidentally.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tanstack-router-cache",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Route view caching for TanStack Router.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -50,9 +50,7 @@
50
50
  "lint:fix": "biome lint src scripts .github/scripts rolldown.config.ts --write --skip=lint/performance/noBarrelFile --skip=lint/style/useConsistentTypeDefinitions --skip=lint/suspicious/noConsole",
51
51
  "check": "bun run lint && bun run typecheck && bun run build && bun run pack:dry-run",
52
52
  "pack:dry-run": "npm pack --dry-run",
53
- "release": "node scripts/release.mjs release",
54
- "release:prepare": "node scripts/release.mjs prepare",
55
- "release:push": "node scripts/release.mjs push",
53
+ "release": "node scripts/release.mjs",
56
54
  "prepack": "bun run build",
57
55
  "prepublishOnly": "bun run lint && bun run typecheck"
58
56
  },
@@ -64,13 +62,13 @@
64
62
  "dependencies": {},
65
63
  "devDependencies": {
66
64
  "@biomejs/biome": "2.4.15",
67
- "@tanstack/react-router": "1.170.15",
65
+ "@tanstack/react-router": "1.170.16",
68
66
  "@types/node": "25.9.3",
69
67
  "@types/react": "19.2.17",
70
68
  "@types/react-dom": "19.2.3",
71
69
  "react": "19.2.7",
72
70
  "react-dom": "19.2.7",
73
- "rolldown": "1.1.0",
71
+ "rolldown": "1.1.1",
74
72
  "typescript": "6.0.3"
75
73
  }
76
74
  }