Skip to content

Commit d4bfef3

Browse files
Standardize on cts,js,ts
1 parent d10bd58 commit d4bfef3

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

knip.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,33 @@
55
".": { "entry": ["scripts/*.js", "tools/*.js", ".github/workflows/*.yml"] },
66
"packages/compat": {
77
"ignoreDependencies": ["eslint"],
8-
"entry": ["tests/**/*.{js,ts}"],
9-
"project": ["src/**/*.{js,ts}", "tests/*.{js,ts}"]
8+
"entry": ["tests/**/*.{cts,js,ts}"],
9+
"project": ["src/**/*.{cts,js,ts}", "tests/*.{cts,js,ts}"]
1010
},
1111
"packages/config-array": {
12-
"entry": ["tests/**/*.{js,ts}", "rollup.std__path-config.js"],
13-
"project": ["src/**/*.{js,ts}", "tests/**/*.{js,ts}"]
12+
"entry": ["tests/**/*.{cts,js,ts}", "rollup.std__path-config.js"],
13+
"project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"]
1414
},
1515
"packages/config-helpers": {
16-
"entry": ["tests/**/*.{js,ts,cts}"],
17-
"project": ["src/**/*.{js,ts}", "tests/**/*.{js,ts,cts}"]
16+
"entry": ["tests/**/*.{cts,cts,js,ts}"],
17+
"project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,cts,js,ts}"]
1818
},
19-
"packages/core": { "project": ["src/**/*.{js,ts}"] },
19+
"packages/core": { "project": ["src/**/*.{cts,js,ts}"] },
2020
"packages/mcp": {
21-
"entry": ["tests/**/*.{js,ts}"],
22-
"project": ["src/**/*.{js,ts}", "tests/**/*.{js,ts}"]
21+
"entry": ["tests/**/*.{cts,js,ts}"],
22+
"project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"]
2323
},
2424
"packages/migrate-config": {
25-
"entry": ["src/migrate-config.js", "tests/**/*.{js,ts}"],
26-
"project": ["src/**/*.{js,ts}", "tests/*.{js,ts}"]
25+
"entry": ["src/migrate-config.js", "tests/**/*.{cts,js,ts}"],
26+
"project": ["src/**/*.{cts,js,ts}", "tests/*.{cts,js,ts}"]
2727
},
2828
"packages/object-schema": {
29-
"entry": ["tests/**/*.{js,ts}", "src/types.ts"],
30-
"project": ["src/**/*.{js,ts}", "tests/**/*.{js,ts}"]
29+
"entry": ["tests/**/*.{cts,js,ts}", "src/types.ts"],
30+
"project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"]
3131
},
3232
"packages/plugin-kit": {
33-
"entry": ["tests/**/*.{js,ts,cts}"],
34-
"project": ["src/**/*.{js,ts}", "tests/**/*.{js,ts,cts}"]
33+
"entry": ["tests/**/*.{cts,cts,js,ts}"],
34+
"project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,cts,js,ts}"]
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)