@klnap/next-proxy-chain 1.2.0 → 3.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klnap/next-proxy-chain",
3
- "version": "1.2.0",
3
+ "version": "3.0.0",
4
4
  "description": "Composable proxy and middleware for Next.js.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,10 +29,18 @@
29
29
  "edge"
30
30
  ],
31
31
  "files": [
32
- "dist",
32
+ "dist/index.cjs",
33
+ "dist/index.d.cts",
34
+ "dist/index.d.ts",
35
+ "dist/index.js",
33
36
  "README.md",
34
37
  "CHANGELOG.md",
35
- "LICENSE"
38
+ "LICENSE",
39
+ "llms.txt",
40
+ "docs/api.md",
41
+ "docs/concepts.md",
42
+ "docs/guides.md",
43
+ "docs/security.md"
36
44
  ],
37
45
  "exports": {
38
46
  ".": {
@@ -46,9 +54,6 @@
46
54
  }
47
55
  }
48
56
  },
49
- "main": "./dist/index.cjs",
50
- "module": "./dist/index.js",
51
- "types": "./dist/index.d.ts",
52
57
  "publishConfig": {
53
58
  "access": "public",
54
59
  "registry": "https://registry.npmjs.org/"
@@ -58,16 +63,13 @@
58
63
  "check": "bun run format && bun run lint && bun run typecheck && bun test && bun run build && bun run verify:package",
59
64
  "changeset": "changeset",
60
65
  "changeset:version": "changeset version",
61
- "changeset:version-check": "bun run changeset:version && bun run check",
62
- "format": "biome format src tests examples bench",
63
- "format:write": "biome format --write src tests examples bench",
66
+ "changeset:version-check": "bun run changeset:version && bunx biome format --write CHANGELOG.md && bun run check",
67
+ "format": "biome format .",
68
+ "format:write": "biome format --write .",
64
69
  "typecheck": "tsc --noEmit -p tsconfig.json",
65
70
  "test": "bun test",
66
- "test:watch": "bun test --watch",
67
71
  "lint": "biome lint .",
68
- "clean": "rm -rf dist coverage",
69
- "verify:package": "publint --strict && attw --pack .",
70
- "prepublishOnly": "bun run clean && bun run typecheck && bun test && bun run build"
72
+ "verify:package": "publint --strict && attw --profile node16 --pack ."
71
73
  },
72
74
  "peerDependencies": {
73
75
  "next": ">=15.0.0"
@@ -78,14 +80,13 @@
78
80
  "@changesets/cli": "3.0.3",
79
81
  "@types/bun": "1.4.5",
80
82
  "@types/node": "^20",
83
+ "next": "16.3.2",
81
84
  "npm": "12.2.3",
82
85
  "publint": "0.3.25",
83
- "next": "16.3.2",
84
- "tsup": "^8.4.0",
85
- "typescript": "^5"
86
+ "tsup": "8.5.1",
87
+ "typescript": "5.7.3"
86
88
  },
87
89
  "engines": {
88
- "node": ">=20.0.0",
89
- "bun": ">=1.0.0"
90
+ "node": ">=20.0.0"
90
91
  }
91
92
  }