-
Notifications
You must be signed in to change notification settings - Fork 207
refactor: replace @voidzero-dev/vite-plus-test with upstream vitest #1588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Brooooooklyn
wants to merge
138
commits into
main
Choose a base branch
from
refactor/replace-vite-plus-test-with-vitest
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+11,308
−5,848
Open
Changes from all commits
Commits
Show all changes
138 commits
Select commit
Hold shift + click to select a range
41fea26
refactor: replace @voidzero-dev/vite-plus-test with upstream vitest@4…
Brooooooklyn 51301c7
fix(migration): re-pin vite-plus in force-override mode, fix lint/for…
Brooooooklyn 1321e34
fix(migration): pass --no-frozen-lockfile to pnpm/yarn reinstall afte…
Brooooooklyn 49ce6de
fix(migration): preserve vitest declare-module, route browser-provide…
Brooooooklyn 151cced
fix(migration): emit bunfig.toml with peer = false to unblock bun ins…
Brooooooklyn 5fdf82f
docs: align migrate guide and bundling notes with actual rewrite/shim…
Brooooooklyn 0530c89
fix(ci): bump core tgz version for bun, sync declare-module snap
Brooooooklyn de830c7
fix(ci): use a separate bumped-version core tgz for VP_OVERRIDE_PACKAGES
Brooooooklyn 9eafedb
fix(ci): pack core/cli with synthetic 7.99.0 version for bun peer-dep
Brooooooklyn 1259edb
docs(cli): reformat BUNDLING.md provider-exports table
Brooooooklyn c99a7f7
fix(migration): mirror vite override as devDep on bun
Brooooooklyn d39434c
fix(ci): pack a vite-7.99.0.tgz alias so bun's name+version check passes
Brooooooklyn 450f962
fix(ci): post-process core tgz into vite alias instead of name-swappi…
Brooooooklyn 332ec7d
fix(ci): use core tgz for vite override except where bun is the target
Brooooooklyn 13ee709
chore: vp check --fix
Brooooooklyn cad0b56
fix(migration): override vitest + @vitest/* family to single version
Brooooooklyn 4c44eb3
fix(cli): accept `test` field in defineConfig type signature
Brooooooklyn 49aaa4d
fix(cli): inject vitest specifier rewrite plugin into defineConfig
Brooooooklyn 50a7f93
fix(cli): resolve mergeConfig star-export conflict between core and v…
Brooooooklyn 9625f89
test(snap): redact transient network warnings in snap output
Brooooooklyn a4d7d4c
fix(migration): override @vitest/coverage-* family
Brooooooklyn c71cf00
fix(migration): rewrite `from 'vite-plus/test'` -> `from 'vitest'`
Brooooooklyn da6a812
style(migration): cargo fmt
Brooooooklyn b3d234b
revert(migration): restore `'vitest' -> 'vite-plus/test'` forward rew…
Brooooooklyn 816225f
chore: retrigger CI after empty period
Brooooooklyn c2786ae
fix(cli): re-export vitest/config types (ViteUserConfig, etc.)
Brooooooklyn 13b7b55
test(snap): drop leading whitespace on pnpm10 Packages line
Brooooooklyn 23ac248
fix(cli): propagate vite-plus/test rewrite plugin into test.projects
Brooooooklyn 765cdec
chore: apply oxfmt formatting
Brooooooklyn 7f5877a
fix(cli): drop redundant type assertions in project injector
Brooooooklyn 6a8dcc8
fix(cli): add runtime targets for browser provider context exports
Brooooooklyn 23cccb5
fix(migration): don't let initial install's failure mask final instal…
Brooooooklyn 365f181
ci(test-vp-create): include vitest family in VP_OVERRIDE_PACKAGES
Brooooooklyn 0a8f5de
chore: keep VITEST_VERSION + @vitest/browser* catalog in sync on bumps
Brooooooklyn 52a8a0f
fix(cli): use es-module-lexer to scope vite-plus/test rewrites to rea…
Brooooooklyn 884467b
fix(migration): pin legacy wrapper fallback to exact VITEST_VERSION
Brooooooklyn b2bd4fd
chore(upgrade-deps): bump vitest pins in test-vp-create.yml too
Brooooooklyn 389a359
fix(cli): preserve quotes when rewriting dynamic import specifiers
Brooooooklyn d2cba0b
fix(deps): patch @vitest/mocker to hoist vite-plus/test imports
Brooooooklyn b53b12f
fix(cli): fall back to regex rewrite when es-module-lexer rejects JSX…
Brooooooklyn e6c7c8d
fix(cli): restore missing test/* subpaths and auto-inline matcher pac…
Brooooooklyn 9477667
style: format build.ts and define-config.ts to oxfmt rules
Brooooooklyn 57f7f66
fix(cli): align CJS index.cts allowlist with ESM index.ts
Brooooooklyn 998f5b0
style(cli): apply vp check --fix to define-config.ts and build.ts
Brooooooklyn 4e8ab92
fix(cli): use oxc-parser for TSX rewrite fallback, cover re-exports
Brooooooklyn 71e4879
fix(cli): resolve vitest family for browser-mode in transitive-dep pr…
Brooooooklyn 5ec6608
chore(deps): upgrade vitest to 4.1.7
Brooooooklyn 5f538b7
fix(migration): align @vitest/browser subpath rewrites with vite-plus…
Brooooooklyn e582ed0
fix(ci): pin packed package versions to 0.0.0 for stable tgz names
Brooooooklyn a32c2b7
fix(tools): drop deleted packages/test from snap-test relink map
Brooooooklyn 67b9cc8
fix(ci): use npm pkg set to pin packed versions
Brooooooklyn 2f8cb92
fix(ci): expect 0.0.0 in ecosystem-ci verify-install
Brooooooklyn 815ef46
fix(cli): handle default+named imports in external dts type-only fix
Brooooooklyn 5a08b7b
fix(cli): externalize postcss/lightningcss from the dts bundle
Brooooooklyn 0fae6fc
ci(upgrade-deps): sync @vitest/mocker patch entry on vitest bumps
Brooooooklyn 7626e1d
fix(cli): externalize vitest/@vitest from the dts bundle
Brooooooklyn b065db3
fix(cli): add direct vitest dep for browser-mode packages on migration
Brooooooklyn 9091a83
fix(ci): harden upgrade-deps script for slash-escaping and mocker pat…
Brooooooklyn 5072398
chore(deps): sync lockfile to rebased workspace catalog and whitelist…
Brooooooklyn 235e50b
fix(tools): preserve root patchedDependencies on sync-remote + scrub …
Brooooooklyn 5befea7
fix(cli): keep declare-module on vitest family unrewritten in oxlint …
Brooooooklyn be9a339
fix(ci): use extend-identifiers for PnP and update lint snap for decl…
Brooooooklyn dcefa85
fix(migration): rewrite CJS require() specifiers alongside ESM imports
Brooooooklyn 840aa9b
chore: re-trigger CI dispatch
Brooooooklyn e820db8
fix(migration): rewrite re-export specifiers alongside imports
Brooooooklyn 74e8726
style: rustfmt new export-statement rewrite tests
Brooooooklyn 22edba7
fix(core): rewrite CJS require() via AST walk to skip template literals
Brooooooklyn cd65681
fix(migration): rewrite dynamic import('@vitest/*') and TS import-typ…
Brooooooklyn e7fef1e
feat(cli): restore ./test/plugins/* surface from removed wrapper
Brooooooklyn 01d6a4c
style(cli): drop duplicate comment above plugins shim loop
Brooooooklyn 0f5fd77
style: apply rustfmt and oxfmt to recent commits
Brooooooklyn f7b3b14
fix(migration): exclude vitest/package.json from rewrite rules
Brooooooklyn 805b3d6
fix(migration): treat config-only browser-mode setups as browser mode
Brooooooklyn c9f24d7
fix(ci): hardcode vite-plus tgz path to 0.0.0
Brooooooklyn 4f602be
fix(core): only inline installed matcher packages
Brooooooklyn 5f0c776
fix(test): rename capturedFroms to avoid typos false-positive
Brooooooklyn 1a2807a
fix(core): preserve sourcemaps in vite-plus/test rewrite plugin
Brooooooklyn 6277e50
fix(migration): exclude vitest/config from subpath rewrite rules expl…
Brooooooklyn 1f793a0
fix(snap-tests): update stale @voidzero-dev/vite-plus-test imports
Brooooooklyn cdac93d
chore(snap-tests): regenerate test-managed-package-manager-path snap
Brooooooklyn 3556936
fix(cli): declare @vitest/* shim targets as direct deps
Brooooooklyn 3c8738c
fix(ci): include @vitest/* core deps in upgrade-deps catalog update
Brooooooklyn 5e16596
chore(snap-tests): correct snap.txt files after fixture changes
Brooooooklyn e04d2c8
refactor(ci): rename vitestBrowserEntries to vitestExactVersionEntries
Brooooooklyn 12edc4a
fix(migration): gate vitest-adjacent signal on missing vite-plus
Brooooooklyn 96601c9
fix(migration): auto-write pnpm allowBuilds for browser-provider post…
Brooooooklyn f2887ab
chore(snap-tests): regenerate pnpm migration snaps for allowBuilds en…
Brooooooklyn 560ff56
chore(snap-tests): regenerate create-org-bundled-monorepo snap for al…
Brooooooklyn a396f4b
chore(snap-tests): restore env-dependent snaps clobbered during regen…
Brooooooklyn 0c5629c
style(migration): apply oxfmt formatting to allowBuilds additions
Brooooooklyn 9bb1db8
fix(migration): gate "Dependencies installed" line on final install s…
Brooooooklyn 782a368
fix(migration): treat @vitest/browser-webdriverio as webdriverio allo…
Brooooooklyn 7cbde7f
fix(migration): scan peerDependencies for webdriverio allow signal
Brooooooklyn 116b83d
fix(migration): drop stale @vitest/browser* overrides from workspace …
Brooooooklyn 17525ac
fix(migration): also drop selector-shaped @vitest/browser* overrides
Brooooooklyn 3f9b55a
style(migration): satisfy eslint(curly) in extractOverrideTargetName
Brooooooklyn 7e0ae78
fix(migration): preserve direct driver deps and strip selector-shaped…
Brooooooklyn 4217276
fix(lint): don't rewrite vitest/package.json in prefer-vite-plus-imports
Brooooooklyn 1a5c45b
test(cli): guard vite-plus root stays a superset of vitest/config exp…
Brooooooklyn 04a05da
fix(migration): collect direct driver deps across monorepo packages
Brooooooklyn 2822610
fix(migration): auto-allow user-owned driver builds when webdriverio …
Brooooooklyn cbb6240
feat(migration): make @vitest/browser-webdriverio an opt-in provider
Brooooooklyn 025e814
fix(test): reword comment to satisfy crate-ci/typos (mis -> parsed)
Brooooooklyn bcab255
fix(migration): detect migrated bare browser shims as browser mode
Brooooooklyn 7de8895
fix(test): pin vp test runner and vitest-family imports to the bundle…
Brooooooklyn 1f01cc1
fix(migration): recurse into nested npm/bun overrides when dropping p…
Brooooooklyn b598281
style(test): satisfy oxfmt and correct the CJS-stub comment scope
Brooooooklyn 3aaa7e1
fix(test): hoist namedValueExports to module scope to satisfy oxlint
Brooooooklyn 0aed75e
fix(migration): only drop provider override pins that reach vite-plus…
Brooooooklyn 19002fd
fix(test): repair type errors from rebase onto main
Brooooooklyn bac6151
style(test): apply oxfmt import ordering to rebased tools specs
Brooooooklyn bb85fc4
fix(tools): scrub pnpm's supply-chain verification line from snapshots
Brooooooklyn 6498ca6
chore(snap-tests): regenerate main-added migration snaps for pruned w…
Brooooooklyn c2049dc
fix(migration): drop provider pins reached through owned provider anc…
Brooooooklyn 3f832e5
fix(cli): keep vite-plus external in the dts bundle to avoid leaking …
Brooooooklyn 5d7dbce
chore(snap-tests): drop pnpm supply-chain line baked into snaps by main
Brooooooklyn c78656d
chore(deps): bump vitest to 4.1.9 and drop the mocker patch + specifi…
Brooooooklyn cc52822
fix(migration): restore --no-frozen-lockfile for pnpm/yarn in consoli…
Brooooooklyn cef4118
test(migration): align main-added bootstrap tests with the vitest ove…
Brooooooklyn 483e168
chore(deps): regenerate pnpm-lock.yaml after rebase onto main
Brooooooklyn 28fe475
chore(snap-tests): regenerate create-approve-builds snaps for the vit…
Brooooooklyn ade4885
chore(snap-tests): regenerate global migration snaps for the vitest o…
Brooooooklyn 1f7a556
fix(migration): repair bootstrap pnpm-workspace call and dedupe vites…
Brooooooklyn 7ed01a5
fix(migration): funnel early-return install through handleInstallResult
Brooooooklyn e50937c
fix(migration): preapprove vitest family in generated .yarnrc.yml
Brooooooklyn 9f3566c
fix(cli): gate vitest resolver to the browser server; finish provider…
Brooooooklyn c21ce04
Merge remote-tracking branch 'origin/main' into refactor/replace-vite…
Brooooooklyn 34290ff
fix(cli): keep vitest resolver unconditional; fix Yarn/npm ecosystem …
Brooooooklyn 5b139a4
fix(cli): resolve effective Yarn hoisting config (env/ancestor/home) …
Brooooooklyn 3920c80
test(cli): isolate the home-rc hoisting test on Windows (os.homedir u…
Brooooooklyn 711dcd9
fix(cli): refresh stale pnpm allowBuilds driver denials on re-migration
Brooooooklyn 2bdd4d9
fix(migration): stop overriding indirect @vitest/* deps; guard covera…
Brooooooklyn 23c264a
test(ecosystem-ci): align @vitest/coverage-* with the forced vitest i…
Brooooooklyn fb307be
fix(migration): exempt the vitest family from pnpm/yarn release-age g…
Brooooooklyn 6a3475b
docs(readme): pin vitest alongside vite in manual-migration overrides
Brooooooklyn d21d56d
docs(readme): sync generated packages/cli/README.md
Brooooooklyn 59aa22c
fix(migration): only manage pnpm allowBuilds when webdriverio is used
Brooooooklyn 9b59731
fix(migration): resolve 4 reviewer threads on vitest pinning & snap s…
Brooooooklyn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.