nextrush 2.0.1 → 3.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/LICENSE +1 -1
- package/README.md +144 -1265
- package/dist/class.d.ts +3 -0
- package/dist/class.js +60 -0
- package/dist/class.js.map +1 -0
- package/dist/index.d.ts +56 -3011
- package/dist/index.js +58 -9046
- package/dist/index.js.map +1 -1
- package/package.json +68 -101
- package/dist/index.d.mts +0 -3044
- package/dist/index.mjs +0 -9012
- package/dist/index.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,121 +1,88 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextrush",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Minimal, modular, blazing fast Node.js framework",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./class": {
|
|
15
|
+
"types": "./dist/class.d.ts",
|
|
16
|
+
"import": "./dist/class.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"README.md"
|
|
22
|
+
],
|
|
5
23
|
"keywords": [
|
|
6
|
-
"
|
|
24
|
+
"framework",
|
|
25
|
+
"web",
|
|
26
|
+
"http",
|
|
27
|
+
"server",
|
|
28
|
+
"minimal",
|
|
29
|
+
"fast",
|
|
7
30
|
"typescript",
|
|
8
31
|
"nodejs",
|
|
9
|
-
"
|
|
10
|
-
"api
|
|
11
|
-
"
|
|
12
|
-
"koa-style",
|
|
13
|
-
"fastify-style",
|
|
14
|
-
"type-safe",
|
|
15
|
-
"high-performance",
|
|
16
|
-
"async-middleware",
|
|
17
|
-
"modern",
|
|
18
|
-
"fast",
|
|
19
|
-
"clean-architecture",
|
|
20
|
-
"websocket",
|
|
21
|
-
"cqrs",
|
|
22
|
-
"event-sourcing",
|
|
23
|
-
"validation",
|
|
24
|
-
"security",
|
|
25
|
-
"template-engine",
|
|
26
|
-
"dependency-injection",
|
|
27
|
-
"enterprise",
|
|
28
|
-
"production-ready"
|
|
32
|
+
"backend",
|
|
33
|
+
"api",
|
|
34
|
+
"rest"
|
|
29
35
|
],
|
|
30
|
-
"homepage": "https://github.com/0xTanzim/nextrush#readme",
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/0xTanzim/nextrush/issues"
|
|
33
|
-
},
|
|
34
|
-
"repository": {
|
|
35
|
-
"type": "git",
|
|
36
|
-
"url": "git+https://github.com/0xTanzim/nextrush.git"
|
|
37
|
-
},
|
|
38
|
-
"license": "MIT",
|
|
39
36
|
"author": {
|
|
40
37
|
"name": "Tanzim Hossain",
|
|
41
38
|
"email": "tanzimhossain2@gmail.com",
|
|
42
39
|
"url": "https://github.com/0xTanzim"
|
|
43
40
|
},
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"types": "./dist/index.d.ts",
|
|
50
|
-
"import": "./dist/index.mjs",
|
|
51
|
-
"require": "./dist/index.js",
|
|
52
|
-
"default": "./dist/index.js"
|
|
53
|
-
},
|
|
54
|
-
"./package.json": "./package.json"
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "git+https://github.com/0xTanzim/nextrush.git",
|
|
45
|
+
"directory": "packages/nextrush"
|
|
55
46
|
},
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
"LICENSE"
|
|
60
|
-
],
|
|
61
|
-
"engines": {
|
|
62
|
-
"node": ">=18.0.0",
|
|
63
|
-
"pnpm": ">=9.0.0"
|
|
47
|
+
"homepage": "https://nextrush.dev",
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/0xTanzim/nextrush/issues"
|
|
64
50
|
},
|
|
65
|
-
"
|
|
66
|
-
"
|
|
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",
|
|
78
|
-
"tsup": "^8.5.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"
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=22.0.0"
|
|
84
53
|
},
|
|
85
54
|
"publishConfig": {
|
|
86
|
-
"access": "public"
|
|
87
|
-
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"sideEffects": [
|
|
58
|
+
"./dist/class.js"
|
|
59
|
+
],
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"reflect-metadata": "^0.2.2",
|
|
62
|
+
"@nextrush/controllers": "3.0.0",
|
|
63
|
+
"@nextrush/decorators": "3.0.0",
|
|
64
|
+
"@nextrush/di": "3.0.0",
|
|
65
|
+
"@nextrush/core": "3.0.0",
|
|
66
|
+
"@nextrush/adapter-node": "3.0.0",
|
|
67
|
+
"@nextrush/errors": "3.0.0",
|
|
68
|
+
"@nextrush/router": "3.0.0",
|
|
69
|
+
"@nextrush/types": "3.0.0"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"tsup": "^8.5.1",
|
|
73
|
+
"typescript": "^6.0.2",
|
|
74
|
+
"vitest": "^4.1.4",
|
|
75
|
+
"@nextrush/cors": "3.0.0",
|
|
76
|
+
"@nextrush/compression": "3.0.0",
|
|
77
|
+
"@nextrush/helmet": "3.0.0",
|
|
78
|
+
"@nextrush/body-parser": "3.0.0"
|
|
88
79
|
},
|
|
89
80
|
"scripts": {
|
|
90
|
-
"
|
|
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",
|
|
81
|
+
"build": "tsup",
|
|
94
82
|
"clean": "rm -rf dist",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"test": "vitest run
|
|
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"
|
|
83
|
+
"typecheck": "tsc --noEmit",
|
|
84
|
+
"test": "vitest run",
|
|
85
|
+
"test:watch": "vitest",
|
|
86
|
+
"test:coverage": "vitest run --coverage"
|
|
120
87
|
}
|
|
121
88
|
}
|