@platformatic/node 2.67.0-alpha.1 → 2.67.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/index.js +3 -3
- package/package.json +7 -7
- package/schema.json +1 -1
package/index.js
CHANGED
|
@@ -73,12 +73,12 @@ export class NodeStackable extends BaseStackable {
|
|
|
73
73
|
const config = this.configManager.current
|
|
74
74
|
|
|
75
75
|
if (!this.isProduction && (await isServiceBuildable(this.root, config))) {
|
|
76
|
-
this.logger.info(`Building "${this.serviceId}" before starting
|
|
76
|
+
this.logger.info(`Building service "${this.serviceId}" before starting in devevelopment mode ...`)
|
|
77
77
|
try {
|
|
78
78
|
await this.build()
|
|
79
79
|
this.childManager = null
|
|
80
80
|
} catch (e) {
|
|
81
|
-
this.logger.error(`Error building "${this.serviceId}"
|
|
81
|
+
this.logger.error(`Error while building service "${this.serviceId}": ${e.message}`)
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -143,7 +143,7 @@ export class NodeStackable extends BaseStackable {
|
|
|
143
143
|
this.url = getServerUrl(this.#server)
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
this._collectMetrics()
|
|
147
147
|
return this.url
|
|
148
148
|
}
|
|
149
149
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/node",
|
|
3
|
-
"version": "2.67.0
|
|
3
|
+
"version": "2.67.0",
|
|
4
4
|
"description": "Platformatic Node.js Stackable",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"json5": "^2.2.3",
|
|
19
19
|
"light-my-request": "^6.0.0",
|
|
20
|
-
"@platformatic/basic": "2.67.0
|
|
21
|
-
"@platformatic/
|
|
22
|
-
"@platformatic/utils": "2.67.0
|
|
23
|
-
"@platformatic/
|
|
20
|
+
"@platformatic/basic": "2.67.0",
|
|
21
|
+
"@platformatic/config": "2.67.0",
|
|
22
|
+
"@platformatic/utils": "2.67.0",
|
|
23
|
+
"@platformatic/generators": "2.67.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"borp": "^0.20.0",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"neostandard": "^0.12.0",
|
|
33
33
|
"tsx": "^4.19.0",
|
|
34
34
|
"typescript": "^5.5.4",
|
|
35
|
-
"@platformatic/composer": "2.67.0
|
|
36
|
-
"@platformatic/service": "2.67.0
|
|
35
|
+
"@platformatic/composer": "2.67.0",
|
|
36
|
+
"@platformatic/service": "2.67.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"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.67.0
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/node/2.67.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Node.js Stackable",
|
|
5
5
|
"type": "object",
|