Skip to content

fix: publish a README with the tauri-plugin-module-federation crate - #34

Merged
Nsttt merged 1 commit into
mainfrom
fix/crate-readme
Nov 5, 2026
Merged

Nsttt merged 1 commit into
mainfrom
fix/crate-readme

Conversation

@Nsttt

@Nsttt Nsttt commented Nov 5, 2026

Copy link
Copy Markdown
Member

Problem

tauri-plugin-module-federation 1.0.0 shows "appears to have no README.md file" on crates.io. Cargo only packages a README that sits in the crate's own directory (or one named by readme in the manifest). The repo's README lives at the root and the npm package has its own in packages/tauri, so packages/tauri-plugin shipped without one.

Change

  • packages/tauri-plugin/README.md: a crate-focused README covering what the plugin does, install (cargo add plus the required @module-federation/tauri runtime plugin), init/Builder usage, the offline behavior table, and links to the docs. Links are absolute GitHub URLs so they resolve on crates.io. The stated defaults (cache folder module-federation, 10 s connect/read timeouts, rollback only in release builds) match Builder::default().
  • Cargo.toml: sets readme = "README.md" explicitly.
  • ci.yml: fails CI if cargo package --list stops including README.md, so this can't regress silently.

Release

A published crate version can't be edited, so the README reaches crates.io with the next release. This is a fix:, so release-please will propose 1.0.1 for both the crate and @module-federation/tauri.

Verification

  • cargo package --locked now packages 17 files including README.md, builds from the tarball, and the packaged Cargo.toml carries readme = "README.md".
  • The new CI step passes locally under bash -eo pipefail.
  • pnpm release:sync:check and cargo fmt --all --check pass.

@pkg-pr-new

pkg-pr-new Bot commented Nov 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/module-federation/tauri-plugin-module-federation/@module-federation/tauri@34

commit: ddb29fa

@Nsttt
Nsttt merged commit 62ea250 into main Nov 5, 2026
4 checks passed
@Nsttt
Nsttt deleted the fix/crate-readme branch November 5, 2026 13:42
@github-actions github-actions Bot mentioned this pull request Nov 5, 2026
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.

1 participant