Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

build(app): add three, bump protobuf, drop vitest, old scripts

Hampus2470e4b7fdc2
diff --git a/fluxer_app/package.json b/fluxer_app/package.json
index 8ba9edafd..2c9c54e16 100644
--- a/fluxer_app/package.json
+++ b/fluxer_app/package.json
@@ -20,14 +20,8 @@
"build:renderer": "FLUXER_DESKTOP_RENDERER=true rspack build --mode production",
"codegen": "pnpm wasm:codegen && pnpm generate:colors && pnpm generate:message-layout && pnpm generate:theme-variables && pnpm generate:masks && pnpm generate:css-types && pnpm lingui:compile",
"dev": "TOKIO_WORKER_THREADS=4 RAYON_NUM_THREADS=4 ../tools/ci/run.sh app-dev-server",
- "test": "vitest run",
- "bench:member-list": "vitest bench --run src/features/member/utils/MemberListRangeUtils.bench.ts",
- "bench:gif-picker": "vitest bench --run src/features/channel/components/pickers/gif/GifPickerStateMachine.bench.ts src/features/channel/components/pickers/gif/GifPickerGridData.bench.ts src/features/channel/components/pickers/gif/GifPickerLoadingSkeletonGridLayout.bench.ts",
- "bench:messages": "vitest bench --run src/features/channel/components/ChannelMessageStreamUtils.bench.ts src/features/messaging/components/markdown/MarkdownRendering.bench.ts src/features/channel/components/MessageAttachmentUtils.bench.ts src/features/messaging/utils/MessagePaginationUtils.bench.ts src/features/messaging/state/ReactionStateMachine.bench.ts",
- "test:watch": "vitest",
"typecheck": "pnpm wasm:codegen && pnpm generate:colors && pnpm generate:message-layout && pnpm generate:theme-variables && pnpm generate:masks && pnpm generate:css-types && pnpm lingui:compile && tsc --noEmit",
"typecheck:only": "tsc --noEmit",
- "check:message-layout": "pnpm tsx scripts/GenerateMessageLayoutCss.ts --check",
"generate:colors": "pnpm tsx scripts/GenerateColorSystem.ts",
"generate:css-types": "pnpm tsx scripts/GenerateCssTypes.ts",
"generate:css-types:watch": "pnpm tsx scripts/GenerateCssTypes.ts --watch",
@@ -38,13 +32,11 @@
"theming:data-flx:check": "node scripts/add-data-flx-attributes.mjs --check",
"theming:data-flx:dry": "node scripts/add-data-flx-attributes.mjs --dry-run",
"theming:data-flx:write": "node scripts/add-data-flx-attributes.mjs --write",
- "i18n:auto": "cargo run --quiet --manifest-path ../tools/i18n_auto/Cargo.toml",
"i18n:compile": "pnpm lingui:compile",
"i18n:extract": "pnpm lingui:extract",
- "i18n:refresh": "pnpm i18n:extract && pnpm i18n:auto && pnpm i18n:compile",
+ "i18n:refresh": "pnpm i18n:extract && pnpm i18n:compile",
"lingui:compile": "lingui compile --strict",
"lingui:extract": "lingui extract --clean",
- "tsc:all": "pnpm wasm:codegen && pnpm tsc -p tsconfig.json",
"wasm:codegen": "../tools/ci/run.sh build-app-wasm"
},
"browserslist": [
@@ -164,7 +156,7 @@
"@arborium/zig": "2.18.2",
"@arborium/zsh": "2.18.2",
"@base-ui/react": "catalog:",
- "@bufbuild/protobuf": "^2.15.0",
+ "@bufbuild/protobuf": "^2.16.0",
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-css": "^6.3.1",
@@ -179,6 +171,7 @@
"@fluxer/geo_utils": "workspace:*",
"@fluxer/instance_bootstrap": "workspace:*",
"@fluxer/limits": "workspace:*",
+ "@fluxer/number_utils": "workspace:*",
"@fluxer/record_utils": "workspace:*",
"@fluxer/schema": "workspace:*",
"@fluxer/snowflake": "workspace:*",
@@ -235,6 +228,7 @@
"react-hook-form": "catalog:",
"react-hotkeys-hook": "catalog:",
"rxjs": "catalog:",
+ "three": "catalog:",
"thumbhash": "catalog:",
"tiny-invariant": "catalog:",
"unique-names-generator": "catalog:",
@@ -245,7 +239,6 @@
},
"devDependencies": {
"@babel/parser": "8.0.5",
- "@fluxer/errors": "workspace:*",
"@lingui/cli": "catalog:",
"@lingui/format-po": "catalog:",
"@lingui/swc-plugin": "catalog:",
@@ -260,11 +253,10 @@
"@types/qrcode": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
+ "@types/three": "catalog:",
"@webgpu/types": "catalog:",
"autoprefixer": "catalog:",
"esbuild": "catalog:",
- "fake-indexeddb": "catalog:",
- "happy-dom": "20.14.5",
"postcss": "catalog:",
"postcss-discard-comments": "catalog:",
"postcss-loader": "catalog:",
@@ -272,8 +264,7 @@
"sharp": "catalog:",
"tsx": "catalog:",
"typed-css-modules": "catalog:",
- "typescript": "catalog:ts7",
- "vitest": "catalog:"
+ "typescript": "catalog:ts7"
},
"packageManager": "[email protected]"
}