|
16 | 16 | "build:cli": "yarn workspace @queryleaf/cli build", |
17 | 17 | "build:server": "yarn workspace @queryleaf/server build", |
18 | 18 | "build:pg-server": "yarn workspace @queryleaf/postgres-server build", |
19 | | - "build": "yarn clean && yarn build:lib && yarn build:cli && yarn build:server && yarn build:pg-server", |
| 19 | + "build": "bin/run-all build", |
20 | 20 | "build:references": "tsc --build", |
21 | | - "test": "yarn build:lib test:lib test:cli test:server test:pg-server", |
| 21 | + "test": "bin/run-all test", |
| 22 | + "test:unit": "bin/run-all test:unit", |
| 23 | + "test:integration": "bin/run-all test:integration", |
22 | 24 | "test:lib": "yarn workspace @queryleaf/lib test", |
23 | 25 | "test:cli": "yarn workspace @queryleaf/cli test", |
24 | 26 | "test:server": "yarn workspace @queryleaf/server test", |
25 | 27 | "test:pg-server": "yarn workspace @queryleaf/postgres-server test", |
26 | | - "typecheck": "cd packages/lib && npx tsc --noEmit && cd ../cli && npx tsc --noEmit && cd ../server && npx tsc --noEmit && cd ../postgres-server && npx tsc --noEmit", |
27 | | - "lint": "eslint --ext .ts packages/*/src", |
28 | | - "lint:fix": "eslint --ext .ts --fix packages/*/src", |
| 28 | + "typecheck": "bin/run-all typecheck", |
| 29 | + "lint": "bin/run-all lint", |
| 30 | + "lint:fix": "bin/run-all lint:fix", |
29 | 31 | "format": "prettier --write \"packages/*/src/**/*.ts\"", |
30 | 32 | "format:check": "prettier --check \"packages/*/src/**/*.ts\"", |
31 | 33 | "validate": "yarn typecheck && yarn lint && yarn test && yarn format:check", |
|
0 commit comments