hdoc-tools 0.9.35 → 0.9.37

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.
Files changed (2) hide show
  1. package/hdoc-build.js +2 -2
  2. package/package.json +1 -1
package/hdoc-build.js CHANGED
@@ -737,7 +737,7 @@
737
737
  for (let i = 0; i < md_files.length; i++) {
738
738
  mdPromiseArray.push(md_files[i]);
739
739
  }
740
- const chunkSize = 4;
740
+ const chunkSize = 8;
741
741
  for (let i = 0; i < mdPromiseArray.length; i += chunkSize) {
742
742
  const chunk = mdPromiseArray.slice(i, i + chunkSize);
743
743
  // do whatever
@@ -753,7 +753,7 @@
753
753
  for (let i = 0; i < static_html_files.length; i++) {
754
754
  htmlPromiseArray.push(static_html_files[i]);
755
755
  }
756
- for (let i = 0; i < mdPromiseArray.length; i += chunkSize) {
756
+ for (let i = 0; i < htmlPromiseArray.length; i += chunkSize) {
757
757
  const chunk = htmlPromiseArray.slice(i, i + chunkSize);
758
758
  await Promise.all(chunk.map(async (file) => {
759
759
  await transform_static_html(file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.9.35",
3
+ "version": "0.9.37",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {