Repository navigation
Workspace: dependencies declared once, e2e at root, old front removed - #1444
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1435.
What changes
Cargo.tomldeclares every external crate once in[workspace.dependencies](version,default-features, the features every user shares), and the internal crates by path. Each crate takesdep.workspace = trueand adds only its own features oroptional. Where some crates disabled the default features and others did not (chrono,egui), the workspace entry disables them and the crates that had them sayfeatures = ["default"]. Generated by a script, then checked:cargo tree --workspace -e features,normal,build,dev --target allis the same before and after, line for line (only the path ofe2ediffers);Cargo.lockonly gainsresvgin the dev-dependencies ofapp(below).crates/e2e/→e2e/(members, its two paths totarget/,ci.ymlcomments, Sonar sources/tests/exclusions, thesecurity-cargo.ymltrigger).cargo test -p e2eunchanged.reference/angular/(sources, WebdriverIO scenarios, README) is deleted; it stays whole at theangular-referencetag.@tauri-apps/clileavespackage.json, and with itscripts/icons.mjs: the icons are now drawn bycargo 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. Theangularparser override in.prettierrc.jsonand thereference/.angularlines of the ignore files go too.interfacegroup keeps the egui family together; npm is Prettier alone.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 tosrc-tauri/), and the skillsadd-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
release.ymlstill namestauri-action(Release workflow: NSIS, AppImage, deb and rpm packages built and signed #1272) andpackage.json's version check (Version: one workspace version for every crate #1274).docs/architecture.md, the security and releasing guides (Architecture, security and releasing guides rewritten for the new stack #1275), and the Tauri/Angular traps still inCLAUDE.mdand in thebug-investigation,performance-profiling,devnotes-security-review,release-packagingskills (Contributor docs: CLAUDE.md, README, CONTRIBUTING and tour updated #1276, Release workflow: NSIS, AppImage, deb and rpm packages built and signed #1272)..gitignoreand.claude/settings.jsonkeep.tauri/on purpose: it is where the current minisign signing key lives on the maintainer's machine, and the rule keeps it out of commits and out of an agent's reach.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, thencargo test -p e2e --test 01_first_launchunder 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 theSecurity (Cargo)workflow on this pull request.reference/angularandcrates/e2efinds only the changelog and the plan's history.Generated by Claude Code