mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 06:02:22 -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>
111 lines
4.4 KiB
JSON
111 lines
4.4 KiB
JSON
{
|
|
"name": "actual",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "A local-first personal finance system",
|
|
"homepage": "https://github.com/actualbudget/actual/",
|
|
"bugs": {
|
|
"url": "https://github.com/actualbudget/actual/issues/"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:actualbudget/actual.git"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"start": "yarn start:browser",
|
|
"start:server": "yarn workspace @actual-app/sync-server start",
|
|
"start:server-monitor": "yarn workspace @actual-app/sync-server start-monitor",
|
|
"start:server-dev": "NODE_ENV=development BROWSER_OPEN=localhost:5006 yarn npm-run-all --parallel 'start:server-monitor' 'start'",
|
|
"start:desktop": "yarn desktop-dependencies && npm-run-all --parallel 'start:desktop-*'",
|
|
"start:docs": "yarn workspace docs start",
|
|
"desktop-dependencies": "npm-run-all --parallel rebuild-electron build:browser-backend build:plugins-service",
|
|
"start:desktop-node": "yarn workspace loot-core watch:node",
|
|
"start:desktop-client": "yarn workspace @actual-app/web watch",
|
|
"start:desktop-server-client": "yarn workspace @actual-app/web build:browser",
|
|
"start:desktop-electron": "yarn workspace desktop-electron watch",
|
|
"start:browser": "yarn workspace plugins-service build-dev && npm-run-all --parallel 'start:browser-*'",
|
|
"start:service-plugins": "yarn workspace plugins-service watch",
|
|
"start:browser-backend": "yarn workspace loot-core watch:browser",
|
|
"start:browser-frontend": "yarn workspace @actual-app/web start:browser",
|
|
"start:storybook": "yarn workspace @actual-app/components start:storybook",
|
|
"build:browser-backend": "yarn workspace loot-core build:browser",
|
|
"build:server": "yarn build:browser && yarn workspace @actual-app/sync-server build",
|
|
"build:browser": "./bin/package-browser",
|
|
"build:desktop": "./bin/package-electron",
|
|
"build:plugins-service": "yarn workspace plugins-service build",
|
|
"build:api": "yarn workspace @actual-app/api build",
|
|
"build:docs": "yarn workspace docs build",
|
|
"build:storybook": "yarn workspace @actual-app/components build:storybook",
|
|
"deploy:docs": "yarn workspace docs deploy",
|
|
"generate:i18n": "yarn workspace @actual-app/web generate:i18n",
|
|
"generate:release-notes": "ts-node ./bin/release-note-generator.ts",
|
|
"test": "lage test --continue",
|
|
"test:debug": "lage test --no-cache --continue",
|
|
"e2e": "yarn workspace @actual-app/web run e2e",
|
|
"e2e:desktop": "yarn build:desktop --skip-exe-build --skip-translations && yarn workspace desktop-electron e2e",
|
|
"playwright": "yarn workspace @actual-app/web run playwright",
|
|
"vrt": "yarn workspace @actual-app/web run vrt",
|
|
"vrt:docker": "./bin/run-vrt",
|
|
"rebuild-electron": "./node_modules/.bin/electron-rebuild -m ./packages/loot-core",
|
|
"rebuild-node": "yarn workspace loot-core rebuild",
|
|
"lint": "oxfmt --check . && oxlint --type-aware",
|
|
"lint:fix": "oxfmt . && oxlint --fix --type-aware",
|
|
"install:server": "yarn workspaces focus @actual-app/sync-server --production",
|
|
"typecheck": "tsc -p tsconfig.root.json --noEmit && lage typecheck",
|
|
"jq": "./node_modules/node-jq/bin/jq",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@octokit/rest": "^22.0.1",
|
|
"@types/node": "^22.19.10",
|
|
"@types/prompts": "^2.4.9",
|
|
"baseline-browser-mapping": "^2.9.19",
|
|
"cross-env": "^10.1.0",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
"eslint-plugin-typescript-paths": "^0.0.33",
|
|
"html-to-image": "^1.11.13",
|
|
"husky": "^9.1.7",
|
|
"lage": "^2.14.17",
|
|
"lint-staged": "^16.2.7",
|
|
"minimatch": "^10.1.2",
|
|
"node-jq": "^6.3.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"oxfmt": "^0.32.0",
|
|
"oxlint": "^1.47.0",
|
|
"oxlint-tsgolint": "^0.13.0",
|
|
"p-limit": "^7.3.0",
|
|
"prompts": "^2.4.2",
|
|
"source-map-support": "^0.5.21",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"resolutions": {
|
|
"rollup": "4.40.1",
|
|
"socks": ">=2.8.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,mjs,jsx,ts,tsx,md,json,yml,yaml}": [
|
|
"oxfmt --no-error-on-unmatched-pattern"
|
|
],
|
|
"*.{js,mjs,jsx,ts,tsx}": [
|
|
"oxlint --fix --type-aware"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"electron >= 35.0",
|
|
"defaults"
|
|
],
|
|
"engines": {
|
|
"node": ">=22",
|
|
"yarn": "^4.9.1"
|
|
},
|
|
"packageManager": "yarn@4.10.3"
|
|
}
|