Skip to content

[chore] Upgrade to vite 7#11153

Merged
slax57 merged 6 commits intomasterfrom
vite-7
Feb 9, 2026
Merged

[chore] Upgrade to vite 7#11153
slax57 merged 6 commits intomasterfrom
vite-7

Conversation

@WiXSL
Copy link
Copy Markdown
Collaborator

@WiXSL WiXSL commented Feb 6, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s Vite toolchain to the Vite 7 major line and refreshes the lockfile accordingly, while also changing several package exports maps.

Changes:

  • Bump Vite devDependency ranges to ^7.0.0 across templates and examples.
  • Refresh yarn.lock with Vite 7 (and new Rollup/esbuild/PostCSS entries).
  • Simplify multiple package package.json#exports entries from nested import/require objects to string targets plus a single types entry.

Reviewed changes

Copilot reviewed 24 out of 25 changed files in this pull request and generated 18 comments.

Show a summary per file
File Description
yarn.lock Locks Vite 7 and related dependency graph updates (rollup/esbuild/postcss, etc.).
packages/react-admin/package.json Simplifies exports map; keeps types/import/require at top level.
packages/ra-ui-materialui/package.json Simplifies exports map similarly.
packages/ra-router-tanstack/package.json Simplifies exports map similarly.
packages/ra-no-code/package.json Simplifies exports map similarly.
packages/ra-language-french/package.json Simplifies exports map similarly.
packages/ra-language-english/package.json Simplifies exports map similarly.
packages/ra-input-rich-text/package.json Simplifies exports map similarly.
packages/ra-i18n-polyglot/package.json Simplifies exports map similarly.
packages/ra-i18n-i18next/package.json Simplifies exports map similarly.
packages/ra-data-simple-rest/package.json Simplifies exports map similarly.
packages/ra-data-local-storage/package.json Simplifies exports map similarly.
packages/ra-data-local-forage/package.json Simplifies exports map similarly.
packages/ra-data-json-server/package.json Simplifies exports map similarly.
packages/ra-data-graphql/package.json Simplifies exports map similarly.
packages/ra-data-graphql-simple/package.json Simplifies exports map similarly.
packages/ra-data-fakerest/package.json Simplifies exports map similarly.
packages/ra-core/package.json Simplifies exports map similarly.
examples/data-generator/package.json Simplifies exports map similarly.
packages/create-react-admin/templates/common/package.json Updates template devDependency vite to ^7.0.0.
examples/tutorial/package.json Updates example devDependency vite to ^7.0.0.
examples/simple/package.json Updates example devDependency vite to ^7.0.0.
examples/no-code/package.json Updates example devDependency vite to ^7.0.0.
examples/demo/package.json Updates example devDependency vite to ^7.0.0.
examples/crm/package.json Updates example devDependency vite to ^7.0.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/ra-i18n-polyglot/package.json Outdated
Comment thread packages/ra-i18n-i18next/package.json Outdated
Comment thread packages/ra-data-json-server/package.json Outdated
Comment thread packages/ra-data-fakerest/package.json Outdated
Comment thread examples/data-generator/package.json Outdated
Comment thread packages/ra-data-graphql/package.json Outdated
Comment thread packages/ra-ui-materialui/package.json Outdated
Comment thread packages/ra-language-english/package.json Outdated
Comment thread packages/ra-data-graphql-simple/package.json Outdated
Comment thread packages/ra-core/package.json Outdated
Copy link
Copy Markdown
Contributor

@Madeorsk Madeorsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, I tested all examples and they all seem to work!
(Apart from tutorial, but this one was already broken, we'll fix it in #11154.)

Comment thread examples/data-generator/package.json Outdated
Comment thread packages/ra-core/package.json Outdated
Comment thread packages/ra-data-fakerest/package.json Outdated
Comment thread packages/ra-data-graphql-simple/package.json Outdated
Comment thread packages/ra-data-graphql/package.json Outdated
Comment thread packages/ra-no-code/package.json Outdated
Comment thread packages/ra-router-tanstack/package.json Outdated
Comment thread packages/ra-ui-materialui/package.json Outdated
Comment thread packages/react-admin/package.json Outdated
Comment thread yarn.lock
This reverts commit f588764.
@slax57 slax57 added this to the 5.14.2 milestone Feb 9, 2026
@slax57 slax57 merged commit 781aee7 into master Feb 9, 2026
15 checks passed
@slax57 slax57 deleted the vite-7 branch February 9, 2026 09:42
@slax57 slax57 changed the title Upgrade to vite 7 [chore] Upgrade to vite 7 Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants