@forklaunch/express 0.3.7 → 0.4.0

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/lib/index.js CHANGED
@@ -57,13 +57,11 @@ var Application = class extends import_http.ForklaunchExpressLikeApplication {
57
57
  this.internal.use(
58
58
  `/api/${process.env.VERSION ?? "v1"}${process.env.DOCS_PATH ?? "/docs"}`,
59
59
  (0, import_express_api_reference.apiReference)({
60
- spec: {
61
- content: (0, import_http.generateSwaggerDocument)(
62
- this.schemaValidator,
63
- port,
64
- this.routers
65
- )
66
- },
60
+ content: (0, import_http.generateSwaggerDocument)(
61
+ this.schemaValidator,
62
+ port,
63
+ this.routers
64
+ ),
67
65
  ...this.docsConfiguration
68
66
  })
69
67
  );
package/lib/index.mjs CHANGED
@@ -26,13 +26,11 @@ var Application = class extends ForklaunchExpressLikeApplication {
26
26
  this.internal.use(
27
27
  `/api/${process.env.VERSION ?? "v1"}${process.env.DOCS_PATH ?? "/docs"}`,
28
28
  apiReference({
29
- spec: {
30
- content: generateSwaggerDocument(
31
- this.schemaValidator,
32
- port,
33
- this.routers
34
- )
35
- },
29
+ content: generateSwaggerDocument(
30
+ this.schemaValidator,
31
+ port,
32
+ this.routers
33
+ ),
36
34
  ...this.docsConfiguration
37
35
  })
38
36
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/express",
3
- "version": "0.3.7",
3
+ "version": "0.4.0",
4
4
  "description": "Forklaunch framework for express.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -25,19 +25,19 @@
25
25
  "lib/**"
26
26
  ],
27
27
  "dependencies": {
28
- "@scalar/express-api-reference": "^0.4.193",
28
+ "@scalar/express-api-reference": "^0.6.5",
29
29
  "cors": "^2.8.5",
30
- "express": "^4.21.2",
30
+ "express": "^5.1.0",
31
31
  "qs": "^6.14.0",
32
32
  "swagger-ui-express": "^5.0.1",
33
- "@forklaunch/common": "0.2.4",
34
- "@forklaunch/validator": "0.4.7",
35
- "@forklaunch/core": "0.5.6"
33
+ "@forklaunch/common": "0.2.5",
34
+ "@forklaunch/core": "0.6.0",
35
+ "@forklaunch/validator": "0.4.8"
36
36
  },
37
37
  "devDependencies": {
38
- "@eslint/js": "^9.22.0",
38
+ "@eslint/js": "^9.23.0",
39
39
  "@types/cors": "^2.8.17",
40
- "@types/express": "^5.0.0",
40
+ "@types/express": "^5.0.1",
41
41
  "@types/express-serve-static-core": "^5.0.6",
42
42
  "@types/jest": "^29.5.14",
43
43
  "@types/qs": "^6.9.18",
@@ -45,11 +45,12 @@
45
45
  "jest": "^29.7.0",
46
46
  "kill-port-process": "^3.2.1",
47
47
  "prettier": "^3.5.3",
48
- "ts-jest": "^29.2.6",
48
+ "ts-jest": "^29.3.1",
49
49
  "ts-node": "^10.9.2",
50
50
  "tsup": "^8.4.0",
51
+ "typedoc": "^0.28.1",
51
52
  "typescript": "^5.8.2",
52
- "typescript-eslint": "^8.26.1"
53
+ "typescript-eslint": "^8.29.0"
53
54
  },
54
55
  "scripts": {
55
56
  "build": "tsc --noEmit && tsup index.ts --format cjs,esm --no-splitting --tsconfig tsconfig.json --outDir lib --dts --clean",