@plitzi/sdk-navigation 0.39.0 → 0.39.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @plitzi/sdk-navigation
2
2
 
3
+ ## 0.39.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fad1264: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
8
+ `@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
9
+ - Updated dependencies [fad1264]
10
+ - @plitzi/sdk-shared@0.39.2
11
+
12
+ ## 0.39.1
13
+
14
+ ### Patch Changes
15
+
16
+ - f174a61: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
17
+ `@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
18
+ - Updated dependencies [f174a61]
19
+ - @plitzi/sdk-shared@0.39.1
20
+
3
21
  ## 0.39.0
4
22
 
5
23
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  import { get as e } from "@plitzi/plitzi-ui/helpers";
2
2
  import { useMemo as t } from "react";
3
3
  import { ParamsFromURL as n } from "@plitzi/sdk-shared/helpers";
4
- //#region src/hooks/useNavigation.ts
4
+ // src/hooks/useNavigation.ts
5
5
  var r = ({ server: r, routerLocation: i }) => {
6
6
  let a = t(() => typeof window < "u" ? window.location : e(r, "location", { pathname: "/" }), [r]), o = t(() => {
7
7
  if (!i) return a;
@@ -29,5 +29,4 @@ var r = ({ server: r, routerLocation: i }) => {
29
29
  o
30
30
  ]);
31
31
  };
32
- //#endregion
33
32
  export { r as default };
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { getPageFullPath as e, getPaths as t, getRouteParams as n, isPageAuthored as r, matchPath as i, matchRoutePath as a, notFoundPageFor as o } from "./NavigationHelper.mjs";
2
- import s from "./hooks/useNavigation.mjs";
3
- export { e as getPageFullPath, t as getPaths, n as getRouteParams, r as isPageAuthored, i as matchPath, a as matchRoutePath, o as notFoundPageFor, s as useNavigation };
1
+ import e from "./hooks/useNavigation.mjs";
2
+ import { getPageFullPath as t, getPaths as n, getRouteParams as r, isPageAuthored as i, matchPath as a, matchRoutePath as o, notFoundPageFor as s } from "./NavigationHelper.mjs";
3
+ export { t as getPageFullPath, n as getPaths, r as getRouteParams, i as isPageAuthored, a as matchPath, o as matchRoutePath, s as notFoundPageFor, e as useNavigation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-navigation",
3
- "version": "0.39.0",
3
+ "version": "0.39.2",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -9,17 +9,19 @@
9
9
  ".": {
10
10
  "@plitzi/source": "./src/index.ts",
11
11
  "types": "./dist/index.d.ts",
12
- "import": "./dist/index.mjs"
12
+ "import": "./dist/index.mjs",
13
+ "default": "./dist/index.mjs"
13
14
  },
14
15
  "./*": {
15
16
  "@plitzi/source": "./src/*/index.ts",
16
17
  "types": "./dist/*/index.d.ts",
17
- "import": "./dist/*/index.mjs"
18
+ "import": "./dist/*/index.mjs",
19
+ "default": "./dist/*/index.mjs"
18
20
  }
19
21
  },
20
22
  "scripts": {
21
- "lint": "eslint ./src",
22
- "typecheck": "tsc -p tsconfig.app.json --noEmit",
23
+ "lint": "eslint --cache --cache-location .eslintcache --cache-strategy content ./src",
24
+ "typecheck": "tsc -p tsconfig.app.json --noEmit --incremental --tsBuildInfoFile .tsbuildinfo/app.tsbuildinfo",
23
25
  "test": "vitest run",
24
26
  "test:coverage": "vitest --coverage",
25
27
  "test:watch": "vitest",
@@ -34,17 +36,17 @@
34
36
  "eslint": "^9.39.5",
35
37
  "react": "^19.3.1",
36
38
  "react-dom": "^19.3.1",
37
- "react-router-dom": "^7.18.4",
39
+ "react-router-dom": "^7.18.5",
38
40
  "typescript": "^6.0.3",
39
- "vite": "^8.3.4",
40
- "vitest": "^5.0.5"
41
+ "vite": "^8.3.7",
42
+ "vitest": "^5.1.0"
41
43
  },
42
44
  "peerDependencies": {
43
45
  "react": "^19",
44
46
  "react-dom": "^19"
45
47
  },
46
48
  "dependencies": {
47
- "@plitzi/plitzi-ui": "^1.6.36",
48
- "@plitzi/sdk-shared": "0.39.0"
49
+ "@plitzi/plitzi-ui": "^1.6.38",
50
+ "@plitzi/sdk-shared": "0.39.2"
49
51
  }
50
52
  }