@backstage-community/plugin-analytics-module-ga4 0.22.0 → 0.23.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 +12 -0
- package/dist/module.esm.js +1 -1
- package/dist/module.esm.js.map +1 -1
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage-community/plugin-analytics-module-ga4
|
|
2
2
|
|
|
3
|
+
## 0.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c15dbc0: Backstage version bump to v1.56.3
|
|
8
|
+
|
|
9
|
+
## 0.22.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7c6b73e: Export the analytics implementation extension from each module, so it can be referenced directly rather than only through the module that carries it. Added tests covering the APIs each implementation asks the app to inject and the analytics client it builds.
|
|
14
|
+
|
|
3
15
|
## 0.22.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/module.esm.js
CHANGED
package/dist/module.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.esm.js","sources":["../src/module.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {\n configApiRef,\n identityApiRef,\n createFrontendModule,\n} from '@backstage/frontend-plugin-api';\nimport { AnalyticsImplementationBlueprint } from '@backstage/plugin-app-react';\n\nimport { GoogleAnalytics4 } from './apis/implementations/AnalyticsApi';\n\
|
|
1
|
+
{"version":3,"file":"module.esm.js","sources":["../src/module.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {\n configApiRef,\n identityApiRef,\n createFrontendModule,\n} from '@backstage/frontend-plugin-api';\nimport { AnalyticsImplementationBlueprint } from '@backstage/plugin-app-react';\n\nimport { GoogleAnalytics4 } from './apis/implementations/AnalyticsApi';\n\nexport const ga4Implementation = AnalyticsImplementationBlueprint.make({\n name: 'ga4',\n params: defineParams =>\n defineParams({\n deps: { configApi: configApiRef, identityApi: identityApiRef },\n factory: ({ configApi, identityApi }) =>\n GoogleAnalytics4.fromConfig(configApi, { identityApi }),\n }),\n});\n\n/**\n * @public\n */\nexport const ga4Module = createFrontendModule({\n pluginId: 'app',\n extensions: [ga4Implementation],\n});\n"],"names":[],"mappings":";;;;AAwBO,MAAM,iBAAA,GAAoB,iCAAiC,IAAA,CAAK;AAAA,EACrE,IAAA,EAAM,KAAA;AAAA,EACN,MAAA,EAAQ,kBACN,YAAA,CAAa;AAAA,IACX,IAAA,EAAM,EAAE,SAAA,EAAW,YAAA,EAAc,aAAa,cAAA,EAAe;AAAA,IAC7D,OAAA,EAAS,CAAC,EAAE,SAAA,EAAW,WAAA,EAAY,KACjC,gBAAA,CAAiB,UAAA,CAAW,SAAA,EAAW,EAAE,WAAA,EAAa;AAAA,GACzD;AACL,CAAC;AAKM,MAAM,YAAY,oBAAA,CAAqB;AAAA,EAC5C,QAAA,EAAU,KAAA;AAAA,EACV,UAAA,EAAY,CAAC,iBAAiB;AAChC,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-analytics-module-ga4",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin-module",
|
|
6
6
|
"pluginId": "app",
|
|
@@ -60,16 +60,17 @@
|
|
|
60
60
|
"test": "backstage-cli package test"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@backstage/config": "^1.3.
|
|
64
|
-
"@backstage/core-components": "^0.18.
|
|
65
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
66
|
-
"@backstage/frontend-plugin-api": "^0.18.
|
|
67
|
-
"@backstage/plugin-app-react": "^0.2.
|
|
63
|
+
"@backstage/config": "^1.3.10",
|
|
64
|
+
"@backstage/core-components": "^0.18.15",
|
|
65
|
+
"@backstage/core-plugin-api": "^1.12.11",
|
|
66
|
+
"@backstage/frontend-plugin-api": "^0.18.2",
|
|
67
|
+
"@backstage/plugin-app-react": "^0.2.8",
|
|
68
68
|
"react-ga4": "^2.0.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@backstage/cli": "^0.36.
|
|
72
|
-
"@backstage/dev-utils": "^1.1.
|
|
71
|
+
"@backstage/cli": "^0.36.7",
|
|
72
|
+
"@backstage/dev-utils": "^1.1.28",
|
|
73
|
+
"@backstage/frontend-test-utils": "^0.6.5",
|
|
73
74
|
"@testing-library/dom": "^10.0.0",
|
|
74
75
|
"@testing-library/jest-dom": "^6.0.0",
|
|
75
76
|
"@testing-library/react": "^16.0.0",
|