hdoc-tools 0.55.0 → 0.55.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/hdoc-build.js CHANGED
@@ -1176,6 +1176,7 @@
1176
1176
  );
1177
1177
 
1178
1178
  // Get github repo details
1179
+ console.log(`Fetching GitHub repository details from ${api_path}...`);
1179
1180
  github_repo_details = await hdoc.get_github_repo_details( api_path, git_token );
1180
1181
  if (!github_repo_details.success) {
1181
1182
  if (git_token === "") {
package/hdoc-module.js CHANGED
@@ -96,7 +96,11 @@
96
96
  retryCount++;
97
97
  if (retryCount > maxRetries) return response;
98
98
  retried = true;
99
- await sleep(Math.min(wait_ms, GITHUB_MAX_BACKOFF_MS));
99
+ const backoff_ms = Math.min(wait_ms, GITHUB_MAX_BACKOFF_MS);
100
+ console.log(
101
+ `GitHub rate limit hit (HTTP ${response.status}) — waiting ${Math.round(backoff_ms / 1000)}s before retry ${retryCount}/${maxRetries}. Provide --git-token <PAT> to raise the limit.`,
102
+ );
103
+ await sleep(backoff_ms);
100
104
  continue;
101
105
  }
102
106
  retryCount++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.55.0",
3
+ "version": "0.55.1",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
@@ -35,17 +35,18 @@
35
35
  "description": "The ID of the product family this book belongs to.",
36
36
  "enum": [
37
37
  "esp",
38
- "com.hornbill.docmanager",
39
38
  "com.hornbill.boardmanager",
40
39
  "com.hornbill.customermanager",
40
+ "com.hornbill.collaboration",
41
+ "com.hornbill.docmanager",
41
42
  "com.hornbill.grc",
42
43
  "com.hornbill.itom",
43
44
  "com.hornbill.livechat",
45
+ "com.hornbill.pricingcalculator",
44
46
  "com.hornbill.projectmanager",
45
47
  "com.hornbill.servicemanager",
46
48
  "com.hornbill.suppliermanager",
47
49
  "com.hornbill.timesheetmanager",
48
- "com.hornbill.collaboration",
49
50
  "appdev",
50
51
  "hdocs"
51
52
  ]