Repository navigation
fix: publish a README with the tauri-plugin-module-federation crate - #34
Merged
Merged
Conversation
commit: |
Merged
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.
Problem
tauri-plugin-module-federation1.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 byreadmein the manifest). The repo's README lives at the root and the npm package has its own inpackages/tauri, sopackages/tauri-pluginshipped without one.Change
packages/tauri-plugin/README.md: a crate-focused README covering what the plugin does, install (cargo addplus the required@module-federation/tauriruntime plugin),init/Builderusage, the offline behavior table, and links to the docs. Links are absolute GitHub URLs so they resolve on crates.io. The stated defaults (cache foldermodule-federation, 10 s connect/read timeouts, rollback only in release builds) matchBuilder::default().Cargo.toml: setsreadme = "README.md"explicitly.ci.yml: fails CI ifcargo package --liststops includingREADME.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 --lockednow packages 17 files includingREADME.md, builds from the tarball, and the packagedCargo.tomlcarriesreadme = "README.md".bash -eo pipefail.pnpm release:sync:checkandcargo fmt --all --checkpass.