@klnap/next-proxy-chain 1.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/README.md +126 -0
- package/dist/chunk-PTAOIFNB.js +412 -0
- package/dist/core.cjs +467 -0
- package/dist/core.d.cts +210 -0
- package/dist/core.d.ts +210 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +68 -0
- package/dist/core.js.map +1 -0
- package/dist/index.cjs +882 -0
- package/dist/index.d.cts +65 -0
- package/dist/index.d.ts +65 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +478 -0
- package/dist/index.js.map +1 -0
- package/package.json +61 -0
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@klnap/next-proxy-chain",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Composable Next.js 16+ proxy rule chain with Edge-safe logging and a pure core (zero Next imports).",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "klnap",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"keywords": [
|
|
10
|
+
"nextjs",
|
|
11
|
+
"nextjs16",
|
|
12
|
+
"proxy",
|
|
13
|
+
"middleware",
|
|
14
|
+
"chain",
|
|
15
|
+
"edge"
|
|
16
|
+
],
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js",
|
|
25
|
+
"require": "./dist/index.cjs",
|
|
26
|
+
"default": "./dist/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./core": {
|
|
29
|
+
"types": "./dist/core.d.ts",
|
|
30
|
+
"import": "./dist/core.js",
|
|
31
|
+
"require": "./dist/core.cjs",
|
|
32
|
+
"default": "./dist/core.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"main": "./dist/index.cjs",
|
|
36
|
+
"module": "./dist/index.js",
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "tsup src/index.ts src/core.ts --format cjs,esm --dts",
|
|
43
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
44
|
+
"test": "bun test",
|
|
45
|
+
"test:watch": "bun test --watch",
|
|
46
|
+
"clean": "rm -rf dist .turbo coverage node_modules"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"next": ">=15.0.0 || >=16.0.0"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/node": "^20",
|
|
53
|
+
"next": "16.3.2",
|
|
54
|
+
"tsup": "^8.4.0",
|
|
55
|
+
"typescript": "^5"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=22.0.0",
|
|
59
|
+
"bun": ">=1.4.0"
|
|
60
|
+
}
|
|
61
|
+
}
|