Skip to content

Commit b205c54

Browse files
ynamiteclaude
andcommitted
chore(installer): release 3.0.0-alpha.3
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0b1e0b0 commit b205c54

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ lives under `[Unreleased]`.
88

99
## [Unreleased]
1010

11+
## [3.0.0-alpha.3] - 2026-06-02
12+
1113
### Added (2026-06-02)
1214

1315
- **`pnpm dev` now diffs ydeploy migrations around the Vite dev server when ydeploy is installed.** A new pipeline task (`src/tasks/patch-dev-script.ts`, "Patch dev script for ydeploy") rewrites the project `package.json` `dev` script from `"vite"` to `"<console> ydeploy:diff && cross-env NODE_ENV=development vite && <console> ydeploy:diff"`, so schema changes made during development surface as migrations both before Vite starts and after it exits. `<console>` is layout-aware (`bin/console` in modern, `redaxo/bin/console` in classic / classic+theme); `cross-env` already ships as a devDependency in `viterex_addon`'s stub `package.json`. "ydeploy installed" is read from disk (the addon's `package.yml`), covering both a fresh install (ydeploy is part of the always-included baseline) and an augmented existing install. The task runs **after** *Apply preset files* (the default preset overwrites the stub `package.json` verbatim, so the patch must land on the final file) and **before** the initial commit. Idempotent and surgical: only the exact stub/preset `"dev": "vite"` value is rewritten, so a re-run or a customised dev script is left untouched. New pure helper `src/utils/patch-dev-script.ts` (unit-tested); ordering locked in `src/__tests__/pipeline-order.test.ts` (task count 18 → 19).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-viterex",
3-
"version": "3.0.0-alpha.2",
3+
"version": "3.0.0-alpha.3",
44
"description": "CLI to scaffold a ViteRex (Redaxo + Vite) project",
55
"type": "module",
66
"author": "ynamite <ynamite@gmail.com>",

0 commit comments

Comments
 (0)