-
Notifications
You must be signed in to change notification settings - Fork 31
/
nx.json
44 lines (44 loc) · 1.35 KB
/
nx.json
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
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "build:docs"],
"cacheDirectory": ".nx"
}
}
},
"namedInputs": {
"packages": ["{workspaceRoot}/packages/*/build/*", "{workspaceRoot}/packages/*/*.css"],
"documentation": ["{workspaceRoot}/packages/**/documentation/**/*"],
"portal": [
"{workspaceRoot}/portal/images/**/*",
"{workspaceRoot}/portal/src/**/*",
"{workspaceRoot}/portal/static/**/*",
"{workspaceRoot}/portal/gatsby-*",
"{workspaceRoot}/portal/package.json"
]
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/build", "{projectRoot}/*.css"]
},
"build:docs": {
"inputs": [
"^packages",
"^documentation",
"^portal",
{
"env": "PREVIEW_PATH"
},
{
"env": "MIXPANEL_PROJECT_ID"
}
],
"dependsOn": ["build"],
"outputs": ["{workspaceRoot}/portal/public"]
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json"
}