@klnap/next-proxy-chain 1.1.1 → 1.2.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/CHANGELOG.md +12 -0
- package/README.md +151 -26
- package/dist/index.cjs +620 -113
- package/dist/index.d.cts +110 -4
- package/dist/index.d.ts +110 -4
- package/dist/index.js +619 -113
- package/package.json +28 -11
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klnap/next-proxy-chain",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Composable proxy and middleware for Next.js.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/klnap/next-proxy-chain.git"
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"author": "klnap",
|
|
15
15
|
"type": "module",
|
|
16
|
+
"packageManager": "bun@1.4.5",
|
|
16
17
|
"sideEffects": false,
|
|
17
18
|
"keywords": [
|
|
18
19
|
"nextjs",
|
|
@@ -35,34 +36,50 @@
|
|
|
35
36
|
],
|
|
36
37
|
"exports": {
|
|
37
38
|
".": {
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/index.d.ts",
|
|
41
|
+
"default": "./dist/index.js"
|
|
42
|
+
},
|
|
43
|
+
"require": {
|
|
44
|
+
"types": "./dist/index.d.cts",
|
|
45
|
+
"default": "./dist/index.cjs"
|
|
46
|
+
}
|
|
42
47
|
}
|
|
43
48
|
},
|
|
44
49
|
"main": "./dist/index.cjs",
|
|
45
50
|
"module": "./dist/index.js",
|
|
46
51
|
"types": "./dist/index.d.ts",
|
|
47
52
|
"publishConfig": {
|
|
48
|
-
"access": "public"
|
|
53
|
+
"access": "public",
|
|
54
|
+
"registry": "https://registry.npmjs.org/"
|
|
49
55
|
},
|
|
50
56
|
"scripts": {
|
|
51
57
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
52
|
-
"
|
|
58
|
+
"check": "bun run format && bun run lint && bun run typecheck && bun test && bun run build && bun run verify:package",
|
|
59
|
+
"changeset": "changeset",
|
|
60
|
+
"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",
|
|
64
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
53
65
|
"test": "bun test",
|
|
54
66
|
"test:watch": "bun test --watch",
|
|
55
|
-
"lint": "biome
|
|
67
|
+
"lint": "biome lint .",
|
|
56
68
|
"clean": "rm -rf dist coverage",
|
|
69
|
+
"verify:package": "publint --strict && attw --pack .",
|
|
57
70
|
"prepublishOnly": "bun run clean && bun run typecheck && bun test && bun run build"
|
|
58
71
|
},
|
|
59
72
|
"peerDependencies": {
|
|
60
73
|
"next": ">=15.0.0"
|
|
61
74
|
},
|
|
62
75
|
"devDependencies": {
|
|
63
|
-
"@
|
|
64
|
-
"@biomejs/biome": "2.
|
|
76
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
77
|
+
"@biomejs/biome": "2.6.8",
|
|
78
|
+
"@changesets/cli": "3.0.3",
|
|
79
|
+
"@types/bun": "1.4.5",
|
|
65
80
|
"@types/node": "^20",
|
|
81
|
+
"npm": "12.2.3",
|
|
82
|
+
"publint": "0.3.25",
|
|
66
83
|
"next": "16.3.2",
|
|
67
84
|
"tsup": "^8.4.0",
|
|
68
85
|
"typescript": "^5"
|