@platformatic/node 2.19.0-alpha.3 → 2.19.0-alpha.4

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.
Files changed (3) hide show
  1. package/index.js +7 -2
  2. package/package.json +6 -6
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -85,7 +85,9 @@ export class NodeStackable extends BaseStackable {
85
85
  ? ensureTrailingSlash(cleanBasePath(config.application?.basePath))
86
86
  : undefined
87
87
 
88
- this.registerGlobals({ basePath: this.#basePath })
88
+ this.registerGlobals({
89
+ basePath: this.#basePath,
90
+ })
89
91
 
90
92
  // The server promise must be created before requiring the entrypoint even if it's not going to be used
91
93
  // at all. Otherwise there is chance we miss the listen event.
@@ -233,7 +235,10 @@ export class NodeStackable extends BaseStackable {
233
235
  prefix: this.basePath ?? this.#basePath,
234
236
  wantsAbsoluteUrls: this._getWantsAbsoluteUrls(),
235
237
  needsRootRedirect: true
236
- }
238
+ },
239
+ connectionStrings: [
240
+ this.connectionString
241
+ ]
237
242
  }
238
243
  }
239
244
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/node",
3
- "version": "2.19.0-alpha.3",
3
+ "version": "2.19.0-alpha.4",
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.19.0-alpha.3",
20
- "@platformatic/config": "2.19.0-alpha.3",
21
- "@platformatic/utils": "2.19.0-alpha.3"
19
+ "@platformatic/basic": "2.19.0-alpha.4",
20
+ "@platformatic/config": "2.19.0-alpha.4",
21
+ "@platformatic/utils": "2.19.0-alpha.4"
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/composer": "2.19.0-alpha.3",
34
- "@platformatic/service": "2.19.0-alpha.3"
33
+ "@platformatic/composer": "2.19.0-alpha.4",
34
+ "@platformatic/service": "2.19.0-alpha.4"
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.19.0-alpha.3.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/node/2.19.0-alpha.4.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Node.js Stackable",
5
5
  "type": "object",