nitropack-nightly 2.11.0-20250228-233255.f2f95bc7 → 2.11.0-20250301-081015.fcba06e1

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.
@@ -7,7 +7,7 @@ import { createUnimport, toExports } from 'unimport';
7
7
  import { watchConfig, loadConfig } from 'c12';
8
8
  import { resolveCompatibilityDatesFromEnv, formatDate, resolveCompatibilityDates, formatCompatibilityDate } from 'compatx';
9
9
  import { klona } from 'klona/full';
10
- import { isDebug, isTest, nodeMajorVersion, provider } from 'std-env';
10
+ import { isDebug, isTest, nodeMajorVersion, provider, isCI } from 'std-env';
11
11
  import { existsSync, promises } from 'node:fs';
12
12
  import defu$1, { defu } from 'defu';
13
13
  import { withLeadingSlash, withoutTrailingSlash, withTrailingSlash, withBase, parseURL, joinURL, withoutBase } from 'ufo';
@@ -2628,7 +2628,8 @@ class DevServer {
2628
2628
  }
2629
2629
  async getWorker() {
2630
2630
  let retry = 0;
2631
- while (this.building || ++retry < 10) {
2631
+ const maxRetries = isTest || isCI ? 100 : 10;
2632
+ while (this.building || ++retry < maxRetries) {
2632
2633
  if ((this.workers.length === 0 || this.buildError) && !this.building) {
2633
2634
  return;
2634
2635
  }
@@ -2636,7 +2637,7 @@ class DevServer {
2636
2637
  if (activeWorker) {
2637
2638
  return activeWorker;
2638
2639
  }
2639
- await new Promise((resolve2) => setTimeout(resolve2, 500));
2640
+ await new Promise((resolve2) => setTimeout(resolve2, 600));
2640
2641
  }
2641
2642
  }
2642
2643
  writeBuildInfo(_worker, addr) {
@@ -1,3 +1,3 @@
1
- const version = "2.11.0-20250228-233255.f2f95bc7";
1
+ const version = "2.11.0-20250301-081015.fcba06e1";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "2.11.0-20250228-233255.f2f95bc7";
1
+ const version = "2.11.0-20250301-081015.fcba06e1";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "2.11.0-20250228-233255.f2f95bc7";
1
+ const version = "2.11.0-20250301-081015.fcba06e1";
2
2
 
3
3
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitropack-nightly",
3
- "version": "2.11.0-20250228-233255.f2f95bc7",
3
+ "version": "2.11.0-20250301-081015.fcba06e1",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "repository": "nitrojs/nitro",
6
6
  "license": "MIT",