This repository was archived by the owner on Sep 21, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathturbo.json
More file actions
117 lines (117 loc) · 3.23 KB
/
Copy pathturbo.json
File metadata and controls
117 lines (117 loc) · 3.23 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"globalEnv": ["CI", "BUILD_WITH_COVERAGE"],
"globalPassThroughEnv": ["CODECOV_TOKEN", "COVERAGE_ENABLED", "SENTRY_AUTH_TOKEN"],
"boundaries": {
// `~icons/*` is a vite virtual module injected by unplugin-icons (design-system
// icon barrel), not a real package — declare it so boundaries doesn't flag it.
"implicitDependencies": ["~icons"]
},
"tasks": {
"clean": { "cache": false },
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"build:unchecked": {
"dependsOn": ["^build:unchecked"],
"outputs": ["dist/**"]
},
"n8n-editor-ui#build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"env": ["RELEASE"]
},
"n8n-editor-ui#build:unchecked": {
"dependsOn": ["^build:unchecked"],
"outputs": ["dist/**"],
"env": ["RELEASE"]
},
// Both emit declarations only under `RELEASE`, so `RELEASE` has to be part of the cache
// key. Without it a cached non-release `dist`, which has no `.d.ts`, would be restored
// onto a release build and ship a package with no types.
"@n8n/design-system#build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"env": ["RELEASE"]
},
"@n8n/design-system#build:unchecked": {
"dependsOn": ["^build:unchecked"],
"outputs": ["dist/**"],
"env": ["RELEASE"]
},
"@n8n/chat#build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"env": ["RELEASE"]
},
"@n8n/chat#build:unchecked": {
"dependsOn": ["^build:unchecked"],
"outputs": ["dist/**"],
"env": ["RELEASE"]
},
"typecheck": {
"dependsOn": ["^build"]
},
"format": {},
"format:check": {},
"lint": {
"dependsOn": ["^build", "@n8n/eslint-config#build"]
},
// The n8n-nodes-base lint script also validates load-options methods
// against dist/methods/*.json, which only its own build emits.
"n8n-nodes-base#lint": {
"dependsOn": ["^build", "build", "@n8n/eslint-config#build"]
},
"lint:fix": {},
"lint:styles": {
"dependsOn": ["@n8n/stylelint-config#build"]
},
"lint:styles:fix": {
"dependsOn": ["@n8n/stylelint-config#build"]
},
"test": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED"]
},
"test:changed": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED", "CHANGED_FILES"],
"cache": false
},
"test:unit": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED"]
},
"test:unit:changed": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED", "CHANGED_FILES"],
"cache": false
},
"test:integration": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED"]
},
"test:integration:changed": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED", "CHANGED_FILES"],
"cache": false
},
"watch": { "cache": false, "persistent": true },
"dev": { "cache": false, "persistent": true },
"install-browsers": {
"cache": true,
"inputs": [".playwright-version"],
"outputs": [".playwright-browsers/**"]
},
"test:container:standard": {
"env": ["E2E_TESTS"],
"cache": false
}
}
}