-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathknip.config.ts
More file actions
65 lines (63 loc) · 1.55 KB
/
knip.config.ts
File metadata and controls
65 lines (63 loc) · 1.55 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
import type { KnipConfig } from 'knip';
const config: KnipConfig = {
ignoreDependencies: [
'@studiocms/blog',
'@studiocms/devapps',
'@studiocms/html',
'@studiocms/md',
'@studiocms/mdx',
'@studiocms/markdoc',
'@studiocms/wysiwyg',
'@studiocms/cloudinary-image-service',
'@studiocms/s3-storage',
"@withstudiocms/template-lang",
"@withstudiocms/sdk",
'@astrojs/node',
'@astrojs/react',
'sharp',
'@biomejs/biome',
'ultrahtml',
'effect',
'@withstudiocms/component-registry',
'@withstudiocms/kysely',
"@withstudiocms/effect",
'@docsearch/js',
'studiocms:ui',
'studiocms',
'@studiocms/web-vitals',
'@astrojs/db',
],
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}',
],
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;