Skip to content

Workspace: dependencies declared once, e2e at root, old front removed - #1444

Merged
vmillet-dev merged 1 commit into
dev/1.0.0from
claude/workspace-deps-e2e
Nov 9, 2026
Merged

vmillet-dev merged 1 commit into
dev/1.0.0from
claude/workspace-deps-e2e

Conversation

@vmillet-dev

Copy link
Copy Markdown
Owner

Closes #1435.

What changes

  • One list of dependencies: the root Cargo.toml declares every external crate once in [workspace.dependencies] (version, default-features, the features every user shares), and the internal crates by path. Each crate takes dep.workspace = true and adds only its own features or optional. Where some crates disabled the default features and others did not (chrono, egui), the workspace entry disables them and the crates that had them say features = ["default"]. Generated by a script, then checked: cargo tree --workspace -e features,normal,build,dev --target all is the same before and after, line for line (only the path of e2e differs); Cargo.lock only gains resvg in the dev-dependencies of app (below).
  • The driver at the root: crates/e2e/ → e2e/ (members, its two paths to target/, ci.yml comments, Sonar sources/tests/exclusions, the security-cargo.yml trigger). cargo test -p e2e unchanged.
  • The old front end leaves the tree: reference/angular/ (sources, WebdriverIO scenarios, README) is deleted; it stays whole at the angular-reference tag. @tauri-apps/cli leaves package.json, and with it scripts/icons.mjs: the icons are now drawn by cargo run -p app --example icons (resvg, already in the workspace) — pixel for pixel the same PNGs as before (checked with Pillow, zero difference), the committed files are kept. The Windows Store logos (Square*Logo.png, StoreLogo.png) that only Tauri used are removed. The angular parser override in .prettierrc.json and the reference/.angular lines of the ignore files go too.
  • Dependabot: the Tauri, specta, Angular, TipTap, CodeMirror, WebdriverIO, Vitest, ESLint and TypeScript entries are gone (no manifest names them any more); an interface group keeps the egui family together; npm is Prettier alone.
  • Decisions first: D32 (the Angular application leaves the tree at 1.0.0, icons drawn by the example) and D33 (one manifest, driver at the root) in the plan's § 11, then § 3.1, § 8.3, Annex D; docs/architecture.md (tree, the three « Angular reference » notes, theming source, the scenarios section), CLAUDE.md (the « Angular application is kept » paragraph, the porting rule, E2E and icons commands, the dependency rule), CONTRIBUTING.md (intro, layout, scripts), README.md (its logo pointed to src-tauri/), and the skills add-feature, egui-ui, desktop-e2e-testing, rust-guidelines. Comments in the core that still named Tauri are reworded.

Left to the other tickets of the milestone

Tests

  • cargo fmt --all --check, cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: pass.
  • cargo test --workspace --exclude e2e --locked: pass (30 test binaries, 0 failed).
  • cargo build -p app --features e2e --target-dir target/e2e, then cargo test -p e2e --test 01_first_launch under xvfb from the new location: pass (7 steps, 2.9 s). The whole suite runs in CI on this pull request.
  • npx prettier --check .: pass.
  • cargo deny check: left to the Security (Cargo) workflow on this pull request.
  • A search for reference/angular and crates/e2e finds only the changelog and the plan's history.

Generated by Claude Code

Every external crate is declared once in the root [workspace.dependencies];
the end-to-end driver moves to e2e/; reference/angular, the Tauri CLI and
their Dependabot entries leave the tree (whole at the angular-reference tag).
The icons are drawn by `cargo run -p app --example icons`.

Closes #1435

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U9wKqFskQrYXJ3B9dcPcRQ
@vmillet-dev
vmillet-dev merged commit 5e99913 into dev/1.0.0 Nov 9, 2026
9 of 10 checks passed
@vmillet-dev
vmillet-dev deleted the claude/workspace-deps-e2e branch November 9, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants