forked from promptfoo/promptfoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknip.json
More file actions
82 lines (82 loc) · 2.36 KB
/
Copy pathknip.json
File metadata and controls
82 lines (82 loc) · 2.36 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"workspaces": {
".": {
"entry": [
"scripts/**/*.{js,cjs,mjs,ts}",
"plugins/**/scripts/**/*.{js,cjs,mjs,ts}",
"src/redteam/plugins/policy/evals/**/*.{js,cjs,mjs,ts}",
"src/logger.browser.ts",
"src/util/createHash.browser.ts",
"test/__fixtures__/**/*.{js,cjs,mjs,ts}",
"test/fixtures/**/*.{js,cjs,mjs,ts}",
"test/smoke/fixtures/**/*.{js,cjs,mjs,ts}",
"test/**/*.bench.ts"
],
"project": [
"src/**/*.{js,ts,tsx}",
"scripts/**/*.{js,cjs,mjs,ts}",
"plugins/**/*.{js,cjs,mjs,ts}",
"test/**/*.{js,ts,tsx,cjs,mjs}",
"!src/app/**/*"
],
"ignoreFiles": [
"src/providers/audio/**/*.{js,ts,tsx}",
"src/redteam/audio/**/*.{js,ts,tsx}",
"src/redteam/strategies/multilingual.ts",
"src/util/agent/targetLinkFs.ts"
],
"ignoreDependencies": ["@actions/*", "@octokit/rest", "@opencode-ai/sdk", "@types/pdf-parse"],
"paths": {
"@promptfoo/*": ["./src/*"]
}
},
"src/app": {
"entry": ["index.html", "src/tests/browser-mode/browserApis.browser.ts"],
"project": ["src/**/*.{js,ts,tsx}"],
"ignoreFiles": ["src/polyfills/scroll-timeline.d.ts"],
"ignoreDependencies": ["@promptfoo/*", "@kurkle/color", "tailwindcss"],
"paths": {
"@app/*": ["./src/*"],
"@promptfoo/*": ["../../*"]
}
},
"site": {
"entry": [
"*.config.{js,ts}",
"src/**/*.{js,ts,tsx}",
"blog/**/*.{js,ts,tsx}",
"docs/**/*.{md,mdx}"
],
"project": ["**/*.{js,ts,tsx}"],
"ignoreFiles": ["docs/_shared/**/*.{js,ts,tsx}", "static/js/scripts.js"],
"ignoreDependencies": [
"@docusaurus/types",
"@docusaurus/theme-common",
"@theme/*",
"@mui/*",
"@generated/*",
"@docusaurus/plugin-content-blog",
"@swc/core",
"@swc/jest",
"canvas-confetti",
"framer-motion",
"lucide-react"
]
},
"code-scan-action": {
"entry": ["src/main.ts"],
"project": ["src/**/*.{js,ts,tsx}"]
}
},
"ignoreBinaries": [
"act",
"check-dependency-version-consistency",
"dist/src/entrypoint.js",
"ffmpeg",
"gh",
"lockfile-lint",
"madge"
],
"ignoreExportsUsedInFile": true
}