@patternfly/documentation-framework 1.2.10 → 1.2.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 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.2.11 (2022-08-30)
7
+
8
+ **Note:** Version bump only for package @patternfly/documentation-framework
9
+
10
+
11
+
12
+
13
+
6
14
  ## 1.2.10 (2022-08-29)
7
15
 
8
16
  **Note:** Version bump only for package @patternfly/documentation-framework
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.2.10",
4
+ "version": "1.2.11",
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": "392a2e2e935038c6079aeccbbebe54abf9a540f4"
87
+ "gitHead": "21654fcf770cf347149cef72e5fff295074dadb2"
88
88
  }
@@ -46,9 +46,11 @@ async function buildWebpack(webpackConfig) {
46
46
  async function execFile(file, args) {
47
47
  const start = new Date();
48
48
  return new Promise((res, rej) => {
49
- const child = fork(path.join(__dirname, file), args, {
50
- execArgv: ['--max-old-space-size=4096']
51
- });
49
+ const child_argv = [JSON.stringify(args)];
50
+ const child_execArgv = [
51
+ '--max-old-space-size=4096'
52
+ ];
53
+ const child = fork(path.join(__dirname, file), child_argv, { execArgv: child_execArgv });
52
54
  function errorHandler(err) {
53
55
  console.error(err);
54
56
  process.exit(1);
@@ -84,14 +86,14 @@ async function build(cmd, options) {
84
86
  if (toBuild.includes('server')) {
85
87
  // Need to fork since first webpack build puts pressure on GC
86
88
  // Otherwise CircleCI will fail with 4GB RAM
87
- await execFile('buildServer.js', [JSON.stringify(config)]);
89
+ await execFile('buildServer.js', config);
88
90
  }
89
91
  if (toBuild.includes('client')) {
90
- await execFile('buildClient.js', [JSON.stringify(config)]);
92
+ await execFile('buildClient.js', config);
91
93
  }
92
94
  }
93
95
 
94
96
  module.exports = {
95
97
  build,
96
98
  buildWebpack
97
- };
99
+ };