@patternfly/documentation-framework 1.3.4 → 1.3.6
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 +19 -0
- package/app.js +0 -3
- package/package.json +2 -3
- package/scripts/webpack/webpack.base.config.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.3.6 (2023-01-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **lodash:** remove lodash alias ([#3327](https://github.com/patternfly/patternfly-org/issues/3327)) ([2fcfda1](https://github.com/patternfly/patternfly-org/commit/2fcfda1e4f4da5341048d47a29729aedc0fcda54))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 1.3.5 (2022-12-20)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## 1.3.4 (2022-12-20)
|
|
7
26
|
|
|
8
27
|
|
package/app.js
CHANGED
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import ReactDOM from 'react-dom';
|
|
3
3
|
import { Router, useLocation } from '@reach/router';
|
|
4
4
|
import 'client-styles'; // Webpack replaces this import: patternfly-docs.css.js
|
|
5
|
-
import { constant } from 'lodash';
|
|
6
5
|
import { SideNavLayout } from '@patternfly/documentation-framework/layouts';
|
|
7
6
|
import { Footer } from '@patternfly/documentation-framework/components';
|
|
8
7
|
import { MDXTemplate } from '@patternfly/documentation-framework/templates/mdx';
|
|
@@ -17,8 +16,6 @@ import './components/sideNav/sideNav.css';
|
|
|
17
16
|
import './components/topNav/topNav.css';
|
|
18
17
|
import './layouts/sideNavLayout/sideNavLayout.css';
|
|
19
18
|
|
|
20
|
-
global._ = { ...global?._, constant } // temporary fix for '_.constant is not a function' bug in a topology dependency
|
|
21
|
-
|
|
22
19
|
const AppRoute = ({ child, katacodaLayout, title, path }) => {
|
|
23
20
|
const pathname = useLocation().pathname;
|
|
24
21
|
if (typeof window !== 'undefined' && window.gtag) {
|
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.3.
|
|
4
|
+
"version": "1.3.6",
|
|
5
5
|
"author": "Red Hat",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"html-formatter": "0.1.9",
|
|
41
41
|
"html-webpack-plugin": "4.4.1",
|
|
42
42
|
"js-yaml": "3.14.0",
|
|
43
|
-
"lodash-es": "4.17.15",
|
|
44
43
|
"mdast-util-to-hast": "9.1.1",
|
|
45
44
|
"mdurl": "1.0.1",
|
|
46
45
|
"mini-css-extract-plugin": "1.3.9",
|
|
@@ -85,5 +84,5 @@
|
|
|
85
84
|
"react": "^16.8.0 || ^17.0.0",
|
|
86
85
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
87
86
|
},
|
|
88
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "64b6ec1e3cc3748b5cfaf8be7882b2d8dfde3c8c"
|
|
89
88
|
}
|
|
@@ -119,8 +119,7 @@ module.exports = (_env, argv) => {
|
|
|
119
119
|
'client-styles': path.resolve(process.cwd(), 'patternfly-docs/patternfly-docs.css.js'),
|
|
120
120
|
'./routes-client': path.resolve(process.cwd(), 'patternfly-docs/patternfly-docs.routes.js'),
|
|
121
121
|
'./routes-generated': path.resolve(process.cwd(), 'patternfly-docs/generated/index.js'),
|
|
122
|
-
'@patternfly/react-core/next': '@patternfly/react-core/dist/esm/next/index.js'
|
|
123
|
-
'lodash': 'lodash-es' // Sanely bundle react-charts.
|
|
122
|
+
'@patternfly/react-core/next': '@patternfly/react-core/dist/esm/next/index.js' // Can remove when webpack is updated to v5
|
|
124
123
|
},
|
|
125
124
|
modules: [
|
|
126
125
|
'node_modules',
|