-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathknip.config.ts
52 lines (50 loc) · 1.24 KB
/
knip.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import type { KnipConfig } from 'knip';
const config: KnipConfig = {
ignoreDependencies: [
'@studiocms/blog',
'@studiocms/devapps',
'@studiocms/mdx',
'@studiocms/markdoc',
'@astrojs/node',
'@astrojs/react',
'sharp',
'@biomejs/biome',
'typedoc-plugin-frontmatter',
'typedoc-plugin-zod',
'ultrahtml',
],
entry: [
'src/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}',
'scripts/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}',
'lunaria/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}',
'biome.json',
],
project: [
'src/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}',
'scripts/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}',
'lunaria/**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}',
'biome.json',
],
astro: {
entry: [
'studiocms.config.{js,cjs,mjs,ts,mts}',
'astro.config.{js,cjs,mjs,ts,mts}',
'ec.config.mjs',
'hostUtils.ts',
'lunaria.config.ts',
'starlight-types.ts',
'typedoc.config.ts',
'src/content/config.ts',
'src/content.config.ts',
'src/pages/**/*.{astro,mdx,js,ts}',
'src/content/**/*.mdx',
'src/components/**/*.{astro,js,ts}',
'src/starlightOverrides/**/*.{astro,js,ts}',
'src/plugins/**/*.{js,ts}',
'src/util/**/*.{astro,js,ts}',
'src/middleware.{js,ts}',
'src/actions/index.{js,ts}',
],
},
};
export default config;