next-use-contextual-routing 4.0.0 → 4.1.0

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +16 -14
package/README.md CHANGED
@@ -122,7 +122,7 @@ The path to return to to close contextual navigation.
122
122
  | v2.2.0 | v9.X -> v12.X |
123
123
  | v3.0.0 | v13.X |
124
124
  | v3.2.0 + | v13.X -> v14.X |
125
- | v4.0.0 + | v15.X |
125
+ | v4.0.0 + | v15.X -> v16.X |
126
126
 
127
127
  ## Notes
128
128
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "next-use-contextual-routing",
3
3
  "description": "Generate Next.js contextual routing paths",
4
- "version": "4.0.0",
4
+ "version": "4.1.0",
5
5
  "keywords": [
6
6
  "next",
7
7
  "next.js",
@@ -29,15 +29,13 @@
29
29
  "access": "public"
30
30
  },
31
31
  "scripts": {
32
- "clean": "rm -rf dist",
33
- "build": "npm run clean && tsc -p tsconfig.build.json",
32
+ "build": "rimraf ./dist && tsc -p tsconfig.build.json",
33
+ "test": "vitest --config ./vitest.config.mts",
34
34
  "preversion": "npm run prepare",
35
35
  "version": "git add package.json",
36
36
  "postversion": "git push && git push --tags",
37
37
  "prepare": "npx simple-git-hooks && npm run source:check && npm run test -- --run && npm run build",
38
- "test": "vitest --config ./vitest.config.mts",
39
- "test:a": "vitest --config ./vitest.config.mts",
40
- "tag": "node ./scripts/tag.js",
38
+ "release": "npm run prepare && npx changeset publish",
41
39
  "prettier:check": "prettier . --check",
42
40
  "prettier:fix": "npm run prettier:check -- --write",
43
41
  "type:check": "tsc --noEmit",
@@ -48,24 +46,28 @@
48
46
  "demo:build": "npm run build && cd ./demo && BUILD_TARGET=github-pages next build && touch ./out/.nojekyll"
49
47
  },
50
48
  "devDependencies": {
49
+ "@changesets/changelog-github": "^0.5.1",
51
50
  "@changesets/cli": "^2.27.7",
52
51
  "@testing-library/react": "^16.0.0",
53
52
  "@tsconfig/node20": "^20.1.4",
54
- "@types/react": "^18.0.25",
55
- "@vitest/coverage-v8": "^2.1.3",
56
- "next": "^15.0.0",
53
+ "@types/node": "^20.19.0",
54
+ "@types/react": "^19.1.6",
55
+ "@vitest/coverage-v8": "^4.0.0",
56
+ "jsdom": "^26.0.0",
57
+ "next": "^16.0.0",
57
58
  "prettier": "^3.3.2",
58
59
  "qs-stringify": "^1.2.1",
59
- "react": "^18.2.0",
60
- "react-dom": "^18.2.0",
60
+ "react": "^19.1.0",
61
+ "react-dom": "^19.1.0",
61
62
  "react-modal": "^3.16.1",
62
- "react-test-renderer": "^18.2.0",
63
+ "react-test-renderer": "^19.1.0",
64
+ "rimraf": "^6.0.1",
63
65
  "simple-git-hooks": "^2.11.1",
64
66
  "typescript": "^5.5.3",
65
- "vitest": "^2.1.3"
67
+ "vitest": "^4.0.0"
66
68
  },
67
69
  "peerDependencies": {
68
- "next": "^15.0.0",
70
+ "next": "^15.0.0 || ^16.0.0",
69
71
  "react": ">=18.0.0"
70
72
  },
71
73
  "simple-git-hooks": {