Skip to content

Refactor: Rename module projects to SimpleModule.* prefix - #9

Merged
antosubash merged 2 commits into
mainfrom
claude/nifty-visvesvaraya
Mar 26, 2026
Merged

antosubash merged 2 commits into
mainfrom
claude/nifty-visvesvaraya

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Summary

Renames all module project directories and C# project files to use the SimpleModule.* prefix for consistency with NuGet publishing standards.

Changes

Directory Structure Updates

  • Renamed module directories from generic names to SimpleModule.* prefixed names:
    • Admin → SimpleModule.Admin
    • AuditLogs → SimpleModule.AuditLogs
    • Dashboard → SimpleModule.Dashboard
    • FileStorage → SimpleModule.FileStorage
    • OpenIddict → SimpleModule.OpenIddict
    • Orders → SimpleModule.Orders
    • PageBuilder → SimpleModule.PageBuilder
    • Permissions → SimpleModule.Permissions
    • Products → SimpleModule.Products
    • Settings → SimpleModule.Settings
    • Users → SimpleModule.Users

Project File Updates

  • Updated all .csproj and .csproj} files with new naming convention
  • Updated solution file (SimpleModule.slnx) project references
  • Updated package.json and vite.config.ts paths

TypeScript Updates

  • Created/updated types.ts files in module src directories
  • Updated page index exports in affected modules
  • Updated OpenIddict page exports

Dependencies

  • Updated package-lock.json with resolved dependencies
  • Updated host and test shared project references
  • Updated e2e test fixtures

Impact

This refactoring improves NuGet package naming consistency and makes module projects more discoverable when published to NuGet feeds.

…ublishing

Rename all module project folders, csproj files, and assembly names from
bare names (Admin, Products, etc.) to SimpleModule-prefixed names
(SimpleModule.Admin, SimpleModule.Products, etc.) to avoid namespace
collisions when publishing NuGet packages.

Changes:
- Rename src/test folders and csproj files for all 11 modules
- Update all ProjectReference paths across the solution
- Update SimpleModule.slnx project entries
- Remove PackageId override from modules/Directory.Build.props (no longer
  needed since project names now match desired package names)
- Remove OpenIddict AssemblyName override (SimpleModule.OpenIddict no
  longer conflicts with the OpenIddict NuGet package)
- Fix InternalsVisibleTo in PageBuilder for new test assembly name
- Update ClientApp page resolver to map module names to new assembly names
- Normalize OpenIddict Inertia route prefix from OpenIddictModule to
  OpenIddict to match the module name convention
- Fix Playwright e2e fixture for Playwright 1.58+ compatibility
@antosubash
antosubash merged commit 0a1c0fd into main Mar 26, 2026
2 checks passed
@antosubash
antosubash deleted the claude/nifty-visvesvaraya branch March 26, 2026 22:53
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