@tahminator/sapling 1.5.27-beta.1776f234 → 1.5.27
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/dist/eslint.config.d.ts +2 -0
- package/dist/eslint.config.js +38 -0
- package/dist/exclusions.d.ts +5 -0
- package/dist/exclusions.js +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/weakmap.d.ts +15 -0
- package/dist/lib/weakmap.js +77 -0
- package/dist/src/__test__/first.d.ts +6 -0
- package/dist/src/__test__/first.js +20 -0
- package/dist/src/__test__/second.d.ts +6 -0
- package/dist/src/__test__/second.js +20 -0
- package/dist/src/annotation/controller.d.ts +21 -0
- package/dist/src/annotation/controller.js +78 -0
- package/dist/src/annotation/index.d.ts +4 -0
- package/dist/src/annotation/index.js +4 -0
- package/dist/src/annotation/injectable.d.ts +25 -0
- package/dist/src/annotation/injectable.js +72 -0
- package/dist/src/annotation/middleware.d.ts +9 -0
- package/dist/src/annotation/middleware.js +11 -0
- package/dist/src/annotation/route.d.ts +47 -0
- package/dist/src/annotation/route.js +77 -0
- package/dist/src/enum/http.d.ts +68 -0
- package/dist/src/enum/http.js +71 -0
- package/dist/src/enum/index.d.ts +1 -0
- package/dist/src/enum/index.js +1 -0
- package/dist/src/helper/error.d.ts +10 -0
- package/dist/src/helper/error.js +19 -0
- package/dist/src/helper/index.d.ts +4 -0
- package/dist/src/helper/index.js +4 -0
- package/dist/src/helper/redirect.d.ts +14 -0
- package/dist/src/helper/redirect.js +19 -0
- package/dist/src/helper/response.d.ts +68 -0
- package/dist/src/helper/response.js +90 -0
- package/dist/src/helper/sapling.d.ts +101 -0
- package/dist/src/helper/sapling.js +153 -0
- package/dist/src/html/404.d.ts +4 -0
- package/dist/src/html/404.js +14 -0
- package/dist/src/html/index.d.ts +1 -0
- package/dist/src/html/index.js +1 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.js +5 -0
- package/dist/src/types.d.ts +21 -0
- package/dist/src/types.js +11 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/vite.config.js +18 -0
- package/package.json +10 -11
- package/dist/index.cjs +0 -669
- package/dist/index.d.cts +0 -421
- package/dist/index.d.mts +0 -421
- package/dist/index.mjs +0 -621
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tahminator/sapling",
|
|
3
|
-
"version": "1.5.27
|
|
3
|
+
"version": "1.5.27",
|
|
4
4
|
"author": "Tahmid Ahmed",
|
|
5
5
|
"description": "A library to help you write cleaner Express.js code",
|
|
6
6
|
"repository": {
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"prettier": "NODE_OPTIONS=\"--experimental-strip-types\" prettier --check .",
|
|
19
19
|
"prettier:fix": "NODE_OPTIONS=\"--experimental-strip-types\" prettier --write .",
|
|
20
20
|
"typecheck": "tsc -b --noEmit",
|
|
21
|
-
"build": "rm -rf dist &&
|
|
21
|
+
"build": "rm -rf dist && tsc --project tsconfig.app.json"
|
|
22
22
|
},
|
|
23
|
-
"main": "./dist/index.
|
|
24
|
-
"module": "./dist/index.
|
|
25
|
-
"types": "./dist/index.d.
|
|
23
|
+
"main": "./dist/index.js",
|
|
24
|
+
"module": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"require": "./dist/index.js"
|
|
31
|
+
}
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"/dist"
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"express": "^5"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@eslint/js": "^10.0.1",
|
|
44
43
|
"@types/express": "^5",
|
|
44
|
+
"@eslint/js": "^10.0.1",
|
|
45
45
|
"@types/supertest": "^7.2.0",
|
|
46
46
|
"@vitest/coverage-istanbul": "^4.1.2",
|
|
47
47
|
"eslint": "^10.1.0",
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"prettier": "^3.8.1",
|
|
53
53
|
"superjson": "^2.2.6",
|
|
54
54
|
"supertest": "^7.2.2",
|
|
55
|
-
"tsdown": "^0.21.10",
|
|
56
55
|
"typescript-eslint": "^8.57.2",
|
|
57
56
|
"vite-tsconfig-paths": "^6.1.1",
|
|
58
57
|
"vitest": "^4.1.2"
|