Skip to content

Use workspace dependency management#15412

Open
sftse wants to merge 3 commits into
tauri-apps:devfrom
sftse:ws-deps
Open

Use workspace dependency management#15412
sftse wants to merge 3 commits into
tauri-apps:devfrom
sftse:ws-deps

Conversation

@sftse

@sftse sftse commented May 18, 2026

Copy link
Copy Markdown
Contributor

We can simplify dependency management a bit by centralizing the workspace-internal dependencies.

@sftse sftse requested a review from a team as a code owner May 18, 2026 09:53
@FabianLars

Copy link
Copy Markdown
Member

I was just about to ping @jbolda to ask whether covector supports this but CI already answered my question 😂

@FabianLars

Copy link
Copy Markdown
Member

I do like this approach though so maybe we can fix covector

@Tunglies

Copy link
Copy Markdown
Contributor

Any plan for workspace lint rules?

@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through 207a102

There are 1 changes which include tauri with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri 2.11.3 2.11.4

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@Legend-Master

Copy link
Copy Markdown
Contributor

Any plan for workspace lint rules?

@Tunglies Not yet, you can open an issue on which lint rules do you want to enable and we can discuss there

I was just about to ping @jbolda to ask whether covector supports this but CI already answered my question 😂

@FabianLars I couldn't remember what was the problem back then, it seems to work at least in this run https://github.com/tauri-apps/tauri/actions/runs/28021124759/job/82937404412?pr=15412

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this a lot, but we probably need to fix the feature flags first since some of them actually depends on the default features

@FabianLars

Copy link
Copy Markdown
Member

This was the error https://github.com/tauri-apps/tauri/actions/runs/26026811997/job/76506308250 - i think it still does not work but there are no subcrate (eg tauri-utils instead of tauri) changefiles anymore so it doesn't check.

@sftse

sftse commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

I like this a lot, but we probably need to fix the feature flags first since some of them actually depends on the default features

Can you explain?

Just seen I missed a spot or two that are using their own paths instead of the workspace deps.

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty much every example basically

serde_json = "1"
serde = { version = "1", features = ["derive"] }
tauri = { path = "../../../../crates/tauri", features = [] }
tauri = { workspace = true }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs wry, as well as the other bench crates


[dependencies]
tauri = { path = "../../../../crates/tauri" }
tauri = { workspace = true }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also require wry

"codegen",
"isolation",
] }
tauri-build = { workspace = true, features = ["codegen", "isolation"] }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This as well

@jbolda

jbolda commented Jul 3, 2026

Copy link
Copy Markdown
Member

Following up here as we had conversations on other mediums. Working through this support in covector which should land soon. Had a lot of blocking upgrades that I needed to land first. They did though and @johncarmack1984 already had the PR rolling for adding this support 🙌 .

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.

5 participants