rajt 0.0.3 → 0.0.5
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 +3 -8
- package/package.json +26 -2
- package/src/routes.ts +1 -1
package/README.md
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
<
|
|
2
|
-
<a href="https://npmjs.com/package/rajt"><img src="https://img.shields.io/npm/v/rajt.svg" alt="npm package"></a>
|
|
3
|
-
<a href="https://pr.new/attla/rajt"><img src="https://developer.stackblitz.com/img/start_pr_dark_small.svg" alt="Start new PR in StackBlitz Codeflow"></a>
|
|
4
|
-
</p>
|
|
1
|
+
<h1 align="left">Rajt λ<br/><a href="https://pr.new/attla/rajt"><img align="right" src="https://developer.stackblitz.com/img/start_pr_dark_small.svg" alt="Start new PR in StackBlitz Codeflow"></a><a href="https://npmjs.com/package/rajt"><img align="right" src="https://img.shields.io/npm/v/rajt.svg" alt="npm package"></a></h1>
|
|
5
2
|
<br/>
|
|
6
3
|
|
|
7
|
-
# Rajt λ
|
|
8
|
-
|
|
9
4
|
> This framework is fully geared towards the serverless world, specifically AWS Lambda (Node.js and LLRT) / Cloudflare Workers.
|
|
10
5
|
|
|
11
6
|
- 💡 Instant Server Start
|
|
12
7
|
- ⚡️ Fast Cold Start
|
|
13
8
|
- 📦 Optimized Build
|
|
14
9
|
|
|
15
|
-
[Read the Docs to Learn More](DOCS.md).
|
|
10
|
+
[Read the Docs to Learn More](https://github.com/attla/rajt/blob/main/DOCS.md).
|
|
16
11
|
|
|
17
12
|
## Packages
|
|
18
13
|
|
|
@@ -23,4 +18,4 @@
|
|
|
23
18
|
|
|
24
19
|
## License
|
|
25
20
|
|
|
26
|
-
This package is licensed under the [MIT license](LICENSE) © [Zunq](https://zunq.com).
|
|
21
|
+
This package is licensed under the [MIT license](https://github.com/attla/rajt/blob/main/LICENSE) © [Zunq](https://zunq.com).
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rajt",
|
|
3
|
-
"
|
|
3
|
+
"description": "A serverless bundler layer, fully typed for AWS Lambda (Node.js and LLRT) and Cloudflare Workers.",
|
|
4
|
+
"version": "0.0.5",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"exports": {
|
|
@@ -39,5 +40,28 @@
|
|
|
39
40
|
"tsconfig-paths": "^4.2.0",
|
|
40
41
|
"tsx": "^4.19.3",
|
|
41
42
|
"typescript": "^5.8.3"
|
|
42
|
-
}
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"registry": "https://registry.npmjs.org"
|
|
46
|
+
},
|
|
47
|
+
"author": "Zunq <open-source@zunq.com>",
|
|
48
|
+
"homepage": "https://zunq.dev",
|
|
49
|
+
"repository": "git://github.com/attla/rajt",
|
|
50
|
+
"bugs": "https://github.com/attla/rajt/issues",
|
|
51
|
+
"keywords": [
|
|
52
|
+
"rajt",
|
|
53
|
+
"aws",
|
|
54
|
+
"lambda",
|
|
55
|
+
"llrt",
|
|
56
|
+
"app",
|
|
57
|
+
"http",
|
|
58
|
+
"application",
|
|
59
|
+
"framework",
|
|
60
|
+
"router",
|
|
61
|
+
"cloudflare",
|
|
62
|
+
"workers",
|
|
63
|
+
"deno",
|
|
64
|
+
"bun",
|
|
65
|
+
"nodejs"
|
|
66
|
+
]
|
|
43
67
|
}
|
package/src/routes.ts
CHANGED
|
@@ -31,7 +31,7 @@ export default async function getRoutes(all: boolean = false, baseDir: string =
|
|
|
31
31
|
method: '',
|
|
32
32
|
path: '',
|
|
33
33
|
name: group.name.replace(/\.ts$/, ''),
|
|
34
|
-
file:
|
|
34
|
+
file: baseDir + indexFile.split(baseDir)[1],
|
|
35
35
|
middlewares,
|
|
36
36
|
handle: group,
|
|
37
37
|
})
|