@nattyjs/express 0.0.1-beta.2 → 0.0.1-beta.4
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/index.cjs +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -87,9 +87,10 @@ const ExpressModule = {
|
|
|
87
87
|
}));
|
|
88
88
|
app.use(express__default.json());
|
|
89
89
|
app.all("*", requestHandler);
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
if (config.autoGeneratePort == true)
|
|
91
|
+
app.listen(3e3, () => {
|
|
92
|
+
console.log("Server is running on port 3000 ");
|
|
93
|
+
});
|
|
93
94
|
}
|
|
94
95
|
};
|
|
95
96
|
|
package/dist/index.mjs
CHANGED
|
@@ -79,9 +79,10 @@ const ExpressModule = {
|
|
|
79
79
|
}));
|
|
80
80
|
app.use(express.json());
|
|
81
81
|
app.all("*", requestHandler);
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
if (config.autoGeneratePort == true)
|
|
83
|
+
app.listen(3e3, () => {
|
|
84
|
+
console.log("Server is running on port 3000 ");
|
|
85
|
+
});
|
|
85
86
|
}
|
|
86
87
|
};
|
|
87
88
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nattyjs/express",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "ajayojha <ojhaajay@outlook.com>",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"express": "4.18.2",
|
|
19
19
|
"cors": "2.8.5",
|
|
20
20
|
"compression": "1.7.4",
|
|
21
|
-
"@nattyjs/core": "0.0.1-beta.
|
|
22
|
-
"@nattyjs/types": "0.0.1-beta.
|
|
21
|
+
"@nattyjs/core": "0.0.1-beta.4",
|
|
22
|
+
"@nattyjs/types": "0.0.1-beta.4"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "20.3.1",
|