@valbuild/cli 0.136.10 → 0.138.0

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,56 @@
1
1
  # @valbuild/cli
2
2
 
3
+ ## 0.138.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#754](https://github.com/valbuild/val/pull/754) [`6216172`](https://github.com/valbuild/val/commit/62161729aa40f737590b0a8093c0394385fffd8d) Thanks [@freekh](https://github.com/freekh)! - Connected projects hosted on the Val platform publish as a queued job too.
8
+
9
+ For a project with a GitHub repository whose site runs on the Val platform, pressing **Publish** is now a request, just as it is for a managed project. The Studio sends the job's changes; the content service pushes them as one commit on top of whatever is on the branch at that moment, so a developer's code push in between is kept. CI then builds it. A developer's change to the site's content files that this deployment has not seen stops the publish before anything is pushed, and says so.
10
+
11
+ - A build that CI reports as failed shows "Published, not on the site yet", with **View run**. The next publish builds again.
12
+ - New CLI command, `val ci-report --status failed|succeeded`, for a workflow's last step. It reads the commit, the branch and the run's address from GitHub Actions, uses the same `VAL_PROJECT_TOKEN` as `val publish`, and never fails the job.
13
+
14
+ Connected projects on a host of their own (for example Vercel) publish exactly as before.
15
+
16
+ - [#754](https://github.com/valbuild/val/pull/754) [`40fbf36`](https://github.com/valbuild/val/commit/40fbf36ff594cc063f217a4ffae87d27f8016fb5) Thanks [@freekh](https://github.com/freekh)! - `val publish` builds the site itself.
17
+
18
+ Run in a project with no `--artifacts`, it now asks Val what to build against, builds the site and its dependency layer from the checkout, and publishes the result. A CI workflow is one step:
19
+
20
+ ```yaml
21
+ - run: npx val publish
22
+ env:
23
+ VAL_PROJECT_TOKEN: ${{ secrets.VAL_PROJECT_TOKEN }}
24
+ ```
25
+
26
+ The build needs these installed in the project, as devDependencies:
27
+
28
+ ```bash
29
+ npm install --save-dev @valbuild/tanstack-build rolldown @tanstack/router-generator @tanstack/router-plugin
30
+ ```
31
+
32
+ A dependency layer Val already holds is named, not uploaded again. The checkout is left as it was found: the route tree is generated and put back, and the build is written to a temporary directory.
33
+
34
+ To publish a build made elsewhere, pass `--artifacts <dir>` as before. A project that already has a `.val/publish` directory still publishes that directory without building.
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [[`57af895`](https://github.com/valbuild/val/commit/57af8959cc46519a405b1ed7441623f8bf2e6d27), [`6216172`](https://github.com/valbuild/val/commit/62161729aa40f737590b0a8093c0394385fffd8d), [`40e933d`](https://github.com/valbuild/val/commit/40e933da7fe01cfe1c3f4a43c156f0b2f8a11f62), [`5876fe0`](https://github.com/valbuild/val/commit/5876fe075fdee1f76f1cdaa2488ac52c58c894a8)]:
39
+ - @valbuild/core@0.138.0
40
+ - @valbuild/server@0.138.0
41
+ - @valbuild/shared@0.138.0
42
+ - @valbuild/language-server@0.138.0
43
+
44
+ ## 0.137.0
45
+
46
+ ### Patch Changes
47
+
48
+ - Updated dependencies [[`48ac9f0`](https://github.com/valbuild/val/commit/48ac9f06dd59a5b4ca60232b1ef198cf42f23aa6), [`43b58f2`](https://github.com/valbuild/val/commit/43b58f2962840883badf91950da2c51b89d1c7cb), [`9b09bf3`](https://github.com/valbuild/val/commit/9b09bf38c9d5912f41fec1c18aa87455fd32f616), [`e2bfc0e`](https://github.com/valbuild/val/commit/e2bfc0e40383fe25d3ec0473d1032f6264a8939f), [`beda04b`](https://github.com/valbuild/val/commit/beda04bd326cbab18ed103e8d43917b16f43bd8c)]:
49
+ - @valbuild/server@0.137.0
50
+ - @valbuild/shared@0.137.0
51
+ - @valbuild/core@0.137.0
52
+ - @valbuild/language-server@0.137.0
53
+
3
54
  ## 0.136.10
4
55
 
5
56
  ### Patch Changes