mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-29 12:02:14 -05:00
* [AI] Enable React Compiler for all monorepo packages with React code The compiler was previously scoped to desktop-client/src only. Now: - desktop-client's Vite build also compiles component-library source (consumed as raw source through the same build), covering web, desktop, and mobile bundles - component-library's Storybook and Vitest pipelines apply the compiler so they exercise the same compiled output - docs (Docusaurus) enables babel-plugin-react-compiler for the site's own React components Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdcKq244khwKhedvLCwu7p * [AI] Declare npm-run-all in component-library so its test script resolves Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdcKq244khwKhedvLCwu7p * [AI] Generalize React Compiler include to any workspace package source Match packages/<name>/src instead of enumerating package names, so a future workspace library with React components is compiled automatically. Third-party code stays out via the babel plugin's default node_modules exclude, which applies alongside a custom include. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdcKq244khwKhedvLCwu7p * [AI] Inline component-library test script instead of using npm-run-all Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdcKq244khwKhedvLCwu7p * [AI] Drop React Compiler from docs The docs site is static content with a handful of simple components, so auto-memoization buys nothing there, and an unscoped babel plugin would also process Docusaurus theme code and every MDX page. Reverting keeps the compiler where it pays off: desktop-client and component-library. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdcKq244khwKhedvLCwu7p --------- Co-authored-by: Claude <noreply@anthropic.com>
82 lines
2.8 KiB
JSON
82 lines
2.8 KiB
JSON
{
|
|
"name": "@actual-app/components",
|
|
"version": "0.0.1",
|
|
"license": "MIT",
|
|
"imports": {
|
|
"#tokens": "./src/tokens.ts"
|
|
},
|
|
"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",
|
|
"./themes/palette.css": "./src/themes/palette.css",
|
|
"./themes/light.css": "./src/themes/light.css",
|
|
"./themes/dark.css": "./src/themes/dark.css",
|
|
"./themes/midnight.css": "./src/themes/midnight.css",
|
|
"./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": "ENV=web vitest --run -c vitest.web.config.ts",
|
|
"start:storybook": "storybook dev -p 6006",
|
|
"build:storybook": "storybook build",
|
|
"typecheck": "tsgo -b"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/css": "^11.13.5",
|
|
"react-aria-components": "^1.18.0",
|
|
"usehooks-ts": "^3.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@chromatic-com/storybook": "^5.2.1",
|
|
"@rolldown/plugin-babel": "~0.2.3",
|
|
"@storybook/addon-a11y": "^10.4.4",
|
|
"@storybook/addon-docs": "^10.4.4",
|
|
"@storybook/react-vite": "^10.4.4",
|
|
"@svgr/babel-plugin-add-jsx-attribute": "^8.0.0",
|
|
"@svgr/cli": "^8.1.0",
|
|
"@svgr/core": "^8.1.0",
|
|
"@testing-library/react": "16.3.2",
|
|
"@types/react": "^19.2.17",
|
|
"@typescript/native-preview": "beta",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
"eslint-plugin-storybook": "^10.4.4",
|
|
"react": "19.2.7",
|
|
"react-dom": "19.2.7",
|
|
"storybook": "^10.4.4",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^4.1.8"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "19.2.7",
|
|
"react-dom": "19.2.7"
|
|
}
|
|
}
|