Skip to content

Commit b34343d

Browse files
committed
chore: update build inputs and add ESLint lint target
- Extend build input dependencies to include default inputs - Add a dedicated ESLint lint target - Update the main lint target to depend on ESLint - Enhance test configuration to include default inputs for consistency
1 parent d453c9b commit b34343d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pkgs/core/project.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"build": {
7272
"executor": "@nx/js:tsc",
7373
"dependsOn": ["gen-types"],
74-
"inputs": ["databaseTypes"],
74+
"inputs": ["default", "databaseTypes"],
7575
"options": {
7676
"outputPath": "pkgs/core/dist",
7777
"main": "pkgs/core/src/index.ts",
@@ -107,9 +107,13 @@
107107
"parallel": false
108108
}
109109
},
110+
"lint:eslint": {
111+
"executor": "@nx/eslint:lint",
112+
"inputs": ["default"]
113+
},
110114
"lint": {
111115
"executor": "nx:noop",
112-
"dependsOn": ["lint:sqruff"]
116+
"dependsOn": ["lint:sqruff", "lint:eslint"]
113117
},
114118
"fix-sql": {
115119
"executor": "nx:run-commands",
@@ -189,6 +193,7 @@
189193
"test:vitest": {
190194
"executor": "@nx/vite:test",
191195
"dependsOn": ["build", "verify-gen-types"],
196+
"inputs": ["default", "databaseTypes"],
192197
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
193198
"options": {
194199
"passWithNoTests": true,

0 commit comments

Comments
 (0)