Skip to content

Reorganize codebase into multi-package mono-repo #275

@coderabbitai

Description

@coderabbitai

Context

As discussed in PR #272, the StaticHandler has a hard dependency on dart:io, which prevents Relic from running in WASM environments.

Proposal

Reorganize the codebase into a multi-package mono-repo structure. This would allow isolating platform-specific functionality:

  • Create a relic_io package for functionality that depends on dart:io (e.g., StaticHandler)
  • Keep the core Relic functionality platform-agnostic

Benefits

  • Enable WASM compatibility for the core package
  • Better separation of concerns
  • Leverage Dart workspace support (SDK ^3.7.0)

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress 🔥

Relationships

None yet

Development

No branches or pull requests

Issue actions