@valbuild/server 0.101.0 → 0.101.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.
@@ -7466,7 +7466,11 @@ const ValServer = (valModules, options, callbacks) => {
7466
7466
  sourceFilePatchErrors: Object.fromEntries(Object.entries(preparedCommit.sourceFilePatchErrors).map(([key, errors]) => [key, errors.map(e => ({
7467
7467
  message: formatPatchSourceError(e)
7468
7468
  }))])),
7469
- binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors
7469
+ binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors,
7470
+ // Attributed to the patch that caused it, so the studio can
7471
+ // name the offending change and offer to remove it instead of
7472
+ // leaving the editor with "Failed to publish changes".
7473
+ unappliablePatches: preparedCommit.unappliablePatches
7470
7474
  }
7471
7475
  }
7472
7476
  };
@@ -7466,7 +7466,11 @@ const ValServer = (valModules, options, callbacks) => {
7466
7466
  sourceFilePatchErrors: Object.fromEntries(Object.entries(preparedCommit.sourceFilePatchErrors).map(([key, errors]) => [key, errors.map(e => ({
7467
7467
  message: formatPatchSourceError(e)
7468
7468
  }))])),
7469
- binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors
7469
+ binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors,
7470
+ // Attributed to the patch that caused it, so the studio can
7471
+ // name the offending change and offer to remove it instead of
7472
+ // leaving the editor with "Failed to publish changes".
7473
+ unappliablePatches: preparedCommit.unappliablePatches
7470
7474
  }
7471
7475
  }
7472
7476
  };
@@ -7432,7 +7432,11 @@ const ValServer = (valModules, options, callbacks) => {
7432
7432
  sourceFilePatchErrors: Object.fromEntries(Object.entries(preparedCommit.sourceFilePatchErrors).map(([key, errors]) => [key, errors.map(e => ({
7433
7433
  message: formatPatchSourceError(e)
7434
7434
  }))])),
7435
- binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors
7435
+ binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors,
7436
+ // Attributed to the patch that caused it, so the studio can
7437
+ // name the offending change and offer to remove it instead of
7438
+ // leaving the editor with "Failed to publish changes".
7439
+ unappliablePatches: preparedCommit.unappliablePatches
7436
7440
  }
7437
7441
  }
7438
7442
  };
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "types": "dist/valbuild-server.cjs.d.ts",
19
- "version": "0.101.0",
19
+ "version": "0.101.1",
20
20
  "devDependencies": {
21
21
  "@prettier/sync": "^0.6.1",
22
22
  "@types/jest": "^30.0.0"
@@ -30,8 +30,8 @@
30
30
  "zod": "^4.3.5",
31
31
  "zod-validation-error": "^5.0.0",
32
32
  "@valbuild/core": "0.101.0",
33
- "@valbuild/shared": "0.101.0",
34
- "@valbuild/ui": "0.101.0"
33
+ "@valbuild/shared": "0.101.1",
34
+ "@valbuild/ui": "0.101.1"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=18.17.0"