Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.
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:
Bump compatibilityDate in webstorio.config.ts to the latest platform
set (for example 2026-11-27).
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).
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)
Install with your detected package manager (npm, pnpm, yarn, or
bun).
Use --skip-install if you only want the file edits:
npx webstorio update --skip-installnpm install
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:
npm run lintnpm run typecheck# or auto-fix where possible:npm run lint:fix
Then preview and push as usual:
npx webstorio devnpx webstorio push
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.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Webstorio","description":"Documentation for Webstorio — the AI-powered web builder and hosting platform.","colors":{"primary":"#0284C7","light":"#38BDF8","dark":"#059669"},"logo":{"light":"https://mintcdn.com/webstorio/A8Y1yqNjHcD0y95T/logo/light.png?fit=max\u0026auto=format\u0026n=A8Y1yqNjHcD0y95T\u0026q=85\u0026s=b0e6f3a9e94e7bf0d2dd74dbd91d0e49","dark":"https://mintcdn.com/webstorio/A8Y1yqNjHcD0y95T/logo/dark.png?fit=max\u0026auto=format\u0026n=A8Y1yqNjHcD0y95T\u0026q=85\u0026s=183a3d9219d422a03bbc6b042cc3f167","href":"https://webstorio.com"},"favicon":"https://mintcdn.com/webstorio/QNkCuZ8qIGxQrgMr/favicon.ico?fit=max\u0026auto=format\u0026n=QNkCuZ8qIGxQrgMr\u0026q=85\u0026s=0ce43928483b66a8632d94e2329d0979","appearance":{"default":"dark"},"background":{"decoration":"gradient","color":{"light":"#F8FAFC","dark":"#0C0F14"}},"navbar":{"links":[{"href":"https://webstorio.com/pricing","label":"Pricing"},{"href":"https://blog.webstorio.com","label":"Blog"}],"primary":{"type":"button","label":"Get started","href":"https://webstorio.com"}},"footer":{"socials":{"website":"https://webstorio.com"}},"icons":{"library":"lucide"},"styling":{"codeblocks":"dark","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"webstorio","hasAudioNarration":false,"actualSubdomain":"webstorio","customDomains":["docs.webstorio.com"],"gitSource":{"type":"github","owner":"webstorio","repo":"webstorio-platform","deployBranch":"release","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10ee189ffae5051c4167b8"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0ed26ce432c02bc8334523","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Documentation","count":16},{"language":"default","tag":"Developer","count":14},{"language":"default","tag":"How-to","count":14},{"language":"default","tag":"References","count":12},{"language":"default","tag":"Explanation","count":9},{"language":"default","tag":"Client SDK","count":6},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Overview","count":2},{"language":"default","tag":"Changelog","count":2},{"language":"default","tag":"CLI","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"developer/upgrading","slug":"/developer/upgrading","pageMetadata":{"title":"Upgrading a CLI project","description":"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.","icon":"refresh-cw","href":"/developer/upgrading"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Existing CLI projects stay on the `,_jsx(_components.a,{href:`/api-reference/supported-libraries#compatibility-date`,children:`compatibility date`}),`\npinned in `,_jsx(_components.code,{children:`webstorio.config.ts`}),` until you upgrade. That keeps builds stable while\nthe platform adds newer library versions and authoring tooling (for example\nESLint).`]}),`\n`,_jsx(_components.p,{children:`Use this guide when you want the latest supported libraries, lint setup, or CLI\nbehavior on a project that was scaffolded earlier.`}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-—-upgrade-the-cli-package`,children:`Step 1 — Upgrade the CLI package`}),`\n`,_jsx(_components.p,{children:`When a newer CLI is on npm, commands print a notice with your current version,\nthe latest version, and a link back to this guide. You can also upgrade manually\nin your project directory:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -D`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` @webstorio/cli@latest`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Check the installed version:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` webstorio`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --version`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/cli/changelog`,children:`CLI changelog`}),` for what changed.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`step-2-—-run-webstorio-update`,children:[`Step 2 — Run `,_jsx(_components.code,{children:`webstorio update`})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` webstorio`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` update`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`update`}),` will:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Bump `,_jsx(_components.code,{children:`compatibilityDate`})]}),` in `,_jsx(_components.code,{children:`webstorio.config.ts`}),` to the latest platform\nset (for example `,_jsx(_components.code,{children:`2026-11-27`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Realign first-class `,_jsx(_components.code,{children:`devDependencies`})]}),` to the versions the server compiles\nagainst for that date (based on what your pages and components import, plus\nTypeScript and Tailwind when present).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scaffold missing lint tooling`}),` when the new date includes it:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`ESLint + Prettier packages`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`eslint.config.mjs`}),` (only if the file is missing)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`lint`}),` / `,_jsx(_components.code,{children:`lint:fix`}),` scripts that run ESLint then Prettier (only if those\nscripts are missing or Prettier-only)`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Install`}),` with your detected package manager (`,_jsx(_components.code,{children:`npm`}),`, `,_jsx(_components.code,{children:`pnpm`}),`, `,_jsx(_components.code,{children:`yarn`}),`, or\n`,_jsx(_components.code,{children:`bun`}),`).`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--skip-install`}),` if you only want the file edits:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` webstorio`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --skip-install`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` install`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Custom `,_jsx(_components.code,{children:`lint`}),` scripts that already invoke `,_jsx(_components.code,{children:`eslint`}),` are left alone. Existing\n`,_jsx(_components.code,{children:`eslint.config.mjs`}),` files are never overwritten.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-—-fix-lint-and-typecheck`,children:`Step 3 — Fix lint and typecheck`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`webstorio push`}),` always runs your project’s `,_jsx(_components.code,{children:`lint`}),` and `,_jsx(_components.code,{children:`typecheck`}),` scripts first.\nAfter an upgrade that adds ESLint, run them locally and fix any new findings:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` lint`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` typecheck`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# or auto-fix where possible:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` lint:fix`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Then preview and push as usual:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` webstorio`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` dev`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` webstorio`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` push`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`what-stays-the-same`,children:`What stays the same`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pages, components, brand, and schemas`}),` are not rewritten by `,_jsx(_components.code,{children:`update`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Non-first-class packages`}),` you installed yourself stay in `,_jsx(_components.code,{children:`package.json`}),`;\nthey are still bundled on push when imported.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Older compatibility dates`}),` remain valid if you never run `,_jsx(_components.code,{children:`update`}),` — the\nserver keeps compiling against the set effective on or before your pinned date.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsxs(_components.a,{href:`/cli/commands#webstorio-update`,children:[_jsx(_components.code,{children:`webstorio update`}),` reference`]})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/supported-libraries`,children:`Supported libraries \u0026 compatibility dates`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/developer/project-structure`,children:`Project structure`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/developer/deploying`,children:`Deploying`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Upgrading a CLI project","description":"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.","icon":"refresh-cw","href":"/developer/upgrading"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Step 1 — Upgrade the CLI package","slug":"step-1-—-upgrade-the-cli-package","depth":2,"children":[]},{"title":"Step 2 — Run webstorio update","slug":"step-2-—-run-webstorio-update","depth":2,"children":[]},{"title":"Step 3 — Fix lint and typecheck","slug":"step-3-—-fix-lint-and-typecheck","depth":2,"children":[]},{"title":"What stays the same","slug":"what-stays-the-same","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"webstorio","siteName":"Webstorio","title":"Upgrading a CLI project - Webstorio","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T07:25:01.463Z","originalFileLocation":"developer/upgrading.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Webstorio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upgrading a CLI project - Webstorio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Webstorio\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.webstorio.com/developer/upgrading\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://webstorio.mintlify.site/_mintlify/api/og/v2?division=How-to\u0026amp;title=Upgrading+a+CLI+project\u0026amp;description=Bump+the+CLI%2C+compatibility+date%2C+and+lint+tooling+on+an+existing+Webstorio+project+with+webstorio+update.\u0026amp;theme=865a28619f8458f0aa2c3f7a\u0026amp;signature=9a8fd8b7edc7a847ac7bd834a8c263297af40281df2727d1d3337680a8d2ca50\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Upgrading a CLI project - Webstorio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://webstorio.mintlify.site/_mintlify/api/og/v2?division=How-to\u0026amp;title=Upgrading+a+CLI+project\u0026amp;description=Bump+the+CLI%2C+compatibility+date%2C+and+lint+tooling+on+an+existing+Webstorio+project+with+webstorio+update.\u0026amp;theme=865a28619f8458f0aa2c3f7a\u0026amp;signature=9a8fd8b7edc7a847ac7bd834a8c263297af40281df2727d1d3337680a8d2ca50\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/webstorio/JSuJ6W4VOkpns6w-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Webstorio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0284C7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.webstorio.com/developer/upgrading\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developer/upgrading.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.webstorio.com/#organization\",\"name\":\"Webstorio\",\"url\":\"https://docs.webstorio.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/webstorio/A8Y1yqNjHcD0y95T/logo/light.png?fit=max\u0026auto=format\u0026n=A8Y1yqNjHcD0y95T\u0026q=85\u0026s=b0e6f3a9e94e7bf0d2dd74dbd91d0e49\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.webstorio.com#website\",\"name\":\"Webstorio\",\"url\":\"https://docs.webstorio.com\",\"publisher\":{\"@id\":\"https://docs.webstorio.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.webstorio.com/developer/upgrading#webpage\",\"url\":\"https://docs.webstorio.com/developer/upgrading\",\"name\":\"Upgrading a CLI project\",\"description\":\"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.\",\"dateModified\":\"2026-11-27T07:25:01.463Z\",\"isPartOf\":{\"@id\":\"https://docs.webstorio.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.webstorio.com/developer/upgrading#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.webstorio.com/developer/upgrading#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"How-to\",\"item\":\"https://docs.webstorio.com/developer/local-development\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upgrading a CLI project\",\"item\":\"https://docs.webstorio.com/developer/upgrading\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.webstorio.com/developer/upgrading#article\",\"headline\":\"Upgrading a CLI project\",\"name\":\"Upgrading a CLI project\",\"description\":\"Bump the CLI, compatibility date, and lint tooling on an existing Webstorio project with webstorio update.\",\"url\":\"https://docs.webstorio.com/developer/upgrading\",\"mainEntityOfPage\":{\"@id\":\"https://docs.webstorio.com/developer/upgrading#webpage\"},\"dateModified\":\"2026-11-27T07:25:01.463Z\",\"publisher\":{\"@id\":\"https://docs.webstorio.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.webstorio.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Webstorio\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Webstorio\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developer/upgrading.md","siteName":"Webstorio","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":""}]},{"tab":"Developer","icon":"square-terminal","groups":[{"group":"Get started","pages":[{"title":"Developer","icon":"square-terminal","href":"/developer"},{"title":"Your first site with AI agents","icon":"rocket","href":"/developer/your-first-site"},{"title":"Your first site with the CLI","icon":"terminal","href":"/developer/your-first-site-cli"},{"title":"Migrate WordPress with one AI prompt","icon":"bot","href":"/developer/migrate-wordpress-with-ai"}]},{"group":"Explanation","pages":[{"title":"How the CLI works","icon":"terminal","href":"/developer/how-cli-works"},{"title":"Project structure","icon":"folder-tree","href":"/developer/project-structure"},{"title":"Feature schemas","icon":"database","href":"/developer/schemas"},{"title":"CLI, MCP, and SDK","icon":"layers","href":"/developer/cli-mcp-sdk"}]},{"group":"How-to","pages":[{"title":"Local development","icon":"monitor","href":"/developer/local-development"},{"title":"Routing","icon":"route","href":"/developer/routing"},{"title":"Deploying","icon":"rocket","href":"/developer/deploying"},{"title":"Use AI agents on local files","icon":"bot","href":"/developer/ai-agents"},{"title":"Connect MCP","description":"Connect Cursor, Claude Desktop, or another MCP client to your Webstorio project and manage CMS, forms, store, and App Data.","icon":"server","href":"/developer/connect-mcp"},{"title":"Upgrading a CLI project","icon":"refresh-cw","href":"/developer/upgrading"}]},{"group":"Help","pages":[{"title":"Contact","description":"Email the Webstorio team.","icon":"mail","url":"mailto:[email protected]","href":"/guides/contact"}]}]},{"tab":"References","icon":"code","pages":[{"title":"References","href":"/api-reference/introduction"}]},{"tab":"Changelog","icon":"history","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Upgrading a CLI project - Webstorio","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}