@server/next 0.48.3 → 0.49.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/index.d.ts +260 -257
- package/index.js +2034 -1831
- package/package.json +7 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@server/next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"description": "A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.",
|
|
5
5
|
"homepage": "https://server-js.com/",
|
|
6
6
|
"repository": "github:franciscop/server-next",
|
|
@@ -16,14 +16,15 @@
|
|
|
16
16
|
"build": "bunx tsup src/index.ts --format esm --dts --out-dir . --target node24 --external zod --external @valibot/to-json-schema",
|
|
17
17
|
"prepare": "mkdir -p node_modules/@server && ln -sfn ../.. node_modules/@server/next",
|
|
18
18
|
"start": "bun test --watch",
|
|
19
|
-
"lint": "npx tsc --noEmit && npx @biomejs/biome lint ./src --
|
|
20
|
-
"test": "npm run test:bun &&
|
|
21
|
-
"test:bun": "bun test"
|
|
19
|
+
"lint": "npx tsc --noEmit && npx @biomejs/biome lint ./src --error-on-warnings",
|
|
20
|
+
"test": "npm run test:bun && npm run lint",
|
|
21
|
+
"test:bun": "bun test src demo"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"type": "module",
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"files": [
|
|
27
|
+
"index.js",
|
|
27
28
|
"index.d.ts",
|
|
28
29
|
"src/jsx/*.js",
|
|
29
30
|
"src/jsx/jsx-runtime.d.ts"
|
|
@@ -58,7 +59,8 @@
|
|
|
58
59
|
"Authentication": "docs/5. Authentication.md",
|
|
59
60
|
"Testing": "docs/6. Testing.md",
|
|
60
61
|
"Concepts": "docs/7. Concepts.md",
|
|
61
|
-
"
|
|
62
|
+
"Errors": "docs/8. Errors.md",
|
|
63
|
+
"FAQ": "docs/9. FAQ.md"
|
|
62
64
|
},
|
|
63
65
|
"tutorials": "docs/tutorials"
|
|
64
66
|
},
|