@patternfly/documentation-framework 2.0.0-alpha.1 → 2.0.0-alpha.11
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 +98 -0
- package/helpers/getTitle.js +2 -2
- package/package.json +2 -2
- package/pages/404/index.js +3 -3
- package/scripts/cli/build.js +6 -0
- package/scripts/cli/cli.js +1 -0
- package/versions.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,104 @@
|
|
|
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
|
+
# 2.0.0-alpha.11 (2023-03-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 2.0.0-alpha.10 (2023-03-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# 2.0.0-alpha.9 (2023-03-09)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **versions:** fix typo ([a9b8fe2](https://github.com/patternfly/patternfly-org/commit/a9b8fe296a9c28bdd9ada01a80b1653810802ddf))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# 2.0.0-alpha.8 (2023-03-03)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **docs-framework:** add legacy ssl cli option ([#3433](https://github.com/patternfly/patternfly-org/issues/3433)) ([ccb56fb](https://github.com/patternfly/patternfly-org/commit/ccb56fb27026ebe4be5f5166a86cf3c2f995a872))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# 2.0.0-alpha.7 (2023-03-01)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
# 2.0.0-alpha.6 (2023-03-01)
|
|
53
|
+
|
|
54
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
# 2.0.0-alpha.5 (2023-03-01)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Bug Fixes
|
|
64
|
+
|
|
65
|
+
* **404 Page:** Removed CardHeaderMain ([#3429](https://github.com/patternfly/patternfly-org/issues/3429)) ([6169fed](https://github.com/patternfly/patternfly-org/commit/6169fedd3dc57b9c206197c498d6cebc559e2a93))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# 2.0.0-alpha.4 (2023-02-27)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* **README:** small wording change to test build ([45ede1b](https://github.com/patternfly/patternfly-org/commit/45ede1b356392df6982fd5cbf3b3a4d976f54e06))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# 2.0.0-alpha.3 (2023-02-13)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### Bug Fixes
|
|
86
|
+
|
|
87
|
+
* **whitespace:** test github actions ([de769f0](https://github.com/patternfly/patternfly-org/commit/de769f0d47e770af07caf9370ae72f76ab66c8a8))
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
# 2.0.0-alpha.2 (2023-02-13)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Bug Fixes
|
|
97
|
+
|
|
98
|
+
* **whitespace:** test github actions ([2e04c13](https://github.com/patternfly/patternfly-org/commit/2e04c137472fe5b4bd96c25cc32ab9c45238f70b))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
6
104
|
# 2.0.0-alpha.1 (2023-02-13)
|
|
7
105
|
|
|
8
106
|
|
package/helpers/getTitle.js
CHANGED
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": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.11",
|
|
5
5
|
"author": "Red Hat",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"react": "^17.0.0 || ^18.0.0",
|
|
89
89
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "359bdddab302a54c62da0e0f7498a9a43ddeca03"
|
|
92
92
|
}
|
package/pages/404/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
CardTitle,
|
|
7
7
|
CardBody,
|
|
8
8
|
CardFooter,
|
|
9
|
-
|
|
9
|
+
CardHeader,
|
|
10
10
|
EmptyState,
|
|
11
11
|
EmptyStateBody,
|
|
12
12
|
EmptyStateIcon,
|
|
@@ -36,9 +36,9 @@ const Card404 = ({
|
|
|
36
36
|
}) => (
|
|
37
37
|
<GridItem xl={3} md={6} xs={12}>
|
|
38
38
|
<Card style={{ height: '340px' }}>
|
|
39
|
-
<
|
|
39
|
+
<CardHeader className="ws-404-card-header">
|
|
40
40
|
<img src={img} alt={alt} width="64px" />
|
|
41
|
-
</
|
|
41
|
+
</CardHeader>
|
|
42
42
|
<CardTitle>
|
|
43
43
|
{title}
|
|
44
44
|
</CardTitle>
|
package/scripts/cli/build.js
CHANGED
|
@@ -50,6 +50,11 @@ async function execFile(file, args) {
|
|
|
50
50
|
const child_execArgv = [
|
|
51
51
|
'--max-old-space-size=4096'
|
|
52
52
|
];
|
|
53
|
+
|
|
54
|
+
if (args.legacySSL) {
|
|
55
|
+
child_execArgv.push('--openssl-legacy-provider')
|
|
56
|
+
}
|
|
57
|
+
|
|
53
58
|
const child = fork(path.join(__dirname, file), child_argv, { execArgv: child_execArgv });
|
|
54
59
|
function errorHandler(err) {
|
|
55
60
|
console.error(err);
|
|
@@ -78,6 +83,7 @@ async function build(cmd, options) {
|
|
|
78
83
|
const config = getConfig(options);
|
|
79
84
|
config.analyze = options.analyze;
|
|
80
85
|
config.output = options.output;
|
|
86
|
+
config.legacySSL = options.legacySSL
|
|
81
87
|
|
|
82
88
|
// These get passed to `fork`ed builds
|
|
83
89
|
process.env.pathPrefix = config.pathPrefix;
|
package/scripts/cli/cli.js
CHANGED
|
@@ -26,6 +26,7 @@ program
|
|
|
26
26
|
.command('build <server|client|all>')
|
|
27
27
|
.option('-a, --analyze', 'use webpack-bundle-analyzer', false)
|
|
28
28
|
.option('-o, --output <folder>', 'output folder', 'public')
|
|
29
|
+
.option('--legacySSL', 'use legacy version of openssl, needed to support Node 18 until we upgrade webpack to v5', false)
|
|
29
30
|
.description('generates source files and runs webpack')
|
|
30
31
|
.action((cmd, options) => {
|
|
31
32
|
const { build } = require('./build');
|
package/versions.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"@patternfly/react-charts": "7.0.0-alpha.3",
|
|
11
11
|
"@patternfly/react-code-editor": "5.0.0-alpha.7",
|
|
12
12
|
"@patternfly/react-core": "5.0.0-alpha.7",
|
|
13
|
+
"@patternfly/react-drag-drop": "5.0.0-alpha.0",
|
|
13
14
|
"@patternfly/react-icons": "5.0.0-alpha.2",
|
|
14
15
|
"@patternfly/react-inline-edit-extension": "4.86.118",
|
|
15
16
|
"@patternfly/react-log-viewer": "4.87.100",
|