@momentumcms/plugins-analytics 0.1.9 → 0.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.
- package/CHANGELOG.md +15 -0
- package/index.cjs +11 -0
- package/index.js +11 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 0.2.0 (2026-02-17)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for plugins-analytics to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.1.10 (2026-02-17)
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **create-momentum-app:** add shell option to execFileSync for Windows ([#28](https://github.com/DonaldMurillo/momentum-cms/pull/28))
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- Claude Opus 4.6
|
|
14
|
+
- Donald Murillo @DonaldMurillo
|
|
15
|
+
|
|
1
16
|
## 0.1.9 (2026-02-16)
|
|
2
17
|
|
|
3
18
|
This was a version bump only for plugins-analytics to align it with other projects, there were no code changes.
|
package/index.cjs
CHANGED
|
@@ -2081,6 +2081,17 @@ function analyticsPlugin(config) {
|
|
|
2081
2081
|
eventStore,
|
|
2082
2082
|
analyticsConfig: config,
|
|
2083
2083
|
adminRoutes,
|
|
2084
|
+
// Browser-safe import paths for the admin config generator
|
|
2085
|
+
browserImports: {
|
|
2086
|
+
adminRoutes: {
|
|
2087
|
+
path: "@momentumcms/plugins/analytics/admin-routes",
|
|
2088
|
+
exportName: "analyticsAdminRoutes"
|
|
2089
|
+
},
|
|
2090
|
+
modifyCollections: {
|
|
2091
|
+
path: "@momentumcms/plugins/analytics/block-fields",
|
|
2092
|
+
exportName: "injectBlockAnalyticsFields"
|
|
2093
|
+
}
|
|
2094
|
+
},
|
|
2084
2095
|
modifyCollections(collections) {
|
|
2085
2096
|
if (config.enabled !== false && config.blockTracking !== false) {
|
|
2086
2097
|
injectBlockAnalyticsFields(collections);
|
package/index.js
CHANGED
|
@@ -2049,6 +2049,17 @@ function analyticsPlugin(config) {
|
|
|
2049
2049
|
eventStore,
|
|
2050
2050
|
analyticsConfig: config,
|
|
2051
2051
|
adminRoutes,
|
|
2052
|
+
// Browser-safe import paths for the admin config generator
|
|
2053
|
+
browserImports: {
|
|
2054
|
+
adminRoutes: {
|
|
2055
|
+
path: "@momentumcms/plugins/analytics/admin-routes",
|
|
2056
|
+
exportName: "analyticsAdminRoutes"
|
|
2057
|
+
},
|
|
2058
|
+
modifyCollections: {
|
|
2059
|
+
path: "@momentumcms/plugins/analytics/block-fields",
|
|
2060
|
+
exportName: "injectBlockAnalyticsFields"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2052
2063
|
modifyCollections(collections) {
|
|
2053
2064
|
if (config.enabled !== false && config.blockTracking !== false) {
|
|
2054
2065
|
injectBlockAnalyticsFields(collections);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momentumcms/plugins-analytics",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Analytics and content tracking plugin for Momentum CMS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Momentum CMS Contributors",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@angular/router": "~21.1.0",
|
|
35
35
|
"@aws-sdk/client-s3": "^3.983.0",
|
|
36
36
|
"@aws-sdk/s3-request-presigner": "^3.983.0",
|
|
37
|
-
"@momentumcms/core": "0.
|
|
38
|
-
"@momentumcms/logger": "0.
|
|
39
|
-
"@momentumcms/plugins-core": "0.
|
|
40
|
-
"@momentumcms/server-core": "0.
|
|
37
|
+
"@momentumcms/core": "0.2.0",
|
|
38
|
+
"@momentumcms/logger": "0.2.0",
|
|
39
|
+
"@momentumcms/plugins-core": "0.2.0",
|
|
40
|
+
"@momentumcms/server-core": "0.2.0",
|
|
41
41
|
"@ng-icons/core": "^33.0.0",
|
|
42
42
|
"@ng-icons/heroicons": "^33.0.0",
|
|
43
43
|
"express": "^4.21.0",
|