@@ -89,7 +89,7 @@ function runClientChecks() {
89
89
// Run client lint
90
90
console.log('Running client lint checks...');
91
91
try {
92
- const lintOutput = execSync('cd app/client && npm run lint', { encoding: 'utf8' });
92
+ const lintOutput = execSync('cd app/client && yarn lint', { encoding: 'utf8' });
93
93
results.output.push('✅ Client lint passed');
94
94
} catch (error) {
95
95
results.success = false;
@@ -100,7 +100,7 @@ function runClientChecks() {
100
100
// Run client unit tests
101
101
console.log('Running client unit tests...');
102
102
try {
103
- const testOutput = execSync('cd app/client && npm run test', { encoding: 'utf8' });
103
+ const testOutput = execSync('cd app/client && yarn test', { encoding: 'utf8' });
104
104
results.output.push('✅ Client unit tests passed');
105
105
} catch (error) {
106
106
results.success = false;
@@ -111,7 +111,7 @@ function runClientChecks() {
111
111
// Check for cyclic dependencies
112
112
console.log('Checking for cyclic dependencies...');
113
113
try {
114
- const cyclicCheckOutput = execSync('cd app/client && npm run check-circular-deps', { encoding: 'utf8' });
114
+ const cyclicCheckOutput = execSync('cd app/client && yarn check-circular-deps', { encoding: 'utf8' });
115
115
results.output.push('✅ No cyclic dependencies found');
116
116
} catch (error) {
117
117
results.success = false;
@@ -122,7 +122,7 @@ function runClientChecks() {
122
122
// Run prettier check
123
123
console.log('Running prettier check...');
124
124
try {
125
- const prettierOutput = execSync('cd app/client && npm run prettier', { encoding: 'utf8' });
125
+ const prettierOutput = execSync('cd app/client && yarn prettier', { encoding: 'utf8' });
126
126
results.output.push('✅ Prettier check passed');
127
127
} catch (error) {
128
128
results.success = false;
@@ -284,7 +284,7 @@ This rule runs automatically on pre-commit events. You can also manually trigger
284
284
285
285
### Requirements
286
286
287
- - Node.js and npm for client-side checks
287
+ - Node.js and yarn for client-side checks
288
288
- Java and Gradle for server-side checks
289
289
- Git for determining changed files
290
290
0 commit comments