Skip to main content
Existing CLI projects stay on the compatibility date pinned in webstorio.config.ts until you upgrade. That keeps builds stable while the platform adds newer library versions and authoring tooling (for example ESLint). Use this guide when you want the latest supported libraries, lint setup, or CLI behavior on a project that was scaffolded earlier.

Step 1 — Upgrade the CLI package

When a newer CLI is on npm, commands print a notice with your current version, the latest version, and a link back to this guide. You can also upgrade manually in your project directory:
Check the installed version:
See the CLI changelog for what changed.

Step 2 — Run webstorio update

update will:
  1. Bump compatibilityDate in webstorio.config.ts to the latest platform set (for example 2026-11-27).
  2. Realign first-class devDependencies to the versions the server compiles against for that date (based on what your pages and components import, plus TypeScript and Tailwind when present).
  3. Scaffold missing lint tooling when the new date includes it:
    • ESLint + Prettier packages
    • eslint.config.mjs (only if the file is missing)
    • lint / lint:fix scripts that run ESLint then Prettier (only if those scripts are missing or Prettier-only)
  4. Install with your detected package manager (npm, pnpm, yarn, or bun).
Use --skip-install if you only want the file edits:
Custom lint scripts that already invoke eslint are left alone. Existing eslint.config.mjs files are never overwritten.

Step 3 — Fix lint and typecheck

webstorio push always runs your project’s lint and typecheck scripts first. After an upgrade that adds ESLint, run them locally and fix any new findings:
Then preview and push as usual:

What stays the same

  • Pages, components, brand, and schemas are not rewritten by update.
  • Non-first-class packages you installed yourself stay in package.json; they are still bundled on push when imported.
  • Older compatibility dates remain valid if you never run update — the server keeps compiling against the set effective on or before your pinned date.