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: migraterule-schema-to-typescript-types
fromjest
tovitest
#10774
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 33 commits intotypescript-eslint:mainfromaryaemami59:chore/rule-schema-to-typescript-types-vitest-migrationApr 15, 2025
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
33 commits Select commitHold shift + click to select a range
6af577d
Install `vitest`
aryaemami5931af256
Rename `jest.config.js` to `vitest.config.mts`
aryaemami594cee02c
chore(rule-schema-to-typescript-types): migrate to `vitest`
aryaemami59cdb2544
Fix Vitest config
aryaemami595715968
Include `vitest.config.mts` in `tsconfig.spec.json`
aryaemami59a1dd956
Explicitly enable `resolveJsonModule`
aryaemami5974a8011
Use `.replace` instead of `.split`
aryaemami59c3d6426
Type check `vitest.config.mts` files using project references.
aryaemami59f0f4aa5
Fix Vitest config
aryaemami59d18a971
Update `vitest` to version 3.1.1
aryaemami595dae395
Update `@vitest/eslint-plugin` to version 1.1.39
aryaemami59d0fcf37
Fix `knip`
aryaemami59863b922
Update `vite` to version 6.2.5
aryaemami59c836611
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59faf5deb
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59e729d7c
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59ea6f1d1
Update `vite` to version 6.2.6
aryaemami5955bc4ef
Update `@vitest/eslint-plugin` to version 1.1.40
aryaemami59db38e2f
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami591d37f46
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59c8716c9
Update `@vitest/eslint-plugin` to version 1.1.42
aryaemami59b9d0ef2
Enable the new `vitest/prefer-describe-function-title` rule
aryaemami595f1ebe7
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59d9f6cef
Use `vitestPlugin.configs.env`
aryaemami595fa10a3
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59e5b77c5
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59fc7dd64
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami5912b228f
Try disabling remote cache
aryaemami59bbb2abc
Try disabling remote cache
aryaemami599ee2ef0
Update `typecheck` output path in `nx.json`
aryaemami5924733e0
Fix `vitest` coverage output when run with `nx`
aryaemami599e0dc92
Merge branch 'main'
JoshuaKGoldberg49e0121
Merge branch 'main' into chore/rule-schema-to-typescript-types-vitest…
JoshuaKGoldbergFile 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
2 changes: 2 additions & 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
5 changes: 4 additions & 1 deletionpackages/rule-schema-to-typescript-types/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
5 changes: 3 additions & 2 deletionspackages/rule-schema-to-typescript-types/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
2 changes: 1 addition & 1 deletionpackages/rule-schema-to-typescript-types/tsconfig.build.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
20 changes: 20 additions & 0 deletionspackages/rule-schema-to-typescript-types/vitest.config.mts
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { defineConfig, mergeConfig } from 'vitest/config'; | ||
import { vitestBaseConfig } from '../../vitest.config.base.mjs'; | ||
import packageJson from './package.json' with { type: 'json' }; | ||
const vitestConfig = mergeConfig( | ||
vitestBaseConfig, | ||
defineConfig({ | ||
root: import.meta.dirname, | ||
test: { | ||
name: packageJson.name.replace('@typescript-eslint/', ''), | ||
root: import.meta.dirname, | ||
passWithNoTests: true, | ||
}, | ||
}), | ||
); | ||
export default vitestConfig; |
2 changes: 2 additions & 0 deletionstsconfig.repo-config-files.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
2 changes: 2 additions & 0 deletionsyarn.lock
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
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.