Files
actual-actualbudget/packages/sync-server/package.json
Matiss Janis Aboltins 31a027fc64 [AI] Add per-package tsconfigs and typescript-strict-plugin for typecheck (#7019)
* [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>
2026-02-21 21:26:22 +00:00

72 lines
2.6 KiB
JSON

{
"name": "@actual-app/sync-server",
"version": "26.2.0",
"description": "actual syncing server",
"license": "MIT",
"bin": {
"actual-server": "./build/bin/actual-server.js"
},
"files": [
"build",
"LICENSE",
"README.md"
],
"type": "module",
"scripts": {
"start": "yarn build && node build/app",
"start-monitor": "nodemon --exec 'yarn build && node build/app' --ignore './build/**/*' --ext 'ts,js' build/app",
"build": "tsc && yarn add-import-extensions && yarn copy-static-assets",
"typecheck": "tsc --noEmit && tsc-strict",
"add-import-extensions": "node bin/add-import-extensions.mjs",
"copy-static-assets": "rm -rf build/src/sql && cp -r src/sql build/src/sql",
"test": "NODE_ENV=test NODE_OPTIONS='--experimental-vm-modules --import ./register-loader.mjs --trace-warnings' vitest --run",
"db:migrate": "yarn build && cross-env NODE_ENV=development node build/src/scripts/run-migrations.js up",
"db:downgrade": "yarn build && cross-env NODE_ENV=development node build/src/scripts/run-migrations.js down",
"db:test-migrate": "yarn build && cross-env NODE_ENV=test node build/src/scripts/run-migrations.js up",
"db:test-downgrade": "yarn build && cross-env NODE_ENV=test node build/src/scripts/run-migrations.js down",
"reset-password": "yarn build && node build/src/scripts/reset-password.js",
"disable-openid": "yarn build && node build/src/scripts/disable-openid.js",
"health-check": "yarn build && node build/src/scripts/health-check.js"
},
"dependencies": {
"@actual-app/crdt": "2.1.0",
"@actual-app/web": "workspace:*",
"bcrypt": "^6.0.0",
"better-sqlite3": "^12.6.2",
"convict": "^6.2.4",
"cors": "^2.8.6",
"date-fns": "^4.1.0",
"debug": "^4.4.3",
"express": "^5.2.1",
"express-rate-limit": "^8.2.1",
"express-winston": "^4.2.0",
"ipaddr.js": "^2.3.0",
"jws": "^4.0.1",
"migrate": "^2.1.0",
"nordigen-node": "^1.4.1",
"openid-client": "^5.7.1",
"pluggy-sdk": "^0.83.0",
"uuid": "^13.0.0",
"winston": "^3.19.0"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-typescript": "^7.28.5",
"@types/babel__core": "^7",
"@types/bcrypt": "^6.0.0",
"@types/better-sqlite3": "^7.6.13",
"@types/convict": "^6",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/express-actuator": "^1.8.3",
"@types/node": "^22.19.10",
"@types/supertest": "^6.0.3",
"http-proxy-middleware": "^3.0.5",
"nodemon": "^3.1.11",
"supertest": "^7.2.2",
"typescript": "^5.9.3",
"typescript-strict-plugin": "^2.4.4",
"vitest": "^4.0.18"
}
}