nextrush 1.5.0 → 2.0.1
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 +1203 -261
- package/dist/index.d.mts +3044 -0
- package/dist/index.d.ts +2556 -2383
- package/dist/index.js +7781 -13675
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +7853 -13720
- package/dist/index.mjs.map +1 -0
- package/package.json +73 -55
package/package.json
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextrush",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.01",
|
|
4
|
+
"description": "🚀 NextRush v2 - Enterprise-grade Node.js framework with built-in security, validation, WebSocket, templates, events (CQRS), logging, and DI. 13,261 RPS, zero dependencies, full TypeScript support.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"educational",
|
|
8
|
-
"first-npm-package",
|
|
6
|
+
"web-framework",
|
|
9
7
|
"typescript",
|
|
10
|
-
"
|
|
11
|
-
"server",
|
|
12
|
-
"framework",
|
|
13
|
-
"express-compatible",
|
|
14
|
-
"plugins",
|
|
8
|
+
"nodejs",
|
|
9
|
+
"http-server",
|
|
10
|
+
"api-framework",
|
|
15
11
|
"zero-dependencies",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"fast",
|
|
12
|
+
"koa-style",
|
|
13
|
+
"fastify-style",
|
|
14
|
+
"type-safe",
|
|
15
|
+
"high-performance",
|
|
16
|
+
"async-middleware",
|
|
22
17
|
"modern",
|
|
23
|
-
"
|
|
24
|
-
"web-framework",
|
|
25
|
-
"nodejs",
|
|
26
|
-
"rest-api",
|
|
18
|
+
"fast",
|
|
27
19
|
"clean-architecture",
|
|
20
|
+
"websocket",
|
|
21
|
+
"cqrs",
|
|
22
|
+
"event-sourcing",
|
|
23
|
+
"validation",
|
|
24
|
+
"security",
|
|
25
|
+
"template-engine",
|
|
28
26
|
"dependency-injection",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"performance",
|
|
32
|
-
"runtime-plugins"
|
|
27
|
+
"enterprise",
|
|
28
|
+
"production-ready"
|
|
33
29
|
],
|
|
34
30
|
"homepage": "https://github.com/0xTanzim/nextrush#readme",
|
|
35
31
|
"bugs": {
|
|
@@ -62,42 +58,64 @@
|
|
|
62
58
|
"README.md",
|
|
63
59
|
"LICENSE"
|
|
64
60
|
],
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"build:dev": "NODE_ENV=development tsup --config tsup.config.ts --watch",
|
|
69
|
-
"build:prod": "NODE_ENV=production tsup --config tsup.optimized.config.ts --minify",
|
|
70
|
-
"clean": "rm -rf dist",
|
|
71
|
-
"prebuild": "npm run clean",
|
|
72
|
-
"start": "node dist/index.js",
|
|
73
|
-
"start:dev": "ts-node-dev --respawn --transpile-only examples/index.ts",
|
|
74
|
-
"dev": "ts-node-dev --respawn --transpile-only examples/index.ts",
|
|
75
|
-
"example": "ts-node examples/production-example.ts",
|
|
76
|
-
"demo:plugins": "ts-node examples/plugin-system-demo.ts",
|
|
77
|
-
"prepare": "npm run build",
|
|
78
|
-
"prepublishOnly": "npm run build:prod && npm run validate",
|
|
79
|
-
"validate": "node scripts/validate-package.js",
|
|
80
|
-
"validate:architecture": "ts-node scripts/validate-architecture.ts",
|
|
81
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
82
|
-
"test:plugins": "ts-node src/examples/template/template.test.ts",
|
|
83
|
-
"lint": "echo \"Add linting here\"",
|
|
84
|
-
"format": "echo \"Add formatting here\"",
|
|
85
|
-
"docs:generate": "typedoc --out docs/api src/index.ts"
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=18.0.0",
|
|
63
|
+
"pnpm": ">=9.0.0"
|
|
86
64
|
},
|
|
87
65
|
"devDependencies": {
|
|
88
|
-
"@types/node": "^
|
|
89
|
-
"
|
|
90
|
-
"
|
|
66
|
+
"@types/node": "^24.1.0",
|
|
67
|
+
"@types/ws": "^8.18.1",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
69
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
70
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
71
|
+
"@vitest/ui": "^3.2.4",
|
|
72
|
+
"eslint": "^9.32.0",
|
|
73
|
+
"eslint-config-prettier": "^10.1.8",
|
|
74
|
+
"eslint-plugin-n": "^17.21.3",
|
|
75
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
76
|
+
"globals": "^16.4.0",
|
|
77
|
+
"prettier": "^3.6.2",
|
|
91
78
|
"tsup": "^8.5.0",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
"npm": ">=8.0.0"
|
|
79
|
+
"tsx": "^4.20.3",
|
|
80
|
+
"typedoc": "^0.28.9",
|
|
81
|
+
"typescript": "^5.8.3",
|
|
82
|
+
"vitest": "^3.2.4",
|
|
83
|
+
"ws": "^8.18.3"
|
|
98
84
|
},
|
|
99
85
|
"publishConfig": {
|
|
100
86
|
"access": "public",
|
|
101
87
|
"registry": "https://registry.npmjs.org/"
|
|
88
|
+
},
|
|
89
|
+
"scripts": {
|
|
90
|
+
"tsc": "tsc --noEmit",
|
|
91
|
+
"build": "tsup --config tsup.config.ts",
|
|
92
|
+
"build:watch": "tsup --config tsup.config.ts --watch",
|
|
93
|
+
"build:prod": "NODE_ENV=production tsup --config tsup.config.ts --minify",
|
|
94
|
+
"clean": "rm -rf dist",
|
|
95
|
+
"prebuild": "npm run clean",
|
|
96
|
+
"start": "node dist/index.js",
|
|
97
|
+
"dev": "tsx watch src/examples/basic-server.ts",
|
|
98
|
+
"test": "vitest run src/tests/unit",
|
|
99
|
+
"test:file": "node scripts/test-file.js",
|
|
100
|
+
"test:unit": "vitest run src/tests/unit",
|
|
101
|
+
"test:integration": "vitest run src/tests/integration",
|
|
102
|
+
"test:e2e": "vitest run src/tests/e2e",
|
|
103
|
+
"test:all": "vitest run",
|
|
104
|
+
"test:watch": "vitest --watch src/tests/unit",
|
|
105
|
+
"test:coverage": "vitest --coverage src/tests/unit",
|
|
106
|
+
"test:ui": "vitest --ui",
|
|
107
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
108
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
109
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
110
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
111
|
+
"type-check": "tsc --noEmit --project tsconfig.build.json",
|
|
112
|
+
"act": "act",
|
|
113
|
+
"act:list": "act -l",
|
|
114
|
+
"act:dry": "act --dryrun",
|
|
115
|
+
"validate": "npm run lint && npm run format:check && npm run type-check && npm run test",
|
|
116
|
+
"validate:publish": "npm run lint && npm run format:check && npm run type-check",
|
|
117
|
+
"docs:generate": "typedoc --out docsx/api src/index.ts",
|
|
118
|
+
"docs:serve": "npx serve docsx/api",
|
|
119
|
+
"bench:quick": "node performance/scripts/quick-bench.js"
|
|
102
120
|
}
|
|
103
|
-
}
|
|
121
|
+
}
|