@platformatic/node 2.73.1 → 2.74.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/config.d.ts +1 -0
- package/index.js +1 -1
- package/lib/schema.js +4 -0
- package/package.json +7 -7
- package/schema.json +5 -1
package/config.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -115,7 +115,7 @@ export class NodeStackable extends BaseStackable {
|
|
|
115
115
|
// Deal with application
|
|
116
116
|
const factory = ['build', 'create'].find(f => typeof this.#module[f] === 'function')
|
|
117
117
|
|
|
118
|
-
if (this.#module.hasServer !== false) {
|
|
118
|
+
if (config.node?.hasServer !== false && this.#module.hasServer !== false) {
|
|
119
119
|
if (factory) {
|
|
120
120
|
// We have build function, this Stackable will not use HTTP unless it is the entrypoint
|
|
121
121
|
serverPromise.cancel()
|
package/lib/schema.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/node",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.74.0",
|
|
4
4
|
"description": "Platformatic Node.js Stackable",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"json5": "^2.2.3",
|
|
23
23
|
"light-my-request": "^6.0.0",
|
|
24
|
-
"@platformatic/
|
|
25
|
-
"@platformatic/
|
|
26
|
-
"@platformatic/
|
|
27
|
-
"@platformatic/
|
|
24
|
+
"@platformatic/config": "2.74.0",
|
|
25
|
+
"@platformatic/utils": "2.74.0",
|
|
26
|
+
"@platformatic/basic": "2.74.0",
|
|
27
|
+
"@platformatic/generators": "2.74.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"borp": "^0.20.0",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"neostandard": "^0.12.0",
|
|
37
37
|
"tsx": "^4.19.0",
|
|
38
38
|
"typescript": "^5.5.4",
|
|
39
|
-
"@platformatic/
|
|
40
|
-
"@platformatic/
|
|
39
|
+
"@platformatic/service": "2.74.0",
|
|
40
|
+
"@platformatic/composer": "2.74.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"test": "pnpm run lint && borp --concurrency=1 --no-timeout",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/node/2.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/node/2.74.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Node.js Stackable",
|
|
5
5
|
"type": "object",
|
|
@@ -1401,6 +1401,10 @@
|
|
|
1401
1401
|
"disablePlatformaticInBuild": {
|
|
1402
1402
|
"type": "boolean",
|
|
1403
1403
|
"default": false
|
|
1404
|
+
},
|
|
1405
|
+
"hasServer": {
|
|
1406
|
+
"type": "boolean",
|
|
1407
|
+
"default": true
|
|
1404
1408
|
}
|
|
1405
1409
|
},
|
|
1406
1410
|
"default": {},
|