@klnap/next-proxy-chain 1.1.1 → 2.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/CHANGELOG.md +20 -0
- package/README.md +195 -79
- package/dist/index.cjs +956 -258
- package/dist/index.d.cts +164 -82
- package/dist/index.d.ts +164 -82
- package/dist/index.js +954 -254
- package/package.json +35 -22
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klnap/next-proxy-chain",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.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",
|
|
@@ -28,47 +29,59 @@
|
|
|
28
29
|
"edge"
|
|
29
30
|
],
|
|
30
31
|
"files": [
|
|
31
|
-
"dist",
|
|
32
|
+
"dist/index.cjs",
|
|
33
|
+
"dist/index.d.cts",
|
|
34
|
+
"dist/index.d.ts",
|
|
35
|
+
"dist/index.js",
|
|
32
36
|
"README.md",
|
|
33
37
|
"CHANGELOG.md",
|
|
34
38
|
"LICENSE"
|
|
35
39
|
],
|
|
36
40
|
"exports": {
|
|
37
41
|
".": {
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
"import": {
|
|
43
|
+
"types": "./dist/index.d.ts",
|
|
44
|
+
"default": "./dist/index.js"
|
|
45
|
+
},
|
|
46
|
+
"require": {
|
|
47
|
+
"types": "./dist/index.d.cts",
|
|
48
|
+
"default": "./dist/index.cjs"
|
|
49
|
+
}
|
|
42
50
|
}
|
|
43
51
|
},
|
|
44
|
-
"main": "./dist/index.cjs",
|
|
45
|
-
"module": "./dist/index.js",
|
|
46
|
-
"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 && bunx biome format --write CHANGELOG.md && bun run check",
|
|
62
|
+
"format": "biome format .",
|
|
63
|
+
"format:write": "biome format --write .",
|
|
64
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
53
65
|
"test": "bun test",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"clean": "rm -rf dist coverage",
|
|
57
|
-
"prepublishOnly": "bun run clean && bun run typecheck && bun test && bun run build"
|
|
66
|
+
"lint": "biome lint .",
|
|
67
|
+
"verify:package": "publint --strict && attw --profile node16 --pack ."
|
|
58
68
|
},
|
|
59
69
|
"peerDependencies": {
|
|
60
70
|
"next": ">=15.0.0"
|
|
61
71
|
},
|
|
62
72
|
"devDependencies": {
|
|
63
|
-
"@
|
|
64
|
-
"@biomejs/biome": "2.
|
|
73
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
74
|
+
"@biomejs/biome": "2.6.8",
|
|
75
|
+
"@changesets/cli": "3.0.3",
|
|
76
|
+
"@types/bun": "1.4.5",
|
|
65
77
|
"@types/node": "^20",
|
|
66
78
|
"next": "16.3.2",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
79
|
+
"npm": "12.2.3",
|
|
80
|
+
"publint": "0.3.25",
|
|
81
|
+
"tsup": "8.5.1",
|
|
82
|
+
"typescript": "5.7.3"
|
|
69
83
|
},
|
|
70
84
|
"engines": {
|
|
71
|
-
"node": ">=20.0.0"
|
|
72
|
-
"bun": ">=1.0.0"
|
|
85
|
+
"node": ">=20.0.0"
|
|
73
86
|
}
|
|
74
87
|
}
|