@arkstack/driver-express 0.12.30 → 0.12.32
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.js +6 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1281,10 +1281,14 @@ var Router = class extends Router$2 {
|
|
|
1281
1281
|
const router = express.Router();
|
|
1282
1282
|
try {
|
|
1283
1283
|
await Router$2.group("/api", join(Arkstack.rootDir(), "src/routes/api.ts"));
|
|
1284
|
-
} catch {
|
|
1284
|
+
} catch (e) {
|
|
1285
|
+
Logger.error("ERROR: Unable to load \"api.ts\" routes: " + e.message, false);
|
|
1286
|
+
}
|
|
1285
1287
|
try {
|
|
1286
1288
|
await Router$2.group("/", join(Arkstack.rootDir(), "src/routes/web.ts"));
|
|
1287
|
-
} catch {
|
|
1289
|
+
} catch (e) {
|
|
1290
|
+
Logger.error("ERROR: Unable to load \"web.ts\" routes: " + e.message, false);
|
|
1291
|
+
}
|
|
1288
1292
|
Router$2.apply(router);
|
|
1289
1293
|
router.all("/*splat", (req, _res, next) => {
|
|
1290
1294
|
const url = req.originalUrl || req.url;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/driver-express",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Express driver for Arkstack, providing Express-based runtime integration for the framework.",
|
|
6
6
|
"homepage": "https://arkstack.toneflix.net",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"express-rate-limit": "^8.4.1",
|
|
43
43
|
"@resora/plugin-clear-router": "^1.0.60",
|
|
44
44
|
"resora": "^1.3.23",
|
|
45
|
-
"@arkstack/contract": "^0.12.
|
|
45
|
+
"@arkstack/contract": "^0.12.32"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"express": "^5.2.1",
|
|
49
|
-
"@arkstack/auth": "^0.12.
|
|
50
|
-
"@arkstack/foundry": "^0.12.
|
|
51
|
-
"@arkstack/common": "^0.12.
|
|
49
|
+
"@arkstack/auth": "^0.12.32",
|
|
50
|
+
"@arkstack/foundry": "^0.12.32",
|
|
51
|
+
"@arkstack/common": "^0.12.32"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@arkstack/auth": {
|