9 Commits

Author SHA1 Message Date
LiBr
c6bf32c426 update scripts and credits description 2026-04-13 20:05:57 +08:00
LiBr
953f06f908 update license 2026-04-13 19:43:53 +08:00
LiBr
749ca00b5d update credits 2026-04-13 18:13:14 +08:00
LiBr
fb46b1ff9e update 2026-04-13 18:10:44 +08:00
LiBr
f778060b79 refactor: Rename 2026-04-13 17:39:00 +08:00
Lakr
afec333aa0 refactor: migrate frontend to React + Tailwind, add Docker + tests
Replace the vanilla-TS innerHTML frontend with a type-checked React
component tree (React 19 + Tailwind v4 + Vite).

Frontend:
- 14 components: Header, Stepper, LoginPage, LoginModal, SignPage,
  DropZone, DevicePicker, ProgressCard, SavedAccountsList, TrustModal,
  TwoFactorModal, Button, Field, Chip, Modal
- lib/ extracts: storage (10 localStorage keys preserved), pair-record,
  account-session, log-parser, ids, use-log hook
- flows/ encapsulate async pair/login/sign/install with dependency injection
- Accounts page as main view with Add Account modal
- Fullscreen progress overlay during sign/install
- Account selector + device picker on Sign page
- Security notice in login modal (server trust warning)
- All addLog calls mirrored to console.log for devtools debugging

Build:
- bun run dev: submodule init + install + wasm dist + vite + wrangler
- bun run setup: one-shot project bootstrap
- Docker: multi-stage bun build → nginx on :3000
- build:wasm:dist copies pre-built src→dist (no Rust/Emscripten needed)
- jszip/node-forge/fflate pre-bundled for CJS→ESM conversion

Tests:
- 163 vitest tests (happy-dom): all lib, components, App integration,
  WASM dist artifact checks, libcurl Apple connectivity, anisette init
  error handling

Cleanup:
- Delete yarn.lock (bun.lock canonical), expand .gitignore
- Remove README.zh.md, rewrite README.md + AGENTS.md
- Update libcurl.js submodule to f65d440 (CI build artifacts)
2026-04-13 17:02:45 +08:00
LiBr
72123cc922 more refactor 2026-04-10 20:34:14 +08:00
LiBr
8d31144741 refactor directory 2026-04-10 08:53:51 +08:00
libr
ae4c58e56d init 2026-03-03 10:12:22 +08:00