@platformatic/composer 3.2.1 → 3.3.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 (2) hide show
  1. package/package.json +8 -5
  2. package/schema.json +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/composer",
3
- "version": "3.2.1",
3
+ "version": "3.3.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -19,11 +19,12 @@
19
19
  "c8": "^10.0.0",
20
20
  "cleaner-spec-reporter": "^0.5.0",
21
21
  "eslint": "9",
22
- "neostandard": "^0.12.0"
22
+ "neostandard": "^0.12.0",
23
+ "json-schema-to-typescript": "^15.0.0"
23
24
  },
24
25
  "dependencies": {
25
- "@platformatic/foundation": "3.2.1",
26
- "@platformatic/gateway": "3.2.1"
26
+ "@platformatic/foundation": "3.3.0",
27
+ "@platformatic/gateway": "3.3.0"
27
28
  },
28
29
  "engines": {
29
30
  "node": ">=22.19.0"
@@ -32,6 +33,8 @@
32
33
  "test": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js",
33
34
  "prebuild": "cd ../gateway && npm run build",
34
35
  "build": "node scripts/schema.js",
35
- "lint": "eslint"
36
+ "lint": "eslint",
37
+ "gen-schema": "node scripts/schema.js > schema.json",
38
+ "gen-types": "json2ts > config.d.ts < schema.json"
36
39
  }
37
40
  }
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.2.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.3.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Composer Config",
5
5
  "type": "object",
@@ -1591,6 +1591,11 @@
1591
1591
  "type": "string"
1592
1592
  }
1593
1593
  },
1594
+ "applicationLabel": {
1595
+ "type": "string",
1596
+ "default": "applicationId",
1597
+ "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
1598
+ },
1594
1599
  "readiness": {
1595
1600
  "anyOf": [
1596
1601
  {