Repository navigation
Expand file tree
/
Copy pathknip.json
More file actions
87 lines (87 loc) · 2.69 KB
/
Copy pathknip.json
File metadata and controls
87 lines (87 loc) · 2.69 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
83
84
85
86
87
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"ignoreWorkspaces": [
"packages/twenty-docs",
"packages/twenty-apps/**",
"packages/twenty-front-component-renderer"
],
"rules": {
"binaries": "warn",
"dependencies": "error",
"devDependencies": "error",
"duplicates": "warn",
"enumMembers": "warn",
"exports": "warn",
"files": "error",
"optionalPeerDependencies": "warn",
"types": "warn",
"unlisted": "warn",
"unresolved": "warn"
},
"workspaces": {
"packages/twenty-server": {
"entry": [
"src/main.ts",
"src/command/command.ts",
"src/queue-worker/queue-worker.ts",
"src/database/scripts/*.ts",
"src/database/clickhouse/migrations/run-migrations.ts",
"src/database/clickhouse/seeds/run-seeds.ts",
"src/instrument.ts",
"lingui.config.ts",
"scripts/**/*.ts",
"**/*.spec.ts",
"**/*.integration-spec.ts",
"test/integration/graphql/codegen/index.ts",
"test/integration/utils/setup-test.ts",
"test/integration/utils/teardown-test.ts",
"src/database/typeorm/core/legacy-typeorm-migrations-do-not-add/**/*.ts"
],
"project": ["src/**/*.ts", "test/**/*.ts", "scripts/**/*.ts"],
"jest": [
"jest.config.mjs",
"jest-integration.config.ts",
"jest-integration-secure.config.ts"
],
"ignore": [
"src/**/constants/seed-project/**",
"src/database/typeorm/core/migrations/**",
"**/*.workspace-entity.ts",
"src/engine/core-modules/logic-function/logic-function-resource/constants/**",
"src/database/commands/upgrade-version-command/**",
"src/engine/metadata-modules/*/constants/standard-*-names.ts",
"src/engine/metadata-modules/*/constants/standard-*-titles.ts"
],
"ignoreDependencies": ["@types/psl"]
},
"packages/twenty-front": {
"entry": [
"src/index.tsx",
"src/**/graphql/**/*.{ts,tsx}",
"src/modules/geo-map/graphql-query/*.{ts,tsx}",
"vitest.config.ts",
"lingui.config.ts",
"nyc.config.cjs",
"jest-failures-only-reporter.cjs"
],
"graphql-codegen": [
"codegen.cjs",
"codegen-admin.cjs",
"codegen-metadata.cjs"
],
"ignore": ["src/locales/generated/**", ".eloqnt/config.ts"],
"ignoreDependencies": [
"@babel/preset-typescript",
"buffer",
"esbuild",
"playwright",
"rollup-plugin-node-polyfills"
]
},
"packages/twenty-ui": {
"entry": ["scripts/**/*.ts", "docs/**/*.ts"],
"ignore": ["src/styles/abstracts/**"],
"ignoreDependencies": ["@swc/core"]
}
}
}