@platformatic/node 2.18.0 → 2.19.0-alpha.2
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/index.js +2 -7
- package/package.json +6 -6
- package/schema.json +1 -1
package/index.js
CHANGED
|
@@ -85,9 +85,7 @@ export class NodeStackable extends BaseStackable {
|
|
|
85
85
|
? ensureTrailingSlash(cleanBasePath(config.application?.basePath))
|
|
86
86
|
: undefined
|
|
87
87
|
|
|
88
|
-
this.registerGlobals({
|
|
89
|
-
basePath: this.#basePath,
|
|
90
|
-
})
|
|
88
|
+
this.registerGlobals({ basePath: this.#basePath })
|
|
91
89
|
|
|
92
90
|
// The server promise must be created before requiring the entrypoint even if it's not going to be used
|
|
93
91
|
// at all. Otherwise there is chance we miss the listen event.
|
|
@@ -235,10 +233,7 @@ export class NodeStackable extends BaseStackable {
|
|
|
235
233
|
prefix: this.basePath ?? this.#basePath,
|
|
236
234
|
wantsAbsoluteUrls: this._getWantsAbsoluteUrls(),
|
|
237
235
|
needsRootRedirect: true
|
|
238
|
-
}
|
|
239
|
-
connectionStrings: [
|
|
240
|
-
this.connectionString
|
|
241
|
-
]
|
|
236
|
+
}
|
|
242
237
|
}
|
|
243
238
|
}
|
|
244
239
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/node",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0-alpha.2",
|
|
4
4
|
"description": "Platformatic Node.js Stackable",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"homepage": "https://github.com/platformatic/platformatic#readme",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"light-my-request": "^6.0.0",
|
|
19
|
-
"@platformatic/basic": "2.
|
|
20
|
-
"@platformatic/config": "2.
|
|
21
|
-
"@platformatic/utils": "2.
|
|
19
|
+
"@platformatic/basic": "2.19.0-alpha.2",
|
|
20
|
+
"@platformatic/config": "2.19.0-alpha.2",
|
|
21
|
+
"@platformatic/utils": "2.19.0-alpha.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"borp": "^0.19.0",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"neostandard": "^0.11.1",
|
|
31
31
|
"tsx": "^4.19.0",
|
|
32
32
|
"typescript": "^5.5.4",
|
|
33
|
-
"@platformatic/
|
|
34
|
-
"@platformatic/
|
|
33
|
+
"@platformatic/service": "2.19.0-alpha.2",
|
|
34
|
+
"@platformatic/composer": "2.19.0-alpha.2"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"test": "npm 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.19.0-alpha.2.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Node.js Stackable",
|
|
5
5
|
"type": "object",
|