feat!: inline projects extend the root config by default#10750
Draft
sheremet-va wants to merge 6 commits into
Draft
feat!: inline projects extend the root config by default#10750sheremet-va wants to merge 6 commits into
sheremet-va wants to merge 6 commits into
Conversation
✅ Deploy Preview for vitest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
sheremet-va
commented
Jul 10, 2026
sheremet-va
marked this pull request as draft
July 10, 2026 09:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
extendsnow defaults totrue: inline projects inherit all options from the root config, including plugins. Setextends: falseto keep the project isolated.nameandprojectsare never inherited.globalSetupis not inherited from the root config because it already runs once per test run (extending a non-root config still inherits it). The project's owntagsreplace the inherited array.createVitest/startVitest, so inheritance works even when there is no root config file. Rootpluginsfrom the programmatic config are not inherited because their instances are owned by the root server. The programmaticbrowserconfiguration is also not inherited: its instances describe a single project, and inheriting them would create duplicate instance names (the--browserflags have the same guard).experimentaloptions propagation is removed; the values are inherited like everything else, andextends: falsediscards them.--experimental.*CLI flags are applied to every project like the other project-level CLI flags.Projects referenced as config files or directories are not affected. Documented in the migration guide and the projects guide.
Resolves #7225