@backstage-community/plugin-analytics-module-matomo 1.30.0 → 1.31.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @backstage-community/plugin-analytics-module-matomo
2
2
 
3
+ ## 1.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 70ce2a9: Backstage version bump to v1.54.5
8
+
3
9
  ## 1.30.0
4
10
 
5
11
  ### Minor Changes
@@ -0,0 +1,66 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "app": {
6
+ "type": "object",
7
+ "properties": {
8
+ "analytics": {
9
+ "type": "object",
10
+ "properties": {
11
+ "matomo": {
12
+ "type": "object",
13
+ "properties": {
14
+ "host": {
15
+ "type": "string",
16
+ "description": "Matomo host URL",
17
+ "visibility": "frontend"
18
+ },
19
+ "siteId": {
20
+ "type": "string",
21
+ "description": "Matomo siteId for the Backstage Website",
22
+ "visibility": "frontend"
23
+ },
24
+ "identity": {
25
+ "type": "string",
26
+ "enum": [
27
+ "disabled",
28
+ "optional",
29
+ "required"
30
+ ],
31
+ "description": "Controls how the identityApi is used when sending data to Matomo:",
32
+ "visibility": "frontend"
33
+ },
34
+ "sendPlainUserId": {
35
+ "type": "boolean",
36
+ "description": "Sends the identity as plain userId instead of hashing it",
37
+ "visibility": "frontend"
38
+ },
39
+ "enhancedTracking": {
40
+ "type": "boolean",
41
+ "description": "Enables extended tracking capabilities (navigate events, buffering,…)",
42
+ "visibility": "frontend"
43
+ },
44
+ "deferInitialPageView": {
45
+ "type": "boolean",
46
+ "description": "Defers the initial page view until identity is available",
47
+ "visibility": "frontend"
48
+ }
49
+ },
50
+ "required": [
51
+ "host",
52
+ "siteId"
53
+ ]
54
+ }
55
+ },
56
+ "required": [
57
+ "matomo"
58
+ ]
59
+ }
60
+ },
61
+ "required": [
62
+ "analytics"
63
+ ]
64
+ }
65
+ }
66
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-analytics-module-matomo",
3
- "version": "1.30.0",
3
+ "version": "1.31.0",
4
4
  "main": "./dist/index.esm.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -62,25 +62,25 @@
62
62
  "directory": "workspaces/analytics/plugins/analytics-module-matomo"
63
63
  },
64
64
  "dependencies": {
65
- "@backstage/core-plugin-api": "^1.12.7",
66
- "@backstage/frontend-plugin-api": "^0.17.2",
67
- "@backstage/plugin-app-react": "^0.2.4"
65
+ "@backstage/core-plugin-api": "^1.12.9",
66
+ "@backstage/frontend-plugin-api": "^0.18.0",
67
+ "@backstage/plugin-app-react": "^0.2.6"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0"
71
71
  },
72
72
  "devDependencies": {
73
- "@backstage/cli": "^0.36.3",
74
- "@backstage/core-components": "^0.18.11",
75
- "@backstage/dev-utils": "^1.1.24",
73
+ "@backstage/cli": "^0.36.5",
74
+ "@backstage/core-components": "^0.18.13",
75
+ "@backstage/dev-utils": "^1.1.26",
76
76
  "@testing-library/jest-dom": "6.9.1",
77
77
  "cross-fetch": "4.1.0"
78
78
  },
79
79
  "files": [
80
80
  "dist",
81
- "config.d.ts"
81
+ "config.schema.json"
82
82
  ],
83
- "configSchema": "config.d.ts",
83
+ "configSchema": "config.schema.json",
84
84
  "maintainers": [
85
85
  "@yashoswalyo",
86
86
  "@deshmukhmayur",
package/config.d.ts DELETED
@@ -1,62 +0,0 @@
1
- /*
2
- * Copyright 2024 The Backstage Authors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export interface Config {
17
- app?: {
18
- analytics: {
19
- matomo: {
20
- /**
21
- * Matomo host URL
22
- * @visibility frontend
23
- */
24
- host: string;
25
-
26
- /**
27
- * Matomo siteId for the Backstage Website
28
- * @visibility frontend
29
- */
30
- siteId: string;
31
-
32
- /**
33
- * Controls how the identityApi is used when sending data to Matomo:
34
- *
35
- * @visibility frontend
36
- */
37
- identity?: 'disabled' | 'optional' | 'required';
38
-
39
- /**
40
- * Sends the identity as plain userId instead of hashing it
41
- *
42
- * @visibility frontend
43
- */
44
- sendPlainUserId?: boolean;
45
-
46
- /**
47
- * Enables extended tracking capabilities (navigate events, buffering,…)
48
- *
49
- * @visibility frontend
50
- */
51
- enhancedTracking?: boolean;
52
-
53
- /**
54
- * Defers the initial page view until identity is available
55
- *
56
- * @visibility frontend
57
- */
58
- deferInitialPageView?: boolean;
59
- };
60
- };
61
- };
62
- }