mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
* [AI] Switch typecheck from tsc to tsgo and fix Menu type narrowing * [autofix.ci] apply automated fixes * Add .gitignore for dist directory, update typecheck script in package.json to use -b flag, and remove noEmit option from tsconfig.json files in ci-actions and desktop-electron packages. Introduce typesVersions in loot-core package.json for improved type handling. * Refactor SelectedTransactionsButton to improve type safety and readability. Updated items prop to use spread operator for conditional rendering of menu items, ensuring proper type annotations with MenuItem. This change enhances the clarity of the component's structure and maintains TypeScript compliance. * Update tsconfig.json in desktop-electron package to maintain consistent formatting for plugins section. No functional changes made. * [autofix.ci] apply automated fixes * Update package.json and yarn.lock to add TypeScript 5.8.0 dependency. Adjust typesVersions in loot-core package.json for improved type handling. Enhance tsconfig.json in sync-server package to enable strictFunctionTypes for better type safety. * Enhance tsconfig.json in ci-actions package by adding composite option for improved project references and build performance. * [AI] Revert typescript to 5.9.3 for ts-node compatibility Co-authored-by: Matiss Janis Aboltins <MatissJanis@users.noreply.github.com> * [AI] Update yarn.lock after TypeScript version change Co-authored-by: Matiss Janis Aboltins <MatissJanis@users.noreply.github.com> * Refactor Menu component for improved type safety and readability. Updated type assertions for Menu.line and Menu.label, simplified type checks in filtering and selection logic, and enhanced conditional rendering of menu items. This change ensures better TypeScript compliance and maintains clarity in the component's structure. * Refactor Select and OpenIdForm components to improve type safety and simplify logic. Updated item mapping to handle Menu.line more effectively, enhancing clarity in selection processes. Adjusted SelectedTransactionsButton to streamline item creation and improve readability. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Matiss Janis Aboltins <MatissJanis@users.noreply.github.com>
112 lines
4.5 KiB
JSON
112 lines
4.5 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 --quiet",
|
|
"lint:fix": "oxfmt . && oxlint --fix --type-aware --quiet",
|
|
"install:server": "yarn workspaces focus @actual-app/sync-server --production",
|
|
"typecheck": "tsgo -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",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260309.1",
|
|
"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 --quiet"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"electron >= 35.0",
|
|
"defaults"
|
|
],
|
|
"engines": {
|
|
"node": ">=22",
|
|
"yarn": "^4.9.1"
|
|
},
|
|
"packageManager": "yarn@4.10.3"
|
|
}
|