Skip to content

feat: rename package to @module-federation/tauri#10

Open
Nsttt wants to merge 4 commits intomainfrom
codex/rename-package-to-module-federation-tauri
Open

feat: rename package to @module-federation/tauri#10
Nsttt wants to merge 4 commits intomainfrom
codex/rename-package-to-module-federation-tauri

Conversation

@Nsttt
Copy link
Copy Markdown
Member

@Nsttt Nsttt commented Apr 11, 2026

Summary

  • rename runtime package references to @module-federation/tauri
  • update root/package READMEs to match the usage-first Module Federation style
  • add MIT metadata for the published npm package and Rust crate
  • add release PR + publish workflows for npm and crates.io, with changesets and version sync

Validation

  • pnpm install
  • pnpm --filter example_guest build
  • pnpm --filter 'example-guest_2' build
  • pnpm --filter example-host exec rsbuild build
  • pnpm build:package
  • pnpm changeset status
  • workflow YAML parsed with Ruby YAML.load_file

@Nsttt Nsttt marked this pull request as ready for review April 11, 2026 13:22
@Nsttt Nsttt self-assigned this Apr 11, 2026
Copilot AI review requested due to automatic review settings April 11, 2026 13:22
@Nsttt Nsttt changed the title [codex] rename package to @module-federation/tauri feat: rename package to @module-federation/tauri Apr 11, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Renames the Module Federation runtime package to @module-federation/tauri, updates documentation to a usage-first format, and adds MIT license metadata for the JS package and Rust crate.

Changes:

  • Renamed runtime package references from @crabnebula-dev/tauri-module-federation to @module-federation/tauri across examples and messaging.
  • Updated root and package READMEs to document the Tauri + Module Federation offline caching flow.
  • Added MIT license metadata to the published artifacts (npm package + Rust crate).

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tauri-plugin/src/lib.rs Updates debug warning string to reference the new runtime package name.
tauri-plugin/Cargo.toml Adds license = "MIT" to crate metadata.
README.md Rewrites root docs to focus on usage/configuration and clarifies behavior/build checks.
pnpm-lock.yaml Updates workspace dependency name and refreshes lockfile entries.
module-federation-plugin/README.md Updates package name and expands usage/behavior docs.
module-federation-plugin/package.json Renames npm package to @module-federation/tauri and adds MIT license metadata.
example/host/rsbuild.config.ts Updates runtimePlugins entry to the new package name.
example/host/package.json Renames dependency to @module-federation/tauri.
example/guest/package.json Renames dependency to @module-federation/tauri.
example/guest-2/package.json Renames dependency to @module-federation/tauri.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread module-federation-plugin/package.json Outdated
Comment thread example/guest/package.json
Comment thread example/guest-2/package.json
Copy link
Copy Markdown
Member

@jbroma jbroma left a comment

Choose a reason for hiding this comment

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

Looks good, but without testing the release e2e we can't be really sure of anything here 😅 Perhaps we can split this into rename PR + some manual release orchestration? Honestly, I have no experience with publishing tauri plugins, where we have rust part + js part.

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