@patternfly/documentation-framework 1.10.0 → 1.10.1

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.10.1 (2023-03-02)
7
+
8
+ **Note:** Version bump only for package @patternfly/documentation-framework
9
+
10
+
11
+
12
+
13
+
6
14
  # 1.10.0 (2023-03-01)
7
15
 
8
16
 
package/app.js CHANGED
@@ -19,7 +19,7 @@ import './layouts/sideNavLayout/sideNavLayout.css';
19
19
  const AppRoute = ({ child, katacodaLayout, title, path }) => {
20
20
  const pathname = useLocation().pathname;
21
21
  if (typeof window !== 'undefined' && window.gtag) {
22
- gtag('config', 'UA-47523816-6', {
22
+ gtag('config', process.env.googleAnalyticsID, {
23
23
  'page_path': pathname,
24
24
  'page_title': (title || pathname)
25
25
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/documentation-framework",
3
3
  "description": "A framework to build documentation for PatternFly.",
4
- "version": "1.10.0",
4
+ "version": "1.10.1",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -84,5 +84,5 @@
84
84
  "react": "^16.8.0 || ^17.0.0",
85
85
  "react-dom": "^16.8.0 || ^17.0.0"
86
86
  },
87
- "gitHead": "2f2178043287bada286ee2c521f973970ad969a1"
87
+ "gitHead": "ee806688406004d5e6d947176c96ab159eb08f1b"
88
88
  }
@@ -8,6 +8,7 @@ module.exports = (_env, argv) => {
8
8
  const {
9
9
  pathPrefix = '',
10
10
  mode,
11
+ googleAnalyticsID = false,
11
12
  algolia = {},
12
13
  hasGdprBanner = false,
13
14
  hasFooter = false,
@@ -136,6 +137,7 @@ module.exports = (_env, argv) => {
136
137
  new webpack.DefinePlugin({
137
138
  'process.env.NODE_ENV': JSON.stringify(mode),
138
139
  'process.env.pathPrefix': JSON.stringify(isProd ? pathPrefix : ''),
140
+ 'process.env.googleAnalyticsID': JSON.stringify(isProd ? googleAnalyticsID : ''),
139
141
  'process.env.algolia': JSON.stringify(algolia),
140
142
  'process.env.hasGdprBanner': JSON.stringify(hasGdprBanner),
141
143
  'process.env.hasFooter': JSON.stringify(hasFooter),