pokenode-ts 2.0.0 → 2.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/README.md +0 -1
- package/lib/index.cjs +16 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2009 -1842
- package/lib/index.d.ts +2009 -1842
- package/lib/index.js +16 -1
- package/lib/index.js.map +1 -1
- package/lib/rolldown-runtime-DR5ThJ0q.js +16 -0
- package/package.json +21 -4
- package/lib/rolldown-runtime-DK3Fl9T5.js +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* _
|
|
3
|
+
* |_) _ | _ _ _ _| _ __ _|_ _
|
|
4
|
+
* | (_) |< (/_ | | (_) (_| (/_ |_ _>
|
|
5
|
+
*
|
|
6
|
+
* pokenode-ts v2.2.0 — A typed PokéAPI client with zero runtime dependencies.
|
|
7
|
+
*
|
|
8
|
+
* Docs: https://pokenode-ts.vercel.app/
|
|
9
|
+
* Author: Gabb-c <https://github.com/Gabb-c>
|
|
10
|
+
* License: MIT
|
|
11
|
+
* Built: 2026-08-21
|
|
12
|
+
*
|
|
13
|
+
* @license MIT
|
|
14
|
+
* @preserve
|
|
15
|
+
*/
|
|
16
|
+
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};export{t};
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pokenode-ts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "A
|
|
5
|
+
"description": "A typed PokéAPI client with zero runtime dependencies.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"pokeapi",
|
|
8
8
|
"PokéAPI",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"lib"
|
|
45
45
|
],
|
|
46
46
|
"types": "lib/index.d.ts",
|
|
47
|
-
"packageManager": "pnpm@11.
|
|
47
|
+
"packageManager": "pnpm@11.22.0",
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsdown",
|
|
50
50
|
"docs:build": "vitepress build docs",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tests && tsc --noEmit -p docs/.vitepress",
|
|
57
57
|
"prepare": "lefthook install",
|
|
58
58
|
"prepublishOnly": "pnpm build",
|
|
59
|
+
"size": "size-limit",
|
|
59
60
|
"test": "vitest --project unit",
|
|
60
61
|
"test:run": "vitest run --project unit",
|
|
61
62
|
"test:live": "vitest run --project live",
|
|
@@ -67,12 +68,14 @@
|
|
|
67
68
|
"@biomejs/biome": "^2.5.8",
|
|
68
69
|
"@commitlint/cli": "^21.2.2",
|
|
69
70
|
"@commitlint/config-conventional": "^21.2.2",
|
|
71
|
+
"@size-limit/preset-small-lib": "^13.0.3",
|
|
70
72
|
"@types/node": "^26.2.0",
|
|
71
73
|
"@vitest/coverage-v8": "^4.1.10",
|
|
72
74
|
"@vitest/ui": "^4.1.10",
|
|
73
75
|
"lefthook": "^2.1.10",
|
|
74
76
|
"msw": "^2.15.0",
|
|
75
77
|
"publint": "^0.3.23",
|
|
78
|
+
"size-limit": "^13.0.3",
|
|
76
79
|
"tsdown": "^0.22.14",
|
|
77
80
|
"typescript": "^7.0.2",
|
|
78
81
|
"vite": "^8.2.1",
|
|
@@ -82,5 +85,19 @@
|
|
|
82
85
|
},
|
|
83
86
|
"engines": {
|
|
84
87
|
"node": ">=22"
|
|
85
|
-
}
|
|
88
|
+
},
|
|
89
|
+
"size-limit": [
|
|
90
|
+
{
|
|
91
|
+
"name": "ESM",
|
|
92
|
+
"path": "lib/index.js",
|
|
93
|
+
"limit": "11.5 kB",
|
|
94
|
+
"gzip": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "CJS",
|
|
98
|
+
"path": "lib/index.cjs",
|
|
99
|
+
"limit": "12 kB",
|
|
100
|
+
"gzip": true
|
|
101
|
+
}
|
|
102
|
+
]
|
|
86
103
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};export{t};
|