Repository navigation
v3.0.0-alpha.3
Pre-release
Pre-release
·
43 commits
to main
since this release
Added (2026-06-02)
pnpm devnow 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 projectpackage.jsondevscript 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/consolein modern,redaxo/bin/consolein classic / classic+theme);cross-envalready ships as a devDependency inviterex_addon's stubpackage.json. "ydeploy installed" is read from disk (the addon'spackage.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 stubpackage.jsonverbatim, 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 helpersrc/utils/patch-dev-script.ts(unit-tested); ordering locked insrc/__tests__/pipeline-order.test.ts(task count 18 → 19).