Skip to content

Conversation

@solidsnakedev
Copy link
Collaborator

No description provided.

BREAKING CHANGE: The Core namespace export has been removed.

- Moved all modules from src/core/ to src/
- Updated all internal imports across SDK and docs
- Added Cardano namespace export for discovery/exploration
- Individual module exports remain for tree-shaking
- Updated 140+ MDX files and 59 test files
- All 928 tests passing

Import changes:
- Before: import { Core } from "@evolution-sdk/evolution"
- After: import { Cardano } from "@evolution-sdk/evolution" (namespace)
- After: import { Address } from "@evolution-sdk/evolution" (individual)
Copilot AI review requested due to automatic review settings January 10, 2026 16:02
Copy link
Contributor

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

This PR refactors the module structure by removing the "core/" prefix from module paths, simplifying imports across the codebase. The changes streamline the module organization by flattening the hierarchy and making imports more concise.

Changes:

  • Updated all module documentation titles to remove "core/" prefix
  • Updated import statements across documentation and examples
  • Adjusted navigation order numbers for consistency
  • Added exclusion for Cardano.ts in docgen configuration

Reviewed changes

Copilot reviewed 300 out of 712 changed files in this pull request and generated no comments.

File Description
packages/evolution/docgen.json Added Cardano.ts to exclusion list for documentation generation
packages/evolution/docs/modules/*.md Removed "core/" prefix from module titles and updated navigation order
docs/content/docs/**/*.mdx Updated import statements to use simplified paths without "core/" prefix
docs/content/docs/modules/_meta.json Added comprehensive module metadata mappings

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

- Fix aiken-uplc/src/Evaluator.ts imports from core/* to flat paths
- Fix evolution-devnet/src/Genesis.ts to use direct module imports
- Update devnet test files to use Cardano namespace instead of Core
- Add missing exports for directory modules (Assets, Time, blueprint, etc.)
@solidsnakedev solidsnakedev merged commit b7b20a2 into main Jan 10, 2026
5 checks passed
@solidsnakedev solidsnakedev deleted the refactor/remove-core-flat-modules branch January 10, 2026 16:40
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.

2 participants