This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 4
/
nx.json
104 lines (104 loc) · 2.03 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
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
{
"defaultBase": "avail-develop",
"affected": {
"defaultBase": "avail-develop"
},
"implicitDependencies": {
"nx.json": "*"
},
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": [
"lint",
"build",
"test",
"build:contracts",
"autogen:artifacts"
]
}
}
},
"namedInputs": {
"configsWorkspace": [
"{workspaceRoot}/package.json",
"{workspaceRoot}/tsconfig.json"
],
"configsProject": [
"{projectRoot}/foundry.toml",
"{projectRoot}/tsconfig.json",
"{projectRoot}/package.json"
],
"default": [
"{projectRoot}/**/*",
"configsWorkspace"
],
"srcGenerated": [
"{projectRoot}/src/contract-artifacts.ts",
"{projectRoot}/src/contract-deployed-artifacts.ts"
],
"productionSrc": [
"{projectRoot}/src/**/*",
"!{projectRoot}/src/**/*.spec.ts"
],
"productionContracts": [
"{projectRoot}/contracts/**/*"
],
"production": [
"productionSrc",
"productionContracts"
],
"testing": [
"configsWorkspace",
"default"
]
},
"targetDefaults": {
"lint": {
"inputs": [
"{workspaceRoot}/.markdownlint.json",
"default"
]
},
"test": {
"inputs": [
"default",
"testing",
"^production"
],
"dependsOn": [
"^build"
]
},
"build:contracts": {
"inputs": [
"configsProject",
"productionContracts",
"^productionContracts"
],
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/artifacts",
"{projectRoot}/forge-artifacts"
]
},
"build": {
"inputs": [
"configsWorkspace",
"configsProject",
"production",
"^production"
],
"dependsOn": [
"^build",
"build:contracts"
],
"outputs": [
"{projectRoot}/dist"
]
}
}
}