Repository navigation
v5.40.1
Released 2026-10-29.
All 33 packages (@warlock.js/* and create-warlock) move to 5.40.1 together;
keep every family package on the same version. No breaking changes. This patch makes
create-warlock --stack=web work again and cleans up the design-system files it writes.
1. Breaking changes
- None.
2. New web projects install their features again (create-warlock, core)
- Since 5.35,
create-warlock --stack=web(or any scaffold withweb,tailwind,shadcn,
design-systemorsitemap) failed in the feature step:warlock addloads
warlock.config.tsfirst, the web starter's config imports@warlock.js/web, and that
package was only installed by the feature step itself. Every feature, even the database, was
reported as failed and the project was left without them. - A web scaffold now lists
@warlock.js/webinpackage.jsonfrom the start, and
warlock addcontinues with a warning when the project config cannot load yet, so
npx warlock add webalso works on a project in that state. - CI now scaffolds and typechecks a web project as well as the API-only one.
3. Design-system files pass the app's lint (create-warlock, core)
- The controls and hooks that
warlock add design-systemwrites intosrc/web/design-system/
failed the scaffolded Oxlint config, sowarlock devreported 13 lint errors in a fresh web
app. They now pass, and a spec keeps it that way.
4. Upgrade notes
- Update the family. Run
npx warlock update. - A web app scaffolded on 5.35–5.40.0 without its features: run
npx warlock add web(then any other features you chose, such astailwind,
design-systemor your database) after updating. - Lint errors in
src/web/design-system/: rerunnpx warlock add design-systemto get the
fixed files, or keep yours if you edited them.