@platformatic/node 2.1.1 → 2.2.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.
Files changed (3) hide show
  1. package/index.js +7 -0
  2. package/package.json +7 -7
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -159,6 +159,13 @@ export class NodeStackable extends BaseStackable {
159
159
  })
160
160
  }
161
161
 
162
+ async collectMetrics () {
163
+ return {
164
+ defaultMetrics: true,
165
+ httpMetrics: true
166
+ }
167
+ }
168
+
162
169
  async build () {
163
170
  const command = this.configManager.current.application.commands.build
164
171
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/node",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Platformatic Node.js Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -16,10 +16,10 @@
16
16
  "homepage": "https://github.com/platformatic/platformatic#readme",
17
17
  "dependencies": {
18
18
  "light-my-request": "^6.0.0",
19
- "@platformatic/basic": "2.1.1",
20
- "@platformatic/config": "2.1.1",
21
- "@platformatic/telemetry": "2.1.1",
22
- "@platformatic/utils": "2.1.1"
19
+ "@platformatic/basic": "2.2.0",
20
+ "@platformatic/utils": "2.2.0",
21
+ "@platformatic/telemetry": "2.2.0",
22
+ "@platformatic/config": "2.2.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "borp": "^0.17.0",
@@ -31,8 +31,8 @@
31
31
  "neostandard": "^0.11.1",
32
32
  "tsx": "^4.19.0",
33
33
  "typescript": "^5.5.4",
34
- "@platformatic/service": "2.1.1",
35
- "@platformatic/composer": "2.1.1"
34
+ "@platformatic/service": "2.2.0",
35
+ "@platformatic/composer": "2.2.0"
36
36
  },
37
37
  "scripts": {
38
38
  "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.1.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/node/2.2.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Node.js Stackable",
5
5
  "type": "object",