@valbuild/cli 0.102.0 → 0.103.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.
@@ -29,7 +29,7 @@ type Range = { start: Position; end: Position };
29
29
 
30
30
  /**
31
31
  * Resolves a validation `sourcePath` (e.g.
32
- * `/content/page.val.ts?p="image"."metadata"`) to a clickable
32
+ * `/content/page.val.ts?p="image"."width"`) to a clickable
33
33
  * `relativePath:line:col` location pointing at the offending source literal in
34
34
  * the val file.
35
35
  *
@@ -1,20 +0,0 @@
1
- {
2
- "patch": [
3
- {
4
- "op": "replace",
5
- "path": ["BBL", "title"],
6
- "value": "BBL Housing"
7
- }
8
- ],
9
- "patchId": "11111111-1111-4111-8111-111111111111",
10
- "parentRef": {
11
- "type": "head",
12
- "headBaseSha": "0000000000000000000000000000000000000000000000000000000000000000"
13
- },
14
- "path": "/content/projects.val.ts",
15
- "authorId": "author-a",
16
- "sessionId": null,
17
- "baseSha": "0000000000000000000000000000000000000000000000000000000000000000",
18
- "coreVersion": null,
19
- "createdAt": "2026-08-10T12:00:00.000Z"
20
- }
@@ -1,4 +0,0 @@
1
- export function getFileExt(filePath: string) {
2
- // NOTE: We do not import the path module. This code is copied in different projects. We want the same implementation and which means that this might running in browser where path is not available).
3
- return filePath.split(".").pop() || "";
4
- }