fullstx 1.0.1 → 1.0.3

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.
@@ -23,7 +23,7 @@ module.exports = function setupUtils(app) {
23
23
  ].forEach((name) => {
24
24
  Object.defineProperty(app, name, {
25
25
  get() {
26
- return require('../middlewares/' + name);
26
+ return require('../middlewares/' + name + '.js');
27
27
  }
28
28
  });
29
29
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullstx",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A high-performance, custom backend framework with built-in hot-reload.",
5
5
  "author": "fullstx developer",
6
6
  "main": "./dist/index.js",
@@ -46,18 +46,38 @@
46
46
  "ejs": "^6.0.1",
47
47
  "fast-json-stringify": "^7.0.0",
48
48
  "jsonwebtoken": "^9.0.3",
49
- "knex": "^3.3.0",
50
49
  "multer": "^2.2.0",
51
50
  "sanitize-html": "^2.17.5",
52
51
  "swagger-ui-dist": "^5.32.8",
53
52
  "ws": "^8.21.0",
54
53
  "zod": "^4.4.3"
55
54
  },
56
- "optionalDependencies": {
55
+ "peerDependencies": {
57
56
  "@sentry/node": "^10.62.0",
58
57
  "bullmq": "^5.79.2",
58
+ "knex": "^3.3.0",
59
59
  "nodemailer": "^9.0.1",
60
60
  "redis": "^6.0.1",
61
61
  "sqlite3": "^6.0.1"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "@sentry/node": {
65
+ "optional": true
66
+ },
67
+ "bullmq": {
68
+ "optional": true
69
+ },
70
+ "knex": {
71
+ "optional": true
72
+ },
73
+ "nodemailer": {
74
+ "optional": true
75
+ },
76
+ "redis": {
77
+ "optional": true
78
+ },
79
+ "sqlite3": {
80
+ "optional": true
81
+ }
62
82
  }
63
- }
83
+ }