-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathknip.jsonc
More file actions
81 lines (79 loc) · 2.07 KB
/
Copy pathknip.jsonc
File metadata and controls
81 lines (79 loc) · 2.07 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
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
// See https://knip.dev/reference/issue-types for details on each rule.
"rules": {
"files": "error",
"dependencies": "error",
"devDependencies": "error",
"optionalPeerDependencies": "error",
"unlisted": "error",
"binaries": "error",
"catalog": "error",
"unresolved": "error",
"exports": "error",
"types": "error",
"duplicates": "error",
// Set as "off" because SDK enums intentionally include all possible values.
"enumMembers": "off",
"nsExports": "off",
"nsTypes": "off",
"classMembers": "off"
},
"workspaces": {
// Root
".": {
"project": ["*.{js,mjs,ts}"],
"ignoreDependencies": [
"@microsoft/microsoft-graph-client",
"@microsoft/microsoft-graph-types"
]
},
// Packages
"packages/*": {
"project": ["src/**/*.ts"]
},
"packages/agents-telemetry": {
"project": ["src/**/*.ts"],
"ignoreDependencies": [
"@opentelemetry/api",
"@opentelemetry/api-logs"
]
},
"packages/agents-activity": {
"project": ["src/**/*.ts"],
"ignore": [
// Ignore fake module used in browser builds by esbuild.
"src/browser/crypto.ts"
]
},
"packages/agents-copilotstudio-client": {
"project": ["src/**/*.ts"],
"ignore": [
// Ignore fake module used in browser builds by esbuild.
"src/browser/os.ts",
"src/browser/crypto.ts"
]
},
"packages/*/test": {
"entry": ["**/*.test.ts"],
"project": ["**/*.ts"]
},
// Samples & test agents
"samples/**": {
"entry": ["*.ts"],
"project": ["**/*.ts"]
},
"test-agents/*": {
"entry": ["src/**/*.ts"],
"project": ["**/*.ts"]
},
"test-agents/state-agent": {
"entry": ["src/**/*.ts"],
"project": ["**/*.ts"],
"ignoreDependencies": [
// Ignore sample as it has the cosmos dependency commented out to switch with blobs.
"@microsoft/agents-hosting-storage-cosmos"
]
}
}
}