@valbuild/server 0.148.6 → 0.148.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @valbuild/server
2
2
 
3
+ ## 0.148.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`213c6fc`](https://github.com/valbuild/val/commit/213c6fca9636f9b4bb54f15336a21d2ac4846a9b), [`1856a4a`](https://github.com/valbuild/val/commit/1856a4af7827794cbcd50d66a0800394bc386f87), [`1856a4a`](https://github.com/valbuild/val/commit/1856a4af7827794cbcd50d66a0800394bc386f87)]:
8
+ - @valbuild/ui@0.148.8
9
+
10
+ ## 0.148.7
11
+
12
+ ### Patch Changes
13
+
14
+ - [#904](https://github.com/valbuild/val/pull/904) [`1a5ad65`](https://github.com/valbuild/val/commit/1a5ad65205ff65b54e9c5f2a7b41e24cca9fd68c) Thanks [@freekh](https://github.com/freekh)! - A proposal that changes the project's dependencies is built against a layer of its own. When a proposal stages a new `package.json` and lockfile, the platform builds a dependency layer for them, and Build in that proposal now uses it instead of the site's. While the layer is being built, or when it could not be, Build says so instead of building against dependencies the proposal no longer has. Proposals that change no dependencies build exactly as before.
15
+ - Updated dependencies [[`fb2eed8`](https://github.com/valbuild/val/commit/fb2eed8b51092cc2ad5c812bdf88b528913c824a), [`1a5ad65`](https://github.com/valbuild/val/commit/1a5ad65205ff65b54e9c5f2a7b41e24cca9fd68c)]:
16
+ - @valbuild/core@0.148.7
17
+ - @valbuild/ui@0.148.7
18
+ - @valbuild/shared@0.148.7
19
+
3
20
  ## 0.148.6
4
21
 
5
22
  ### Patch Changes
@@ -287,8 +287,8 @@ export declare class ValOpsHttp extends ValOps {
287
287
  } | null;
288
288
  /**
289
289
  * Which proposal calls the browser may make, by method and the path after
290
- * `/proposals`: list and open, read and rename one, and close, reopen and
291
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
290
+ * `/proposals`: list and open, read and rename one, read what its build
291
+ * targets, and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
292
292
  * prepares the commit here -- and not `/patches`, which moves the site's
293
293
  * changes into a proposal and has no screen yet.
294
294
  */
@@ -5813,8 +5813,8 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5813
5813
 
5814
5814
  /**
5815
5815
  * Which proposal calls the browser may make, by method and the path after
5816
- * `/proposals`: list and open, read and rename one, and close, reopen and
5817
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
5816
+ * `/proposals`: list and open, read and rename one, read what its build
5817
+ * targets, and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
5818
5818
  * prepares the commit here -- and not `/patches`, which moves the site's
5819
5819
  * changes into a proposal and has no screen yet.
5820
5820
  */
@@ -5822,7 +5822,7 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5822
5822
  if (path === "") return method === "GET" || method === "POST";
5823
5823
  const one = /^\/[0-9a-f]{20}$/.test(path);
5824
5824
  if (one) return method === "GET" || method === "PATCH";
5825
- if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees)$/.test(path);
5825
+ if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
5826
5826
  return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|build|update-from-site|restore-code)$/.test(path);
5827
5827
  }
5828
5828
 
@@ -5813,8 +5813,8 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5813
5813
 
5814
5814
  /**
5815
5815
  * Which proposal calls the browser may make, by method and the path after
5816
- * `/proposals`: list and open, read and rename one, and close, reopen and
5817
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
5816
+ * `/proposals`: list and open, read and rename one, read what its build
5817
+ * targets, and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
5818
5818
  * prepares the commit here -- and not `/patches`, which moves the site's
5819
5819
  * changes into a proposal and has no screen yet.
5820
5820
  */
@@ -5822,7 +5822,7 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5822
5822
  if (path === "") return method === "GET" || method === "POST";
5823
5823
  const one = /^\/[0-9a-f]{20}$/.test(path);
5824
5824
  if (one) return method === "GET" || method === "PATCH";
5825
- if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees)$/.test(path);
5825
+ if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
5826
5826
  return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|build|update-from-site|restore-code)$/.test(path);
5827
5827
  }
5828
5828
 
@@ -5777,8 +5777,8 @@ class ValOpsHttp extends ValOps {
5777
5777
 
5778
5778
  /**
5779
5779
  * Which proposal calls the browser may make, by method and the path after
5780
- * `/proposals`: list and open, read and rename one, and close, reopen and
5781
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
5780
+ * `/proposals`: list and open, read and rename one, read what its build
5781
+ * targets, and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
5782
5782
  * prepares the commit here -- and not `/patches`, which moves the site's
5783
5783
  * changes into a proposal and has no screen yet.
5784
5784
  */
@@ -5786,7 +5786,7 @@ class ValOpsHttp extends ValOps {
5786
5786
  if (path === "") return method === "GET" || method === "POST";
5787
5787
  const one = /^\/[0-9a-f]{20}$/.test(path);
5788
5788
  if (one) return method === "GET" || method === "PATCH";
5789
- if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees)$/.test(path);
5789
+ if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
5790
5790
  return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|build|update-from-site|restore-code)$/.test(path);
5791
5791
  }
5792
5792
 
package/package.json CHANGED
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "exports": true
29
29
  },
30
- "version": "0.148.6",
30
+ "version": "0.148.8",
31
31
  "devDependencies": {
32
32
  "@prettier/sync": "^0.6.1",
33
33
  "@types/jest": "^30.0.0",
@@ -41,9 +41,9 @@
41
41
  "typescript": "^6.0.3",
42
42
  "zod": "^4.4.3",
43
43
  "zod-validation-error": "^5.0.0",
44
- "@valbuild/core": "0.148.2",
45
- "@valbuild/shared": "0.148.6",
46
- "@valbuild/ui": "0.148.6"
44
+ "@valbuild/ui": "0.148.8",
45
+ "@valbuild/core": "0.148.7",
46
+ "@valbuild/shared": "0.148.7"
47
47
  },
48
48
  "engines": {
49
49
  "node": "^20.19.0 || >=22"