Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore(type-utils): migrate fromjest
tovitest
#10767
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
JoshuaKGoldberg merged 43 commits intotypescript-eslint:mainfromaryaemami59:chore/type-utils-vitest-migrationApr 14, 2025
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
43 commits Select commitHold shift + click to select a range
9d61f51
Install `vitest`
aryaemami598ef16f6
Rename `jest.config.js` to `vitest.config.mts`
aryaemami59010340a
chore(type-utils): migrate to `vitest`
aryaemami593252855
Update `vitest` to version 3.0.8
aryaemami59f919822
Fix Vitest config
aryaemami59578be1f
Include `vitest.config.mts` in `tsconfig.spec.json`
aryaemami5937ed9a8
Add `vitest.config.mts` files to ESLint configuration
aryaemami596e45f7e
Use `defineProject` instead of `defineConfig`
aryaemami59d40ac84
Explicitly enable `resolveJsonModule`
aryaemami59167178b
Use `.replace` instead of `.split`
aryaemami59a8b0c66
Type check `vitest.config.mts` files using project references.
aryaemami59af5caa4
Fix Vitest config
aryaemami59a502477
Fix `typecheck` task
aryaemami59e9b2248
Update `vitest` to version 3.0.9
aryaemami59e759da4
Update `@vitest/eslint-plugin` to version 1.1.38
aryaemami591f44186
Update `vitest` to version 3.1.1
aryaemami594dd2332
Update `@vitest/eslint-plugin` to version 1.1.39
aryaemami59ed9a35f
Fix `knip` config
aryaemami59777707e
Update `vite` to version 6.2.5
aryaemami59dbd6f2a
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59b9e58ef
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59f8fc004
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami5999133cd
Update `vite` to version 6.2.6
aryaemami59e71694d
Update `@vitest/eslint-plugin` to version 1.1.40
aryaemami59edad3d2
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami5919fa3da
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59d938588
Update `@vitest/eslint-plugin` to version 1.1.42
aryaemami59b270084
Enable the new `vitest/prefer-describe-function-title` rule
aryaemami5971798a3
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami5914f14e2
Use `vitestPlugin.configs.env`
aryaemami591658bcd
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59945f599
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami5903a7cf4
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami5960b6c60
Run `ast-spec:typecheck` during `postinstall`
aryaemami59bddd2be
Fix `ast-spec:test`
aryaemami59a1e534f
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59d57f66b
Fix `ast-spec:build`
aryaemami59d4f77e9
Try disabling remote cache
aryaemami597137af9
Try disabling remote cache
aryaemami59971aec3
Update `typecheck` output path in `nx.json`
aryaemami59b40e037
Set `testTimeout` to `10_000`
aryaemami597af2d6f
Switch to `it.for`
aryaemami597d7d5b2
Fix `vitest` coverage output when run with `nx`
aryaemami59File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletionseslint.config.mjs
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
7 changes: 3 additions & 4 deletionsnx.json
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
12 changes: 6 additions & 6 deletionspackages/ast-spec/project.json
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
7 changes: 0 additions & 7 deletionspackages/type-utils/jest.config.js
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
10 changes: 5 additions & 5 deletionspackages/type-utils/package.json
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
8 changes: 6 additions & 2 deletionspackages/type-utils/project.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
{ | ||
"name": "type-utils", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"root": "packages/type-utils", | ||
"sourceRoot": "packages/type-utils/src", | ||
"targets": { | ||
"lint": { | ||
"executor": "@nx/eslint:lint", | ||
"outputs": ["{options.outputFile}"] | ||
}, | ||
"test": { | ||
"executor": "@nx/vite:test" | ||
} | ||
} | ||
} |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.