mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
* [AI] Add per-package tsconfigs and typescript-strict-plugin for typecheck Co-authored-by: Cursor <cursoragent@cursor.com> * Update TypeScript configuration across multiple packages to correct plugin path key from "path" to "paths" and add reference to process-worker typings in index.electron.ts. * Remove reference to process-worker typings in index.electron.ts and add new process-worker typings file for global Process augmentation. * Refactor TypeScript build configurations across multiple packages by removing tsconfig.dist.json files and updating build scripts to use default TypeScript compilation. Adjusted compiler options to target ES2021 and enable declaration generation. * Update TypeScript configuration in api package to refine include and exclude patterns for better file management. * Update build script in api package to ensure migration SQL files are copied to the correct directory by creating the destination folder if it doesn't exist. * Update TypeScript configurations in crdt and desktop-electron packages to refine include and exclude patterns for improved file management. * Update TypeScript dependencies across multiple packages to include typescript-strict-plugin for enhanced type checking and maintain consistency in package.json files. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
34 lines
659 B
JavaScript
34 lines
659 B
JavaScript
/** @type {import('lage').ConfigOptions} */
|
|
module.exports = {
|
|
pipeline: {
|
|
typecheck: {
|
|
type: 'npmScript',
|
|
},
|
|
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,
|
|
};
|