@valbuild/server 0.149.5 → 0.149.7

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,24 @@
1
1
  # @valbuild/server
2
2
 
3
+ ## 0.149.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`8be6e6a`](https://github.com/valbuild/val/commit/8be6e6abd2536b5758f0d5f8dfb1e468f29a7015), [`cc2a37a`](https://github.com/valbuild/val/commit/cc2a37a74c52cab6fa062e8252fb292b84a479c3), [`7e78b1f`](https://github.com/valbuild/val/commit/7e78b1f863c47d4f38d9f1c9855a92e711170865), [`8366c57`](https://github.com/valbuild/val/commit/8366c575df66ee19c3400b7fdbc14a8fd517afd6)]:
8
+ - @valbuild/shared@0.149.7
9
+ - @valbuild/ui@0.149.7
10
+
11
+ ## 0.149.6
12
+
13
+ ### Patch Changes
14
+
15
+ - [#928](https://github.com/valbuild/val/pull/928) [`8e79b44`](https://github.com/valbuild/val/commit/8e79b44b4610d188a206ed0b6de448c602a99965) Thanks [@freekh](https://github.com/freekh)! - **Create proposal** prepares an upgrade before its page opens. It creates the upgrade's proposal, works out the upgrade, and builds its dependencies, while the button says **Preparing…** with a line beneath saying where it is: for example "Building the dependencies · Installing the packages (1 of 2) · 212 of 412 packages", or how many upgrades are ahead of it while it waits for a builder. When the dependencies are built, the same tab goes to the upgrade's page, which starts at the build.
16
+
17
+ An upgrade that cannot be prepared says why, and its proposal is closed again. So is one that turns out to move nothing. Nothing on the site changes either way.
18
+
19
+ - Updated dependencies [[`8e79b44`](https://github.com/valbuild/val/commit/8e79b44b4610d188a206ed0b6de448c602a99965)]:
20
+ - @valbuild/ui@0.149.6
21
+
3
22
  ## 0.149.5
4
23
 
5
24
  ### Patch Changes
@@ -289,8 +289,8 @@ export declare class ValOpsHttp extends ValOps {
289
289
  /**
290
290
  * Which proposal calls the browser may make, by method and the path after
291
291
  * `/proposals`: list and open, read and rename one, read what its build
292
- * targets, render its build as a canary (`verify`), and close, reopen and
293
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
292
+ * targets and how far an upgrade's preparation is, render its build as a
293
+ * canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
294
294
  * prepares the commit here -- and not `/patches`, which moves the site's
295
295
  * changes into a proposal and has no screen yet.
296
296
  */
@@ -5819,8 +5819,8 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5819
5819
  /**
5820
5820
  * Which proposal calls the browser may make, by method and the path after
5821
5821
  * `/proposals`: list and open, read and rename one, read what its build
5822
- * targets, render its build as a canary (`verify`), and close, reopen and
5823
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
5822
+ * targets and how far an upgrade's preparation is, render its build as a
5823
+ * canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
5824
5824
  * prepares the commit here -- and not `/patches`, which moves the site's
5825
5825
  * changes into a proposal and has no screen yet.
5826
5826
  */
@@ -5828,7 +5828,7 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5828
5828
  if (path === "") return method === "GET" || method === "POST";
5829
5829
  const one = /^\/[0-9a-f]{20}$/.test(path);
5830
5830
  if (one) return method === "GET" || method === "PATCH";
5831
- if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
5831
+ if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target|preparation)$/.test(path);
5832
5832
  return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|lockfile|typecheck|build|verify|update-from-site|restore-code)$/.test(path);
5833
5833
  }
5834
5834
 
@@ -5819,8 +5819,8 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5819
5819
  /**
5820
5820
  * Which proposal calls the browser may make, by method and the path after
5821
5821
  * `/proposals`: list and open, read and rename one, read what its build
5822
- * targets, render its build as a canary (`verify`), and close, reopen and
5823
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
5822
+ * targets and how far an upgrade's preparation is, render its build as a
5823
+ * canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
5824
5824
  * prepares the commit here -- and not `/patches`, which moves the site's
5825
5825
  * changes into a proposal and has no screen yet.
5826
5826
  */
@@ -5828,7 +5828,7 @@ class ValOpsHttp extends ValRouterCore.ValOps {
5828
5828
  if (path === "") return method === "GET" || method === "POST";
5829
5829
  const one = /^\/[0-9a-f]{20}$/.test(path);
5830
5830
  if (one) return method === "GET" || method === "PATCH";
5831
- if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
5831
+ if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target|preparation)$/.test(path);
5832
5832
  return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|lockfile|typecheck|build|verify|update-from-site|restore-code)$/.test(path);
5833
5833
  }
5834
5834
 
@@ -5783,8 +5783,8 @@ class ValOpsHttp extends ValOps {
5783
5783
  /**
5784
5784
  * Which proposal calls the browser may make, by method and the path after
5785
5785
  * `/proposals`: list and open, read and rename one, read what its build
5786
- * targets, render its build as a canary (`verify`), and close, reopen and
5787
- * retry its setup. Not `/save` -- the Studio saves through `/save`, which
5786
+ * targets and how far an upgrade's preparation is, render its build as a
5787
+ * canary (`verify`), and close, reopen and retry its setup. Not `/save` -- the Studio saves through `/save`, which
5788
5788
  * prepares the commit here -- and not `/patches`, which moves the site's
5789
5789
  * changes into a proposal and has no screen yet.
5790
5790
  */
@@ -5792,7 +5792,7 @@ class ValOpsHttp extends ValOps {
5792
5792
  if (path === "") return method === "GET" || method === "POST";
5793
5793
  const one = /^\/[0-9a-f]{20}$/.test(path);
5794
5794
  if (one) return method === "GET" || method === "PATCH";
5795
- if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target)$/.test(path);
5795
+ if (method === "GET") return /^\/[0-9a-f]{20}\/(merge-checks|files|merge-trees|build-target|preparation)$/.test(path);
5796
5796
  return method === "POST" && /^\/[0-9a-f]{20}\/(close|reopen|setup\/retry|merge|files|lockfile|typecheck|build|verify|update-from-site|restore-code)$/.test(path);
5797
5797
  }
5798
5798
 
package/package.json CHANGED
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "exports": true
29
29
  },
30
- "version": "0.149.5",
30
+ "version": "0.149.7",
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/shared": "0.149.7",
44
45
  "@valbuild/core": "0.148.7",
45
- "@valbuild/shared": "0.148.7",
46
- "@valbuild/ui": "0.149.5"
46
+ "@valbuild/ui": "0.149.7"
47
47
  },
48
48
  "engines": {
49
49
  "node": "^20.19.0 || >=22"