Skip to content

Commit 401b494

Browse files
committed
refactor(nx): remove auto-fix-deps target and simplify build dependencies
1 parent 0473f61 commit 401b494

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

nx.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,9 @@
1313
},
1414
"targetDefaults": {
1515
"build": {
16-
"dependsOn": ["auto-fix-deps", "^build"],
16+
"dependsOn": ["^build"],
1717
"cache": true
1818
},
19-
"auto-fix-deps": {
20-
"cache": true,
21-
"inputs": ["{projectRoot}/src/**/*", "{projectRoot}/package.json"],
22-
"outputs": ["{projectRoot}/package.json"]
23-
},
2419
"check-deps": {
2520
"executor": "nx:run-commands",
2621
"options": {

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"go": "bun run build && bun link-all",
88
"build": "bun unlink-all && nx run-many --parallel=false --target=build --all --exclude=wrapped-keys,wrapped-keys-lit-actions && bun run prettier",
99
"build:affected": "nx affected --target=build --exclude=wrapped-keys,wrapped-keys-lit-actions",
10-
"auto-fix-deps": "bun scripts/auto-fix-deps.mjs",
1110
"check-deps": "npx nx run-many --target=check-deps --exclude=wrapped-keys,wrapped-keys-lit-actions",
1211
"validate": "npm run check-deps && npm run build",
1312
"test:local": "node ./local-tests/build.mjs && dotenvx run --env-file=.env -- node ./local-tests/build/test.mjs",

packages/networks/project.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,8 @@
2121
"command": "depcheck"
2222
}
2323
},
24-
"auto-fix-deps": {
25-
"executor": "nx:run-commands",
26-
"options": {
27-
"command": "echo 'Dependencies auto-fixed by global script'"
28-
}
29-
},
3024
"lint": {
31-
"executor": "@nx/linter:eslint",
25+
"execu,tor": "@nx/linter:eslint",
3226
"outputs": ["{options.outputFile}"],
3327
"options": {
3428
"lintFilePatterns": ["packages/networks/**/*.ts"]

0 commit comments

Comments
 (0)