Node source (Python) and the JSON dialog share one CodeMirror editor with find and replace, autocomplete, folding, indent guides, comment toggle and a JSON lint, themed from the CSS tokens so light and dark follow the .dark class without a second palette. Programmatic value changes no longer fire onChange, blur ignores focus moving into the find bar, readOnly keeps selection and copy. The editor chunk is 470 kB (157 kB gzipped) against 2.7 MB (704 kB) for Monaco, which also pulled in a 1.2 MB JSON mode, two workers and a font. At 4x CPU on slow 4G a node panel is ready in 5.7 s instead of 10.8 s, the JSON dialog in 1.5 s instead of 6.7 s. Typing without a key delay keeps every character. monaco-editor, @monaco-editor/react and the dompurify override are removed. Specs: typed code reaches the node source, a JSON setting saves only text that parses. Docs name Tab and Ctrl-M. Claude-Session: https://claude.ai/code/session_01SSi5AvZ7pFmySK8zy3NPMh
21 lines
468 B
JSON
21 lines
468 B
JSON
{
|
|
"name": "fluksio-app",
|
|
"private": true,
|
|
"license": "AGPL-3.0-or-later",
|
|
"workspaces": [
|
|
"frontend"
|
|
],
|
|
"overrides": {
|
|
"handlebars": "^4.7.10",
|
|
"tar": "^7.5.7",
|
|
"zod": "^4.6.6"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun run --filter frontend dev",
|
|
"lint": "bun run --filter frontend lint",
|
|
"format": "bun run --filter frontend format",
|
|
"test": "bun run --filter frontend test",
|
|
"test:ui": "bun run --filter frontend test:ui"
|
|
}
|
|
}
|