mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
* [AI] Fix duplicate typechecking by consolidating into lage Previously `yarn typecheck` ran: 1. `tsc -b` (type-checks all packages via project references) 2. `tsc -p tsconfig.root.json --noEmit` (checks root bin/*.ts) 3. `lage typecheck` (runs `tsc --noEmit` per package - duplicate!) Now it runs: 1. `tsc -p tsconfig.root.json --noEmit` (checks root bin/*.ts) 2. `lage typecheck` (handles everything via dependency ordering) Changes: - Remove `tsc -b` from root typecheck script - Add `dependsOn: ["^typecheck"]` to lage config for correct ordering - Change per-package typecheck from `tsc --noEmit` to `tsc -b` so declarations are emitted for dependent packages https://claude.ai/code/session_01P7mtAHphD6f1FsnQRwWBaW * Add release notes for PR #7180 --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
35 lines
692 B
JavaScript
35 lines
692 B
JavaScript
/** @type {import('lage').ConfigOptions} */
|
|
module.exports = {
|
|
pipeline: {
|
|
typecheck: {
|
|
type: 'npmScript',
|
|
dependsOn: ['^typecheck'],
|
|
},
|
|
test: {
|
|
type: 'npmScript',
|
|
options: {
|
|
outputGlob: [
|
|
'coverage/**',
|
|
'**/test-results/**',
|
|
'**/playwright-report/**',
|
|
],
|
|
},
|
|
},
|
|
build: {
|
|
type: 'npmScript',
|
|
cache: true,
|
|
options: {
|
|
outputGlob: ['lib-dist/**', 'dist/**', 'build/**'],
|
|
},
|
|
},
|
|
},
|
|
cacheOptions: {
|
|
cacheStorageConfig: {
|
|
provider: 'local',
|
|
outputGlob: ['lib-dist/**', 'dist/**', 'build/**'],
|
|
},
|
|
},
|
|
npmClient: 'yarn',
|
|
concurrency: 2,
|
|
};
|