Skip to content

Commit 26866a7

Browse files
committed
Remove docs from workspace, turbo.json, script filters
1 parent 1c22c6f commit 26866a7

File tree

2 files changed

+101
-42
lines changed

2 files changed

+101
-42
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@
55
"packageManager": "yarn@4.10.3",
66
"workspaces": [
77
"contracts/",
8-
"docs/",
98
"packages/*"
109
],
1110
"scripts": {
1211
"compact": "turbo run compact --filter=@openzeppelin-compact/contracts --log-prefix=none",
13-
"build": "turbo run build --filter=!'docs' --log-prefix=none",
12+
"build": "turbo run build --log-prefix=none",
1413
"test": "turbo run test --filter=@openzeppelin-compact/contracts --log-prefix=none",
1514
"fmt-and-lint": "biome check . --changed",
1615
"fmt-and-lint:fix": "biome check . --changed --write",
1716
"fmt-and-lint:ci": "biome ci . --changed --no-errors-on-unmatched",
18-
"types": "turbo run types --filter=!'docs'",
19-
"clean": "turbo run clean --filter=!'docs'"
17+
"types": "turbo run types",
18+
"clean": "turbo run clean"
2019
},
2120
"dependencies": {
2221
"@midnight-ntwrk/compact-runtime": "^0.9.0"
@@ -31,4 +30,4 @@
3130
"typescript": "^5.9.3",
3231
"vitest": "^4.0.8"
3332
}
34-
}
33+
}

turbo.json

Lines changed: 97 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,89 @@
22
"$schema": "https://turbo.build/schema.json",
33
"tasks": {
44
"compact:security": {
5-
"dependsOn": ["^build"],
6-
"env": ["COMPACT_HOME", "SKIP_ZK"],
7-
"inputs": ["src/security/**/*.compact"],
5+
"dependsOn": [
6+
"^build"
7+
],
8+
"env": [
9+
"COMPACT_HOME",
10+
"SKIP_ZK"
11+
],
12+
"inputs": [
13+
"src/security/**/*.compact"
14+
],
815
"outputLogs": "new-only",
9-
"outputs": ["artifacts/**/"]
16+
"outputs": [
17+
"artifacts/**/"
18+
]
1019
},
1120
"compact:utils": {
12-
"dependsOn": ["^build"],
13-
"env": ["COMPACT_HOME", "SKIP_ZK"],
14-
"inputs": ["src/utils/**/*.compact"],
21+
"dependsOn": [
22+
"^build"
23+
],
24+
"env": [
25+
"COMPACT_HOME",
26+
"SKIP_ZK"
27+
],
28+
"inputs": [
29+
"src/utils/**/*.compact"
30+
],
1531
"outputLogs": "new-only",
16-
"outputs": ["artifacts/**/"]
32+
"outputs": [
33+
"artifacts/**/"
34+
]
1735
},
1836
"compact:access": {
19-
"dependsOn": ["^build", "compact:security", "compact:utils"],
20-
"env": ["COMPACT_HOME", "SKIP_ZK"],
21-
"inputs": ["src/access/**/*.compact"],
37+
"dependsOn": [
38+
"^build",
39+
"compact:security",
40+
"compact:utils"
41+
],
42+
"env": [
43+
"COMPACT_HOME",
44+
"SKIP_ZK"
45+
],
46+
"inputs": [
47+
"src/access/**/*.compact"
48+
],
2249
"outputLogs": "new-only",
23-
"outputs": ["artifacts/**/"]
50+
"outputs": [
51+
"artifacts/**/"
52+
]
2453
},
2554
"compact:archive": {
26-
"dependsOn": ["^build", "compact:utils"],
27-
"env": ["COMPACT_HOME", "SKIP_ZK"],
28-
"inputs": ["src/archive/**/*.compact"],
55+
"dependsOn": [
56+
"^build",
57+
"compact:utils"
58+
],
59+
"env": [
60+
"COMPACT_HOME",
61+
"SKIP_ZK"
62+
],
63+
"inputs": [
64+
"src/archive/**/*.compact"
65+
],
2966
"outputLogs": "new-only",
30-
"outputs": ["artifacts/**/"]
67+
"outputs": [
68+
"artifacts/**/"
69+
]
3170
},
3271
"compact:token": {
33-
"dependsOn": ["^build", "compact:security", "compact:utils"],
34-
"env": ["COMPACT_HOME", "SKIP_ZK"],
35-
"inputs": ["src/token/**/*.compact"],
72+
"dependsOn": [
73+
"^build",
74+
"compact:security",
75+
"compact:utils"
76+
],
77+
"env": [
78+
"COMPACT_HOME",
79+
"SKIP_ZK"
80+
],
81+
"inputs": [
82+
"src/token/**/*.compact"
83+
],
3684
"outputLogs": "new-only",
37-
"outputs": ["artifacts/**/"]
85+
"outputs": [
86+
"artifacts/**/"
87+
]
3888
},
3989
"compact": {
4090
"dependsOn": [
@@ -44,14 +94,26 @@
4494
"compact:archive",
4595
"compact:token"
4696
],
47-
"env": ["COMPACT_HOME", "SKIP_ZK"],
48-
"inputs": ["src/**/*.compact", "test/**/*.compact"],
97+
"env": [
98+
"COMPACT_HOME",
99+
"SKIP_ZK"
100+
],
101+
"inputs": [
102+
"src/**/*.compact",
103+
"test/**/*.compact"
104+
],
49105
"outputLogs": "new-only",
50-
"outputs": ["artifacts/**"]
106+
"outputs": [
107+
"artifacts/**"
108+
]
51109
},
52110
"test": {
53-
"dependsOn": ["^build"],
54-
"env": ["COMPACT_HOME"],
111+
"dependsOn": [
112+
"^build"
113+
],
114+
"env": [
115+
"COMPACT_HOME"
116+
],
55117
"inputs": [
56118
"src/**/*.ts",
57119
"src/**/*.compact",
@@ -62,16 +124,22 @@
62124
"cache": false
63125
},
64126
"build": {
65-
"dependsOn": ["^build"],
66-
"env": ["COMPACT_HOME"],
127+
"dependsOn": [
128+
"^build"
129+
],
130+
"env": [
131+
"COMPACT_HOME"
132+
],
67133
"inputs": [
68134
"src/**/*.ts",
69135
"!src/**/*.test.ts",
70136
"tsconfig.json",
71137
"tsconfig.build.json",
72138
".env"
73139
],
74-
"outputs": ["dist/**"]
140+
"outputs": [
141+
"dist/**"
142+
]
75143
},
76144
"types": {
77145
"dependsOn": [
@@ -89,14 +157,6 @@
89157
"clean": {
90158
"outputs": [],
91159
"cache": false
92-
},
93-
"docs": {
94-
"outputs": [],
95-
"cache": false
96-
},
97-
"docs:watch": {
98-
"outputs": [],
99-
"cache": false
100160
}
101161
}
102-
}
162+
}

0 commit comments

Comments
 (0)