@podium/podlet 5.1.17 → 5.1.19

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/CHANGELOG.md +14 -0
  2. package/lib/podlet.js +12 -0
  3. package/package.json +14 -22
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.1.19](https://github.com/podium-lib/podlet/compare/v5.1.18...v5.1.19) (2024-11-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @podium/proxy to v5.0.29 ([0bbc78b](https://github.com/podium-lib/podlet/commit/0bbc78b07a7f3059cb8f659a23c75896c1081b2f))
7
+
8
+ ## [5.1.18](https://github.com/podium-lib/podlet/compare/v5.1.17...v5.1.18) (2024-10-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * include some app info as a default metric ([5c9fdcb](https://github.com/podium-lib/podlet/commit/5c9fdcb269f9b1867f8df127fcd412f150d3ca95))
14
+
1
15
  ## [5.1.17](https://github.com/podium-lib/podlet/compare/v5.1.16...v5.1.17) (2024-09-23)
2
16
 
3
17
 
package/lib/podlet.js CHANGED
@@ -382,6 +382,18 @@ export default class PodiumPodlet {
382
382
  });
383
383
 
384
384
  versionGauge.set(1);
385
+
386
+ const podletGauge = this.metrics.gauge({
387
+ name: 'podium_podlet_application_info',
388
+ description: '@podium/podlet application info',
389
+ labels: {
390
+ name: this.name,
391
+ version: this.version,
392
+ has_fallback: Boolean(fallback),
393
+ },
394
+ });
395
+
396
+ podletGauge.set(1);
385
397
  });
386
398
 
387
399
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podium/podlet",
3
- "version": "5.1.17",
3
+ "version": "5.1.19",
4
4
  "type": "module",
5
5
  "description": "Module for building page fragment servers in a micro frontend architecture.",
6
6
  "license": "MIT",
@@ -26,16 +26,15 @@
26
26
  "scripts": {
27
27
  "lint": "eslint .",
28
28
  "lint:fix": "eslint --fix .",
29
- "test": "run-s test:*",
30
- "test:unit": "tap --disable-coverage --allow-empty-coverage",
31
- "test:types": "tsc --project tsconfig.test.json",
32
- "types": "run-s types:tsc types:fixup",
29
+ "test": "tap --disable-coverage --allow-empty-coverage",
30
+ "types": "run-s types:tsc types:fixup types:test",
33
31
  "types:tsc": "tsc --declaration --emitDeclarationOnly",
32
+ "types:test": "tsc --project tsconfig.test.json",
34
33
  "types:fixup": "node ./fixup.js"
35
34
  },
36
35
  "dependencies": {
37
36
  "@metrics/client": "2.5.3",
38
- "@podium/proxy": "5.0.28",
37
+ "@podium/proxy": "5.0.29",
39
38
  "@podium/schemas": "5.0.6",
40
39
  "@podium/utils": "5.3.1",
41
40
  "abslog": "2.4.4",
@@ -43,25 +42,18 @@
43
42
  "objobj": "1.0.0"
44
43
  },
45
44
  "devDependencies": {
46
- "@babel/eslint-parser": "7.25.1",
47
- "@podium/test-utils": "3.0.8",
48
- "@semantic-release/changelog": "6.0.3",
49
- "@semantic-release/commit-analyzer": "11.1.0",
50
- "@semantic-release/git": "10.0.1",
51
- "@semantic-release/github": "9.2.6",
52
- "@semantic-release/npm": "11.0.3",
53
- "@semantic-release/release-notes-generator": "12.1.0",
54
- "@types/node": "^20.10.3",
55
- "@types/readable-stream": "4.0.15",
56
- "eslint": "9.9.1",
57
- "eslint-config-prettier": "9.1.0",
58
- "eslint-plugin-prettier": "5.2.1",
45
+ "@podium/eslint-config": "1.0.2",
46
+ "@podium/semantic-release-config": "2.0.0",
47
+ "@podium/test-utils": "3.0.11",
48
+ "@podium/typescript-config": "1.0.0",
49
+ "@types/node": "20.16.10",
50
+ "@types/readable-stream": "4.0.18",
51
+ "eslint": "9.13.0",
59
52
  "express": "4.20.0",
60
- "globals": "15.9.0",
61
53
  "json-stringify-safe": "5.0.1",
62
- "npm-run-all2": "6.2.3",
54
+ "npm-run-all2": "6.2.6",
63
55
  "prettier": "3.3.3",
64
- "semantic-release": "23.1.1",
56
+ "semantic-release": "24.1.2",
65
57
  "tap": "18.8.0",
66
58
  "typescript": "5.5.4"
67
59
  }