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>
125 lines
4.9 KiB
JSON
125 lines
4.9 KiB
JSON
{
|
|
"name": "loot-core",
|
|
"version": "0.0.2",
|
|
"description": "",
|
|
"license": "ISC",
|
|
"author": "",
|
|
"main": "index.js",
|
|
"exports": {
|
|
"./client/accounts/*": "./src/client/accounts/*.ts",
|
|
"./client/app/*": "./src/client/app/*.ts",
|
|
"./client/budgets/*": "./src/client/budgets/*.ts",
|
|
"./client/data-hooks/schedules": "./src/client/data-hooks/schedules.tsx",
|
|
"./client/data-hooks/*": "./src/client/data-hooks/*.ts",
|
|
"./client/modals/*": "./src/client/modals/*.ts",
|
|
"./client/notifications/*": "./src/client/notifications/*.ts",
|
|
"./client/prefs/*": "./src/client/prefs/*.ts",
|
|
"./client/queries/*": "./src/client/queries/*.ts",
|
|
"./client/redux": "./src/client/redux/index.ts",
|
|
"./client/store": "./src/client/store/index.ts",
|
|
"./client/store/mock": "./src/client/store/mock.ts",
|
|
"./client/users/*": "./src/client/users/*.ts",
|
|
"./client/platform": {
|
|
"node": "./src/client/platform.electron.ts",
|
|
"default": "./src/client/platform.web.ts"
|
|
},
|
|
"./client/queries": "./src/client/queries.ts",
|
|
"./client/query-helpers": "./src/client/query-helpers.ts",
|
|
"./client/query-hooks": "./src/client/query-hooks.ts",
|
|
"./client/reports": "./src/client/reports.ts",
|
|
"./client/shared-listeners": "./src/client/shared-listeners.ts",
|
|
"./client/SpreadsheetProvider": "./src/client/SpreadsheetProvider.tsx",
|
|
"./client/transfer": "./src/client/transfer.ts",
|
|
"./client/undo": "./src/client/undo.ts",
|
|
"./mocks": "./src/mocks/index.ts",
|
|
"./platform/client/connection": {
|
|
"node": "./src/platform/client/connection/index.ts",
|
|
"default": "./src/platform/client/connection/index.browser.ts"
|
|
},
|
|
"./platform/client/undo": "./src/platform/client/undo/index.ts",
|
|
"./platform/exceptions": "./src/platform/exceptions/index.ts",
|
|
"./platform/server/asyncStorage": "./src/platform/server/asyncStorage/index.ts",
|
|
"./platform/server/connection": "./src/platform/server/connection/index.ts",
|
|
"./platform/server/fetch": "./src/platform/server/fetch/index.ts",
|
|
"./platform/server/fs": "./src/platform/server/fs/index.ts",
|
|
"./platform/server/log": "./src/platform/server/log/index.ts",
|
|
"./platform/server/sqlite": "./src/platform/server/sqlite/index.ts",
|
|
"./server/budget/types/*": "./src/server/budget/types/*.d.ts",
|
|
"./server/*": "./src/server/*.ts",
|
|
"./shared/*": "./src/shared/*.ts",
|
|
"./types/models": "./src/types/models/index.d.ts",
|
|
"./types/*": "./src/types/*.d.ts",
|
|
"./lib-dist/electron/bundle.desktop.js": "./lib-dist/electron/bundle.desktop.js"
|
|
},
|
|
"scripts": {
|
|
"build:node": "cross-env NODE_ENV=production vite build --config ./vite.desktop.config.ts",
|
|
"watch:node": "cross-env NODE_ENV=development vite build --config ./vite.desktop.config.ts --watch",
|
|
"build:api": "cross-env NODE_ENV=development ./bin/build-api",
|
|
"build:browser": "cross-env NODE_ENV=production ./bin/build-browser",
|
|
"watch:browser": "cross-env NODE_ENV=development ./bin/build-browser",
|
|
"generate:i18n": "i18next",
|
|
"test": "npm-run-all -cp 'test:*'",
|
|
"test:node": "ENV=node vitest --run",
|
|
"test:web": "ENV=web vitest --run -c vitest.web.config.ts",
|
|
"typecheck": "tsc --noEmit && tsc-strict"
|
|
},
|
|
"dependencies": {
|
|
"@jlongster/sql.js": "^1.6.7",
|
|
"@reduxjs/toolkit": "^2.11.2",
|
|
"@rschedule/core": "^1.5.0",
|
|
"@rschedule/json-tools": "^1.5.0",
|
|
"@rschedule/standard-date-adapter": "^1.5.0",
|
|
"absurd-sql": "0.0.54",
|
|
"adm-zip": "patch:adm-zip@npm%3A0.5.16#~/.yarn/patches/adm-zip-npm-0.5.16-4556fea098.patch",
|
|
"better-sqlite3": "^12.6.2",
|
|
"csv-parse": "^6.1.0",
|
|
"csv-stringify": "^6.6.0",
|
|
"date-fns": "^4.1.0",
|
|
"deep-equal": "^2.2.3",
|
|
"handlebars": "^4.7.8",
|
|
"lru-cache": "^11.2.5",
|
|
"md5": "^2.3.0",
|
|
"memoize-one": "^6.0.0",
|
|
"mitt": "^3.0.1",
|
|
"slash": "5.1.0",
|
|
"typescript": "^5.9.3",
|
|
"typescript-strict-plugin": "^2.4.4",
|
|
"ua-parser-js": "^2.0.9",
|
|
"uuid": "^13.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@actual-app/api": "workspace:^",
|
|
"@actual-app/crdt": "workspace:^",
|
|
"@actual-app/web": "workspace:^",
|
|
"@swc/core": "^1.15.11",
|
|
"@types/adm-zip": "^0.5.7",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/emscripten": "^1.41.5",
|
|
"@types/jlongster__sql.js": "npm:@types/sql.js@latest",
|
|
"@types/node": "^22.19.10",
|
|
"@types/pegjs": "^0.10.6",
|
|
"assert": "^2.1.0",
|
|
"browserify-zlib": "^0.2.0",
|
|
"buffer": "^6.0.3",
|
|
"cross-env": "^10.1.0",
|
|
"fake-indexeddb": "^6.2.5",
|
|
"fast-check": "4.5.3",
|
|
"i18next": "^25.8.4",
|
|
"jest-diff": "^30.2.0",
|
|
"jsverify": "^0.8.4",
|
|
"mockdate": "^3.0.5",
|
|
"npm-run-all": "^4.1.5",
|
|
"path-browserify": "^1.0.1",
|
|
"peggy": "5.0.6",
|
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
"stream-browserify": "^3.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.3.1",
|
|
"vite-plugin-node-polyfills": "^0.25.0",
|
|
"vite-plugin-peggy-loader": "^2.0.1",
|
|
"vitest": "^4.0.18",
|
|
"yargs": "^18.0.0"
|
|
}
|
|
}
|