@platformatic/node 2.8.0 → 2.8.2-alpha.1
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 +0 -6
- package/package.json +6 -7
- package/schema.json +1 -1
package/index.js
CHANGED
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
transformConfig
|
|
11
11
|
} from '@platformatic/basic'
|
|
12
12
|
import { ConfigManager } from '@platformatic/config'
|
|
13
|
-
import { setupNodeHTTPTelemetry } from '@platformatic/telemetry'
|
|
14
13
|
import inject from 'light-my-request'
|
|
15
14
|
import { existsSync } from 'node:fs'
|
|
16
15
|
import { readFile } from 'node:fs/promises'
|
|
@@ -94,11 +93,6 @@ export class NodeStackable extends BaseStackable {
|
|
|
94
93
|
(this.isEntrypoint ? serverOptions?.port : undefined) ?? true,
|
|
95
94
|
(this.isEntrypoint ? serverOptions?.hostname : undefined) ?? true
|
|
96
95
|
)
|
|
97
|
-
// If telemetry is set, configure it
|
|
98
|
-
const telemetryConfig = this.telemetryConfig
|
|
99
|
-
if (telemetryConfig) {
|
|
100
|
-
setupNodeHTTPTelemetry(telemetryConfig, this.logger)
|
|
101
|
-
}
|
|
102
96
|
this.#module = await importFile(finalEntrypoint)
|
|
103
97
|
this.#module = this.#module.default || this.#module
|
|
104
98
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/node",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2-alpha.1",
|
|
4
4
|
"description": "Platformatic Node.js Stackable",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,10 +16,9 @@
|
|
|
16
16
|
"homepage": "https://github.com/platformatic/platformatic#readme",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"light-my-request": "^6.0.0",
|
|
19
|
-
"@platformatic/
|
|
20
|
-
"@platformatic/
|
|
21
|
-
"@platformatic/
|
|
22
|
-
"@platformatic/telemetry": "2.8.0"
|
|
19
|
+
"@platformatic/config": "2.8.2-alpha.1",
|
|
20
|
+
"@platformatic/utils": "2.8.2-alpha.1",
|
|
21
|
+
"@platformatic/basic": "2.8.2-alpha.1"
|
|
23
22
|
},
|
|
24
23
|
"devDependencies": {
|
|
25
24
|
"borp": "^0.18.0",
|
|
@@ -31,8 +30,8 @@
|
|
|
31
30
|
"neostandard": "^0.11.1",
|
|
32
31
|
"tsx": "^4.19.0",
|
|
33
32
|
"typescript": "^5.5.4",
|
|
34
|
-
"@platformatic/composer": "2.8.
|
|
35
|
-
"@platformatic/service": "2.8.
|
|
33
|
+
"@platformatic/composer": "2.8.2-alpha.1",
|
|
34
|
+
"@platformatic/service": "2.8.2-alpha.1"
|
|
36
35
|
},
|
|
37
36
|
"scripts": {
|
|
38
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.8.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/node/2.8.2-alpha.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Node.js Stackable",
|
|
5
5
|
"type": "object",
|