mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 20:40:08 -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>
68 lines
2.3 KiB
JSON
68 lines
2.3 KiB
JSON
{
|
|
"name": "@actual-app/components",
|
|
"version": "0.0.1",
|
|
"license": "MIT",
|
|
"exports": {
|
|
"./hooks/*": "./src/hooks/*.ts",
|
|
"./icons/logo": "./src/icons/logo/index.ts",
|
|
"./icons/v0": "./src/icons/v0/index.ts",
|
|
"./icons/v1": "./src/icons/v1/index.ts",
|
|
"./icons/v2": "./src/icons/v2/index.ts",
|
|
"./icons/AnimatedLoading": "./src/icons/AnimatedLoading.tsx",
|
|
"./icons/Loading": "./src/icons/Loading.tsx",
|
|
"./aligned-text": "./src/AlignedText.tsx",
|
|
"./block": "./src/Block.tsx",
|
|
"./button": "./src/Button.tsx",
|
|
"./card": "./src/Card.tsx",
|
|
"./form-error": "./src/FormError.tsx",
|
|
"./initial-focus": "./src/InitialFocus.ts",
|
|
"./inline-field": "./src/InlineField.tsx",
|
|
"./input": "./src/Input.tsx",
|
|
"./label": "./src/Label.tsx",
|
|
"./menu": "./src/Menu.tsx",
|
|
"./paragraph": "./src/Paragraph.tsx",
|
|
"./popover": "./src/Popover.tsx",
|
|
"./select": "./src/Select.tsx",
|
|
"./space-between": "./src/SpaceBetween.tsx",
|
|
"./styles": "./src/styles.ts",
|
|
"./text": "./src/Text.tsx",
|
|
"./text-one-line": "./src/TextOneLine.tsx",
|
|
"./theme": "./src/theme.ts",
|
|
"./tokens": "./src/tokens.ts",
|
|
"./toggle": "./src/Toggle.tsx",
|
|
"./tooltip": "./src/Tooltip.tsx",
|
|
"./view": "./src/View.tsx",
|
|
"./color-picker": "./src/ColorPicker.tsx"
|
|
},
|
|
"scripts": {
|
|
"generate:icons": "rm src/icons/*/*.tsx; cd src/icons && svgr --template template.ts --index-template index-template.ts --typescript --expand-props start -d . .",
|
|
"test": "npm-run-all -cp 'test:*'",
|
|
"test:web": "ENV=web vitest --run -c vitest.web.config.ts",
|
|
"start:storybook": "storybook dev -p 6006",
|
|
"build:storybook": "storybook build",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/css": "^11.13.5",
|
|
"react-aria-components": "^1.15.1",
|
|
"usehooks-ts": "^3.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@chromatic-com/storybook": "^5.0.0",
|
|
"@storybook/addon-a11y": "^10.2.7",
|
|
"@storybook/addon-docs": "^10.2.7",
|
|
"@storybook/react-vite": "^10.2.7",
|
|
"@svgr/cli": "^8.1.0",
|
|
"@types/react": "^19.2.5",
|
|
"eslint-plugin-storybook": "^10.2.7",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"storybook": "^10.2.7",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.2",
|
|
"react-dom": ">=19.2"
|
|
}
|
|
}
|