@@ -54,35 +54,40 @@ export default {
5454 ] ,
5555 } ,
5656 } ,
57+
5758 'packages/eslint-plugin' : {
58- entry : [ 'tools/**' ] ,
59- ignore : [
60- 'tests/fixtures/**' ,
61- 'typings/eslint-rules.d.ts' ,
62- 'typings/typescript.d.ts' ,
63- ] ,
64- ignoreDependencies : [ 'tsx' ] , // used in nx target definitions
59+ ignore : [ 'typings/eslint-rules.d.ts' , 'typings/typescript.d.ts' ] ,
60+
61+ project : [ 'src/**/*.ts!' , 'tools/**/*.mts' ] ,
62+
63+ vitest : {
64+ config : [ 'vitest.config.mts' ] ,
65+ entry : [ 'tests/**/*.{bench,test,test-d}.?(c|m)ts?(x)' ] ,
66+ project : [ 'tests/**' , '!tests/fixtures/**' ] ,
67+ } ,
6568 } ,
69+
6670 'packages/eslint-plugin-internal' : {
6771 ignore : [ 'tests/fixtures/**' ] ,
6872 } ,
6973 'packages/integration-tests' : {
7074 ignore : [ 'fixtures/**' ] ,
7175 } ,
72- 'packages/parser' : {
73- ignore : [ 'tests/fixtures/**' ] ,
7476
77+ 'packages/parser' : {
7578 vitest : {
7679 config : [ 'vitest.config.mts' ] ,
77- entry : [ 'tests/lib/**/*.{bench,test,test-d}.?(c|m)ts?(x)' ] ,
80+ entry : [
81+ 'tests/lib/**/*.{bench,test,test-d}.?(c|m)ts?(x)' ,
82+ 'tests/test-utils/test-utils.ts' ,
83+ 'tests/test-utils/ts-error-serializer.ts' ,
84+ ] ,
85+ project : [ 'tests/**' , '!tests/fixtures/**' ] ,
7886 } ,
7987 } ,
88+
8089 'packages/rule-tester' : {
8190 ignore : [ 'typings/eslint.d.ts' ] ,
82-
83- mocha : {
84- entry : [ 'tests/eslint-base/eslint-base.test.js' ] ,
85- } ,
8691 } ,
8792 'packages/scope-manager' : {
8893 ignore : [ 'tests/fixtures/**' ] ,
@@ -109,6 +114,15 @@ export default {
109114 ] ,
110115 } ,
111116 } ,
117+
118+ 'packages/types' : {
119+ project : [
120+ 'src/**/*.ts!' ,
121+ '!src/generated/**/*.ts' ,
122+ 'tools/copy-ast-spec.mts' ,
123+ ] ,
124+ } ,
125+
112126 'packages/typescript-estree' : {
113127 entry : [ 'src/use-at-your-own-risk.ts' ] ,
114128 ignore : [ 'tests/fixtures/**' , 'typings/typescript.d.ts' ] ,
0 commit comments